Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4880

Phoenix IndexTool doesn't work on HBase2 per documentation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0
    • None
    • None

    Description

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

      $ hbase org.apache.phoenix.mapreduce.index.IndexTool
      

      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.

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

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

      Attachments

        1. PHOENIX-4880.001.patch
          43 kB
          Josh Elser

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: