Josh Elser created PHOENIX-4880:
-----------------------------------

             Summary: Phoenix IndexTool doesn't work on HBase2 per documentation
                 Key: PHOENIX-4880
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4880
             Project: Phoenix
          Issue Type: Bug
            Reporter: Josh Elser
            Assignee: Josh Elser
             Fix For: 4.15.0, 5.1.0


The website documentation states that to run {{IndexTool}}, you should do:

{code}
$ hbase org.apache.phoenix.mapreduce.index.IndexTool
{code}

This ends up running the class using the phoenix-server jar which fails because 
we have conflicting versions of commons-cli, as described by HBASE-20201. 
Phoenix-client.jar does not have this problem as we did the workaround there as 
well.

{code}
$ hadoop jar $PHOENIX_HOME/phoenix-*client.jar 
org.apache.phoenix.mapreduce.index.IndexTool
{code}

Does work, however. I suppose we still want to fix phoenix-server.jar? (no 
reason not to?)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to