You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Fei Hui (JIRA)" <ji...@apache.org> on 2016/12/05 13:14:58 UTC

[jira] [Comment Edited] (HADOOP-13865) add tools to classpath by default in branch-2

    [ https://issues.apache.org/jira/browse/HADOOP-13865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15722238#comment-15722238 ] 

Fei Hui edited comment on HADOOP-13865 at 12/5/16 1:14 PM:
-----------------------------------------------------------

hi [~stevel@apache.org]

Not only on the CLI, but also user applications using hadoop tools in their source code. Hadoop-aws ,hadoop-azure and other tools have been involved in hadoop, its meaningful for users using hadoop easily

If add tools to classpath, then CLASSPATH=${HADOOP_HOME}/share/hadoop/tools/*:${HADOOP_HOME}/share/hadoop/tools/lib/*:$CLASSPATH. Maybe CP is not so long. 


was (Author: ferhui):
hi [~stevel@apache.org]

Not only on the CLI, but also user applications using hadoop tools in their source code. Hadoop-aws ,hadoop-azure and other tools have been involved in hadoop, its meaningful for users using hadoop easily

If add tools to classpath, then CLASSPATH=${HADOOP_HOME}/share/hadoop/tools/*:share/hadoop/tools/lib/*:$CLASSPATH. Maybe CP is not so long. 

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org