What's the rest of that stack trace? Do you see a NoClassDefFoundError? -Slava
On Fri, Jun 5, 2015 at 7:28 PM, James Pirz <[email protected]> wrote: > I am trying to run Apache Hive 1.2.0 on Hadoop 2.6.0 on a cluster. My > hadoop cluster comes up fine (I start hdfs and yarn) and then I create > required tmp and warehouse directories in HDFS and I try to start Hive CLI > (I do not do anything with HCatalog or Hiveserver2) but I keep getting > errors related to metastore (See below). Replacing Hive 1.2.0 with Hive > 0.13, it just works fine. > > Is there anything changed regarding starting Hive 1.X on Hadoop 2.X from > Hive 0.X ? (This is the first time I am trying Hive on Hadoop 2) > > Exception in thread "main" java.lang.RuntimeException: > java.lang.RuntimeException: Unable to instantiate > org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient > at > org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:519) > at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:677) > at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621) > 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.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > Caused by: java.lang.RuntimeException: Unable to instantiate > org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient > at > org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1523) > …. > -- Slava Markeyev | Engineering | Upsight Find me on LinkedIn <http://www.linkedin.com/in/slavamarkeyev> <http://www.linkedin.com/in/slavamarkeyev>
