Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1335004 - Examples - hbase as a data source - setup.cli script uses deprecated option
Examples - hbase as a data source - setup.cli script uses deprecated option
Status: CLOSED CURRENTRELEASE
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Examples (Show other bugs)
6.3.0
Unspecified Unspecified
low Severity medium
: DR4
: 6.4.0
Assigned To: Van Halbert
Jan Stastny
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-11 02:35 EDT by Juraj Duráni
Modified: 2018-02-13 12:40 EST (History)
6 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-13 12:40:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker TEIID-4315 Minor Resolved HBase Quickstart issues 2018-02-07 18:35 EST

  None (edit)
Description Juraj Duráni 2016-05-11 02:35:35 EDT
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 02:44:40 EDT
Also remove :reload() at the end of setup.cli script.
Comment 3 David Le Sage 2017-11-22 23:33:25 EST
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.