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

[CDH] Heavy client fails when used from a standalone machine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.13.2-cdh
    • 4.13.2-cdh
    • None
    • None
    • Windows 7 + DB Visualizer + Heavy client

    Description

      Client provided with the distribution doesn't work when used out of the HBase cluster.

      java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.mapred.JobConf
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2138)
         at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:91)
         at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:75)
         at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133)
         at org.apache.hadoop.hbase.security.UserProvider.instantiate(UserProvider.java:124)
         at org.apache.hadoop.hbase.client.ConnectionManager.createConnectionInternal(ConnectionManager.java:341)
         at org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:144)
         at org.apache.phoenix.query.HConnectionFactory$HConnectionFactoryImpl.createConnection(HConnectionFactory.java:47)
         at org.apache.phoenix.query.ConnectionQueryServicesImpl.openConnection(ConnectionQueryServicesImpl.java:408)
         at org.apache.phoenix.query.ConnectionQueryServicesImpl.access$400(ConnectionQueryServicesImpl.java:256)
         at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:2408)
         at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(ConnectionQueryServicesImpl.java:2384)
         at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:76)
         at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2384)
         at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:255)
         at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:150)
         at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:221)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.onseven.dbvis.g.B.D.ā(Z:1548)
         at com.onseven.dbvis.g.B.F$A.call(Z:1369)
      

      Attachments

        1. PHOENIX-4454.patch
          0.8 kB
          Pedro Boado

        Issue Links

          Activity

            People

              pboado Pedro Boado
              pboado Pedro Boado
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: