Bug 1335004 - Examples - hbase as a data source - setup.cli script uses deprecated option
Summary: Examples - hbase as a data source - setup.cli script uses deprecated option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Examples
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: DR4
: 6.4.0
Assignee: Van Halbert
QA Contact: Jan Stastny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-11 06:35 UTC by Juraj Duráni
Modified: 2018-02-13 17:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The setup.cli script for the HBase data source contained depreacted commands and required the user to manually reload the server before a data source could be created. The script has now been updated with corrected instructions. As a result, users do not need to reload the server before creating HBase data sources.
Clone Of:
Environment:
Last Closed: 2018-02-13 17:40:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIID-4315 0 Minor Resolved HBase Quickstart issues 2018-02-07 23:35:22 UTC

Description Juraj Duráni 2016-05-11 06:35:35 UTC
Description of problem:
As far as I know, option 'enabled=true' of 'add' operation for data-source is deprecated in CLI. Moreover, user needs to reload server to be able to use create data source. Please, update the script like follows:

From:
> /subsystem=datasources/data-source=QSPhoenixDS:add(jndi-name="java:/QSPhoenixDS",driver-name=phoenix,connection-url=jdbc:phoenix:127.0.0.1:2181,user-name=sa,password=sa,enabled=true,use-java-context=true)

To:
> /subsystem=datasources/data-source=QSPhoenixDS:add(jndi-name="java:/QSPhoenixDS",driver-name=phoenix,connection-url=jdbc:phoenix:127.0.0.1:2181,user-name=sa,password=sa,use-java-context=true)
> /subsystem=datasources/data-source=QSPhoenixDS:enable

Comment 1 Juraj Duráni 2016-05-11 06:44:40 UTC
Also remove :reload() at the end of setup.cli script.

Comment 3 David Le Sage 2017-11-23 04:33:25 UTC
Documented as a resolved issue in the release notes.


Note You need to log in before you can comment on or make changes to this bug.