You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Fei Hui (JIRA)" <ji...@apache.org> on 2017/03/17 08:40:41 UTC

[jira] [Created] (HIVE-16239) hive 2.0.1 reports ClassNotFoundException: org.apache.hadoop.hive.service.HiveServer

Fei Hui created HIVE-16239:
------------------------------

             Summary: hive 2.0.1 reports ClassNotFoundException: org.apache.hadoop.hive.service.HiveServer
                 Key: HIVE-16239
                 URL: https://issues.apache.org/jira/browse/HIVE-16239
             Project: Hive
          Issue Type: Bug
          Components: CLI
    Affects Versions: 2.0.1
            Reporter: Fei Hui


{quote}
[hadoop@header hive]$ hive --service hiveserver
Starting Hive Thrift Server
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/apps/apache-hive-2.0.1-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/apps/spark-1.6.2-bin-hadoop2.7/lib/spark-assembly-1.6.2-hadoop2.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/apps/hadoop-2.7.2/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Exception in thread "main" java.lang.ClassNotFoundException: org.apache.hadoop.hive.service.HiveServer
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:348)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:214)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
{quote}
hiveserver does not exist, we should remove hiveserver from cli on branch-2.0



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)