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

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


Copy link to this message
-
Re: 0.96 and Hadoop 2.1.1
Please deploy hadoop 2.2

Cheers
On Mon, Oct 28, 2013 at 4:19 PM, tsuna <[EMAIL PROTECTED]> wrote:

> Hi there,
> I have a cluster running vanilla Hadoop 2.1.1 and am trying to deploy
> HBase 0.96 on top.  At first the master was crapping out with this
> when I was trying to start it:
>
> 2013-10-28 16:11:32,778 FATAL [master:r12s1:9102] 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 $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:616)
>         at
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:188)
>         at
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
>         at $Proxy12.setSafeMode(Unknown Source)
>         at
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.setSafeMode(ClientNamenodeProtocolTranslatorPB.java:561)
>         at
> org.apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:2124)
>         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:636)
> 2013-10-28 16:11:32,781 INFO  [master:r12s1:9102] master.HMaster: Aborting
>
>
> Earlier posts on the ML suggest copying the hadoop-hdfs and
> hadoop-common jars from the Hadoop distro, so I did that and replaced
> the hadoop-hdfs-2.1.0-beta.jar and hadoop-common-2.1.0-beta.jar that
> came with 0.96 under the lib/ directory with the corresponding 2.1.1
> jars.  The master is now failing to start with this:
>
> 2013-10-28 16:18:22,293 ERROR [main] master.HMasterCommandLine: Master
> exiting
> java.lang.RuntimeException: Failed construction of Master: class
> org.apache.hadoop.hbase.master.HMaster
>         at
> org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:2773)
>         at
> org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:184)
>         at
> org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:134)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at
> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>         at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2787)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.util.PlatformName
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:321)