phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna <research...@gmail.com>
Subject sqlline -> Could not set up IO Streams
Date Thu, 11 Sep 2014 00:16:36 GMT
Hi,

I'm running Phoenix 3.1.0 on AWS using Hadoop 2.2.0 and HBase 0.94.7. When
I run "bin/sqlline.py localhost:2181:/hbase", it errors our with
"java.io.IOException: Could not set up IO Streams" because of
"NoSuchMethError".

Following phoenix jars in hbase lib:
phoenix-3.1.0-client-minimal.jar (master node only)
phoenix-core-3.1.0.jar (master + region servers)

Am I missing any other jars?

*Console output:*
14/09/10 23:30:05 INFO client.HConnectionManager$HConnectionImplementation:
getMaster attempt 0 of 14 failed; retrying after sleep of 1000
java.io.IOException: Could not set up IO Streams
...
Caused by: java.lang.NoSuchMethodError:
org.apache.hadoop.net.NetUtils.getInputStream(Ljava/net/Socket;)Ljava/io/InputStream;
at
org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:439)
...

*Here is the actual command:*
java -cp
".:/home/hadoop/phoenix-3.1.0-bin/hadoop2/bin/../phoenix-3.1.0-client-hadoop2.jar"
-Dlog4j.configuration=file:/home/hadoop/phoenix-3.1.0-bin/hadoop2/bin/log4j.properties
sqlline.SqlLine -d org.apache.phoenix.jdbc.PhoenixDriver -u
jdbc:phoenix:localhost:2181 -n none -p none --color=true
--fastConnect=false --verbose=true --isolation=TRANSACTION_READ_COMMITTED

Mime
View raw message