[
https://issues.apache.org/jira/browse/HADOOP-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15722602#comment-15722602
]
Allen Wittenauer commented on HADOOP-13865:
-------------------------------------------
bq. Will it cause any problmes for adding tool jars to classpath?
Yes, it does. There are reasons why this isn't being done already. This is
why in hadoop 3.x how the shell scripts handle hadoop tools is completely
revamped (see HADOOP_OPTIONAL_TOOLS and associated code). There are no more
"add the entire directory to the classpath" bits anymore.
In branch-2, users can add whatever jars they want in the default classpath by
modifying various environment variables in hadoop-env.sh. Rather than having
us force this upon, they can inflict whatever level of pain they can tolerate.
> add tools to classpath by default in branch-2
> ---------------------------------------------
>
> Key: HADOOP-13865
> URL: https://issues.apache.org/jira/browse/HADOOP-13865
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 2.8.0, 2.7.3
> Reporter: Fei Hui
> Assignee: Fei Hui
> Attachments: HADOOP-13865-branch-2.001.patch
>
>
> when i run hive queries, i get errors as follow
> java.lang.NoClassDefFoundError: org/apache/hadoop/tools/DistCpOptions
> ...
> Maybe run other hadoop apps which using hadoop tools classes, will get
> similar erros
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]