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 2016/12/09 09:58:58 UTC

[jira] [Created] (HIVE-15407) add distcp to classpath by default, because hive depends on it.

Fei Hui created HIVE-15407:
------------------------------

             Summary: add distcp to classpath by default, because hive depends on it. 
                 Key: HIVE-15407
                 URL: https://issues.apache.org/jira/browse/HIVE-15407
             Project: Hive
          Issue Type: Bug
          Components: Beeline, CLI
    Affects Versions: 2.1.1, 2.0.1
            Reporter: Fei Hui


when i run hive queries, i get errors as follow
java.lang.NoClassDefFoundError: org/apache/hadoop/tools/DistCpOptions
...

I dig into code, and find that hive depends on distcp ,but distcp is not in classpath by default.

I think if adding distcp to hadoop classpath by default in hadoop project, but hadoop committers will not do that. discussions in HADOOP-13865 . They propose that Resolving this problem on HIVE

So i add distcp to classpath on HIVE



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)