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

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The remove.cli script did not work. You could not remove a driver if some data source was still using it. As a consequence, users had to manually remove items one by one in reverse order. The script has now been fixed. As a result, it now removes all items correctly.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-13 12:36:08 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:48:41 EDT
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
Comment 2 Valiantsina Hubeika 2017-09-04 12:31:32 EDT
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
}
Comment 3 David Le Sage 2017-11-22 23:26:27 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.