See http://hbase.apache.org/book.html#d2566e523 for supported hadoop versions.
Cheers On Mon, Feb 24, 2014 at 1:04 PM, shapoor <[email protected]> wrote: > Thanks very much indeed. I added the repository you sujested and it > worked. > Though in another package I get the following exception: > > 14/02/24 19:59:24 INFO zookeeper.ClientCnxn: Session establishment complete > on server slave02/192.168.111.212:2181, sessionid = 0x1446491571a0208, > negotiated timeout = 40000 > Exception in thread "main" 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:282) > at > at.mypackage.hbase.HBaseResourceManager.main(HBaseResourceManager.java:77) > 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) > ... 2 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) > ... 7 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) > ... 12 more > > thx very much for your help, > regards > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/HConnectionManager-java-389-tp4056268p4056286.html > Sent from the HBase User mailing list archive at Nabble.com. >
