Red Hat Bugzilla – Bug 1335006
Examples - hbase as a data source - remove.cli script does not work
Last modified: 2018-02-13 12:36:08 EST
Description of problem: remove.cli script does not work. You need to remove items in revers order. You cannot remove driver if some data source is still using it. Please update remove.cli script: From: > module remove --name=org.apache.phoenix > /subsystem=datasources/jdbc-driver=phoenix:remove() > /subsystem=datasources/data-source=QSPhoenixDS:remove() To: > /subsystem=datasources/data-source=QSPhoenixDS:remove() > /subsystem=datasources/jdbc-driver=phoenix:remove() > module remove --name=org.apache.phoenix
Tested and verified: $EAP_HOME/bin/jboss-cli.sh -c --file=$EAP_HOME/quickstarts/hbase-as-a-datasource/src/scripts/remove.cli {"outcome" => "success"} {"outcome" => "success"} { "outcome" => "success", "result" => undefined }
Documented as a resolved issue in the release notes.