hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shapoor <esmaili_...@yahoo.com>
Subject which mvn dependency for 0.96.1-hadoop2
Date Tue, 28 Jan 2014 15:36:22 GMT
To use the new hbase 0.96.1-hadoop2 for a client which dependency should I
give in my pom.xml ?

I have tried it for example with hbase-it and I get the following Exception:


14/01/28 16:30:18 INFO zookeeper.ClientCnxn: Session establishment complete
on server master/192.168.111.210:2181, sessionid = 0x143d93fb1d30010,
negotiated timeout = 40000
java.io.IOException: java.lang.reflect.InvocationTargetException
	at
org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:389)
	at
org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:366)
	at
org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:247)
	at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:183)
	at
at.knowcenter.blancnoir.hbase.HBaseResourceManager.<init>(HBaseResourceManager.java:90)
	at
at.knowcenter.blancnoir.hbase.HBaseResourceManager.getInstance(HBaseResourceManager.java:115)
	at at.knowcenter.blancnoir.tools.ConfWrapper.<init>(ConfWrapper.java:60)
	at at.knowcenter.blancnoir.tools.ConfWrapper.main(ConfWrapper.java:83)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at
org.apache.hadoop.hbase.client.HConnectionManager.createConnection(HConnectionManager.java:387)
	... 7 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:69)
	at
org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:83)
	at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.retrieveClusterId(HConnectionManager.java:801)
	at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:633)
	... 12 more
Caused by: java.lang.UnsupportedOperationException: Not implemented by the
DistributedFileSystem FileSystem implementation
	at org.apache.hadoop.fs.FileSystem.getScheme(FileSystem.java:213)
	at org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2401)
	at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2411)
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2428)
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:88)
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2467)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2449)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:367)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:166)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:351)
	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:287)
	at
org.apache.hadoop.hbase.util.DynamicClassLoader.<init>(DynamicClassLoader.java:104)
	at
org.apache.hadoop.hbase.protobuf.ProtobufUtil.<clinit>(ProtobufUtil.java:197)




--
View this message in context: http://apache-hbase.679495.n3.nabble.com/which-mvn-dependency-for-0-96-1-hadoop2-tp4055399.html
Sent from the HBase User mailing list archive at Nabble.com.

Mime
View raw message