Red Hat Bugzilla – Bug 1335004
Examples - hbase as a data source - setup.cli script uses deprecated option
Last modified: 2018-02-13 12:40:58 EST
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
Also remove :reload() at the end of setup.cli script.
Documented as a resolved issue in the release notes.