phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro Boado (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4454) [CDH] Heavy client fails when used from a standalone machine
Date Wed, 13 Dec 2017 02:21:00 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16288613#comment-16288613
] 

Pedro Boado commented on PHOENIX-4454:
--------------------------------------

In an attempt to remove log4j duplication messages from phoenix-sqlline , log4j was removed
from the client jar . This is the reason why the client is failing. 

> [CDH] Heavy client fails when used from a standalone machine
> ------------------------------------------------------------
>
>                 Key: PHOENIX-4454
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4454
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.13.2-cdh5.11.2
>         Environment: Windows 7 + DB Visualizer + Heavy client
>            Reporter: Pedro Boado
>            Assignee: Pedro Boado
>
> Client provided with the distribution doesn't work when used out of the HBase cluster.
 
> {code}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message