Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Hbase 0.96 and Hadoop 2.2


Copy link to this message
-
RE: Hbase 0.96 and Hadoop 2.2
Thanks, that fixed the problem for me!

-----Original Message-----
From: Tianying Chang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 23, 2013 8:35 PM
To: user@hbase.apache.org
Subject: RE: Hbase 0.96 and Hadoop 2.2

What is your HBase version and Hadoop version? There is a RPC break change in hadoop 2.2. As a workaround,  I removed the hadoop hadoop-common-2.2.0.2.0.6.0-68.jar and hadoop-hdfs-2.2.0.2.0.6.0-68.jar from my Hbase/lib and let it use the one in hadoop path, then this error is gone.  

Thanks
Tian-Ying
-----Original Message-----
From: Paul Honig [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 23, 2013 7:39 AM
To: 'user@hbase.apache.org'
Subject: Hbase 0.96 and Hadoop 2.2

Hi,

I'm trying to get a Hbase 0.96 install to work with  with Hadoop 2.2.
The region servers seems to be running fine, though the HMaster exits with the following stacktrace.

2013-10-23 16:31:05,206 INFO  [master:client1:60000] master.ActiveMasterManager: Registered Active Master=client1.local,60000,1382538662205
2013-10-23 16:31:05,232 WARN  [master:client1:60000] conf.Configuration: fs.default.name is deprecated. Instead, use fs.defaultFS
2013-10-23 16:31:05,468 FATAL [master:client1:60000] master.HMaster: Unhandled exception. Starting shutdown.
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.RpcServerException): Unknown out of band call #-2147483647
        at org.apache.hadoop.ipc.Client.call(Client.java:1347)
        at org.apache.hadoop.ipc.Client.call(Client.java:1300)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
        at com.sun.proxy.$Proxy12.setSafeMode(Unknown Source)
        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 org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:188)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
        at com.sun.proxy.$Proxy12.setSafeMode(Unknown Source)
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.setSafeMode(ClientNamenodeProtocolTranslatorPB.java:561)
        at org.apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:2102)
        at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:994)
        at org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:978)
        at org.apache.hadoop.hbase.util.FSUtils.isInSafeMode(FSUtils.java:433)
        at org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode(FSUtils.java:852)
        at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:435)
       at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:146)
        at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:127)
        at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:786)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:603)
        at java.lang.Thread.run(Thread.java:724)

I tried to Google the error, but no results.
Anybody an idea of what I'm doing wrong?

Kind regards, Paul Honig