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.