[
https://issues.apache.org/jira/browse/ZOOKEEPER-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Geoffrey Corey moved INFRA-10154 to ZOOKEEPER-2254:
---------------------------------------------------
INFRA-Members: (was: [infrastructure-team])
Workflow: no-reopen-closed, patch-avail (was: INFRA Workflow)
Key: ZOOKEEPER-2254 (was: INFRA-10154)
Project: ZooKeeper (was: Infrastructure)
> CDH 5.4.4 HBASE 1.0.0 with PHX 4.5.0
> ------------------------------------
>
> Key: ZOOKEEPER-2254
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2254
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: JUAN TORRES
>
> Hi,
> I need support. I have tried to troubleshoot this problem, but anything I do,
> is not working. I do not have a problem with the NN, ZK or any network
> limitation, but the phoenix still not able to connect the zookeeper servers.
> [root@svrdn174 bin]# /opt/phoenix/bin/sqlline.py svrzj001,svrzj002,svrzj003=
> :2181/hbase Setting property: [isolation, TRANSACTION_READ_COMMITTED]
> issuing: !connect jdbc:phoenix:svrzj001,svrzj002,svrzj003:2181/hbase none n=
> one org.apache.phoenix.jdbc.PhoenixDriver
> Connecting to jdbc:phoenix:svrzj001,svrzj002,svrzj003:2181/hbase
> 15/08/19 18:15:30 WARN util.NativeCodeLoader: Unable to load native-hadoop =
> library for your platform... using builtin-java classes where applicable
> Error: ERROR 103 (08004): Unable to establish connection. (state=3D08004,co=
> de=3D103)
> java.sql.SQLException: ERROR 103 (08004): Unable to establish connection.
> at org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newExcep=
> tion(SQLExceptionCode.java:388)
> at org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQL=
> ExceptionInfo.java:145)
> at org.apache.phoenix.query.ConnectionQueryServicesImpl.openConnect=
> ion(ConnectionQueryServicesImpl.java:297)
> at org.apache.phoenix.query.ConnectionQueryServicesImpl.access$300(=
> ConnectionQueryServicesImpl.java:180)
> at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(Con=
> nectionQueryServicesImpl.java:1901)
> at org.apache.phoenix.query.ConnectionQueryServicesImpl$12.call(Con=
> nectionQueryServicesImpl.java:1880)
> at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixConte=
> xtExecutor.java:77)
> at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(Connec=
> tionQueryServicesImpl.java:1880)
> at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices=
> (PhoenixDriver.java:180)
> at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmb=
> eddedDriver.java:132)
> at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java=
> :151)
> at sqlline.DatabaseConnection.connect(DatabaseConnection.java:157)
> at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java=
> :203)
> at sqlline.Commands.connect(Commands.java:1064)
> at sqlline.Commands.connect(Commands.java:996)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor=
> Impl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod=
> AccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandle=
> r.java:36)
> at sqlline.SqlLine.dispatch(SqlLine.java:804)
> at sqlline.SqlLine.initArgs(SqlLine.java:588)
> at sqlline.SqlLine.begin(SqlLine.java:656)
> at sqlline.SqlLine.start(SqlLine.java:398)
> at sqlline.SqlLine.main(SqlLine.java:292)
> Caused by: java.io.IOException: java.lang.reflect.InvocationTargetException
> at org.apache.hadoop.hbase.client.ConnectionFactory.createConnectio=
> n(ConnectionFactory.java:240)
> at org.apache.hadoop.hbase.client.ConnectionManager.createConnectio=
> n(ConnectionManager.java:410)
> at org.apache.hadoop.hbase.client.ConnectionManager.createConnectio=
> nInternal(ConnectionManager.java:319)
> at org.apache.hadoop.hbase.client.HConnectionManager.createConnecti=
> on(HConnectionManager.java:144)
> at org.apache.phoenix.query.HConnectionFactory$HConnectionFactoryIm=
> pl.createConnection(HConnectionFactory.java:47)
> at org.apache.phoenix.query.ConnectionQueryServicesImpl.openConnect=
> ion(ConnectionQueryServicesImpl.java:295)
> ... 22 more
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Me=
> thod)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons=
> tructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega=
> tingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at org.apache.hadoop.hbase.client.ConnectionFactory.createConnectio=
> n(ConnectionFactory.java:238)
> ... 27 more
> Caused by: java.lang.ExceptionInInitializerError
> at org.apache.hadoop.hbase.ClusterId.parseFrom(ClusterId.java:64)
> at org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode=
> (ZKClusterId.java:75)
> at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(Zo=
> oKeeperRegistry.java:86)
> at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImpl=
> ementation.retrieveClusterId(ConnectionManager.java:833)
> at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImpl=
> ementation.<init>(ConnectionManager.java:623)
> ... 32 more
> Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostExceptio=
> n: svrhdfscluster
> at org.apache.hadoop.security.SecurityUtil.buildTokenService(Securi=
> tyUtil.java:373)
> at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNode=
> Proxies.java:258)
> at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxi=
> es.java:153)
> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:602)
> at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:547) =
> at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFi=
> leSystem.java:139)
> at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java=
> :2591)
> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89)
> at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.jav=
> a:2625)
> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2607)
> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368)
> at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
> at org.apache.hadoop.hbase.util.DynamicClassLoader.<init>(DynamicCl=
> assLoader.java:104)
> at org.apache.hadoop.hbase.protobuf.ProtobufUtil.<clinit>(ProtobufU=
> til.java:229)
> ... 37 more
> Caused by: java.net.UnknownHostException: svrhdfscluster
> ... 51 more
> sqlline version 1.1.8
> 0: jdbc:phoenix:svrzj001,svrzj002,svrzj003:21>
> Thanks,
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)