Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1539

PXF Support for HBase 1.2.0

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0.0-incubating
    • Component/s: PXF
    • Labels:
      None

      Description

      As part of HBase 1.2.x when PXF connects to hbase we see the following error due to the missing metrics-core jar.

      SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container
      org.apache.hadoop.hbase.MasterNotRunningException: com.google.protobuf.ServiceException: java.lang.NoClassDefFoundError: com/yammer/metrics/core/Gauge
          at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$StubMaker.makeStub(ConnectionManager.java:1681)
          at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation$MasterServiceStubMaker.makeStub(ConnectionManager.java:1701)
          at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.getKeepAliveMasterService(ConnectionManager.java:1858)
          at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.isMasterRunning(ConnectionManager.java:962)
          at org.apache.hadoop.hbase.client.HBaseAdmin.checkHBaseAvailable(HBaseAdmin.java:3030)
          at org.apache.hawq.pxf.plugins.hbase.HBaseDataFragmenter.getFragments(HBaseDataFragmenter.java:85)
          at org.apache.hawq.pxf.service.rest.FragmenterResource.getFragments(FragmenterResource.java:84)
      

      This jar needs to be added to the pxf-private classpath file

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                espino Ed Espino
                Reporter:
                shivram Shivram Mani
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: