Nick,

I'm using Hadoop 2.7.1 and Oracle JDK 1.7

Youngwoo


2016년 2월 24일 수요일, Nick Dimiduk<[email protected]>님이 작성한 메시지:

> What version of Hadoop are you using? What JVM?
>
> On Tuesday, February 23, 2016, 김영우 (YoungWoo Kim) <[email protected]
> <javascript:;>> wrote:
>
> > Hi,
> >
> > I'm working on upgrading Hbase 1.1.3 and Phoenix 4.7.0(RC) on Bigtop.
> > overall it works for me but sqlline.py throws
> 'java.lang.NoSuchMethodError:
> > org.apache.hadoop.net.unix.DomainSocketWatcher' and does not work. the
> > packaging and deployment are overly same as 4.6.0
> >
> > But sqlline-thin.py works like a charm. :-(
> >
> > Logs from sqlline.py as follows:
> >
> > # /usr/lib/phoenix/bin/sqlline.py a1,m1,m2
> > Setting property: [incremental, false]
> > Setting property: [isolation, TRANSACTION_READ_COMMITTED]
> > issuing: !connect jdbc:phoenix:fcbiga1,fcbigm1,fcbigm2 none none
> > org.apache.phoenix.jdbc.PhoenixDriver
> > Connecting to jdbc:phoenix:fcbiga1,fcbigm1,fcbigm2
> > SLF4J: Class path contains multiple SLF4J bindings.
> > SLF4J: Found binding in
> >
> >
> [jar:file:/usr/lib/phoenix/phoenix-4.7.0-HBase-1.1-client.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> > SLF4J: Found binding in
> >
> >
> [jar:file:/usr/lib/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> > explanation.
> > Error: ERROR 103 (08004): Unable to establish connection.
> > (state=08004,code=103)
> > java.sql.SQLException: ERROR 103 (08004): Unable to establish connection.
> >     at
> >
> >
> org.apache.phoenix.exception.SQLExceptionCode$Factory$1.newException(SQLExceptionCode.java:419)
> >     at
> >
> >
> org.apache.phoenix.exception.SQLExceptionInfo.buildException(SQLExceptionInfo.java:145)
> >     at
> >
> >
> org.apache.phoenix.query.ConnectionQueryServicesImpl.openConnection(ConnectionQueryServicesImpl.java:387)
> >     at
> >
> >
> org.apache.phoenix.query.ConnectionQueryServicesImpl.access$300(ConnectionQueryServicesImpl.java:209)
> >     at
> >
> >
> org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2264)
> >     at
> >
> >
> org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2243)
> >     at
> >
> >
> org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
> >     at
> >
> >
> org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2243)
> >     at
> >
> >
> org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:230)
> >     at
> >
> >
> org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:135)
> >     at
> > org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:201)
> >     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(NativeMethodAccessorImpl.java:57)
> >     at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >     at java.lang.reflect.Method.invoke(Method.java:606)
> >     at
> >
> sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.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.createConnection(ConnectionFactory.java:240)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:421)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.ConnectionManager.createConnectionInternal(ConnectionManager.java:330)
> >     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:385)
> >     ... 22 more
> > Caused by: java.lang.reflect.InvocationTargetException
> >     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >     at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> >     at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
> >     ... 27 more
> > Caused by: java.lang.NoSuchMethodError:
> > org.apache.hadoop.net.unix.DomainSocketWatcher.<init>(I)V
> >     at
> >
> >
> org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager.<init>(DfsClientShmManager.java:415)
> >     at
> >
> >
> org.apache.hadoop.hdfs.shortcircuit.ShortCircuitCache.<init>(ShortCircuitCache.java:379)
> >     at org.apache.hadoop.hdfs.ClientContext.<init>(ClientContext.java:96)
> >     at org.apache.hadoop.hdfs.ClientContext.get(ClientContext.java:145)
> >     at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:627)
> >     at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:547)
> >     at
> >
> >
> org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:139)
> >     at
> > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2653)
> >     at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)
> >     at
> > org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)
> >     at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669)
> >     at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)
> >     at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295)
> >     at
> >
> >
> org.apache.hadoop.hbase.util.DynamicClassLoader.initTempDir(DynamicClassLoader.java:118)
> >     at
> >
> >
> org.apache.hadoop.hbase.util.DynamicClassLoader.<init>(DynamicClassLoader.java:98)
> >     at
> >
> >
> org.apache.hadoop.hbase.protobuf.ProtobufUtil.<clinit>(ProtobufUtil.java:241)
> >     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(ZooKeeperRegistry.java:105)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.retrieveClusterId(ConnectionManager.java:880)
> >     at
> >
> >
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:636)
> >     ... 32 more
> >
> >
> > Regards,
> >
> > Youngwoo
> >
>

Reply via email to