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

NPE in getting conf from addHbaseResources in IndexUpgradeTool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Resolved
    • 4.15.0, 5.1.0, 4.14.3
    • 4.15.0, 5.1.0, 4.14.3
    • None
    • None

    Description

      The tool doesnt implement Tool class to load the resources correctly. 

      Getting following exception. 

      Exception in thread “main” java.lang.NullPointerException
      at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:78)
      at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.executeTool(IndexUpgradeTool.java:298)
      at org.apache.phoenix.mapreduce.index.IndexUpgradeTool.main(IndexUpgradeTool.java:160)

      Attachments

        1. PHOENIX-5415.4.x-HBase-1.3.v1.patch
          14 kB
          Swaroopa Kadam
        2. PHOENIX-5415.master.v1.patch
          14 kB
          Swaroopa Kadam
        3. PHOENIX-5415.4.14-HBase-1.3.v2.patch
          15 kB
          Swaroopa Kadam
        4. PHOENIX-5415.4.14-HBase-1.3.v1.patch
          10 kB
          Swaroopa Kadam

        Issue Links

          Activity

            People

              swaroopa Swaroopa Kadam
              swaroopa Swaroopa Kadam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m