Home Forums HBase HBase 0.94.6 Master server fails to start with HDP2.0

This topic contains 1 reply, has 2 voices, and was last updated by  Enis Soztutar 8 months, 3 weeks ago.

  • Creator
    Topic
  • #42398

    Kumar Y
    Participant

    HI,

    I have installed HDP2.0 and my Hbase 0.94.6 master fails to come up with the below error. do i need to recompile my hbase with new protobuf ?

    2013-10-29 16:47:52,942 INFO org.apache.hadoop.hbase.metrics: MetricsString added: hdfsRevision
    2013-10-29 16:47:53,127 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown.
    java.lang.VerifyError: class org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$AppendRequestProto overrides final method getUnknownFields.()Lcom/google/protobuf/UnknownFieldSet;
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
    at java.lang.Class.privateGetPublicMethods(Class.java:2557)
    at java.lang.Class.getMethods(Class.java:1410)
    java.lang.VerifyError: class org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$AppendRequestProto overrides final method getUnknownFields.()Lcom/google/protobuf/UnknownFieldSet;
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at java.lang.Class.getDeclaredMet

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #42508

    Enis Soztutar
    Participant

    HDP-2.0 comes bundled with HBase version 0.96.0, and Hadoop version 2.2.0. HDP-1.3 comes bundled with HBase 0.94.6.1 and Hadoop-1.2. These combinations has been tested extensively and supported by HDP. Although not supported by HDP, it should still be possible to use HBase-0.94 series with Hadoop-2, but since HBase build for Hadoop1 and hadoop2 are not binary compatible, you should get the version of HBase build for Hadoop-2.2. Apache Hbase releases does not bundle the binaries for HBase-0.94 build with hadoop-2, so you might need to compile it yourself.

    You can take a look at this: http://hbase.apache.org/book/configuration.html#hadoop to see the support matrix for the apache context.

    Collapse
Viewing 1 replies (of 1 total)