Description
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