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

Thomas Weise commented on HADOOP-7810:
--------------------------------------

Looking ahead .23 already has HadoopArchives in the path. So why can we not 
have the same setup for .20? 

### Hadoop 0.20.205.0.1.1110280215
Subversion git://hadoopre4.corp.sk1.yahoo.com/ on branch (no branch) -r 
720349ac12dd3a3a99f53bfec8f750d7807db5f1
Compiled by hadoopqa on Fri Oct 28 02:49:39 PDT 2011
[thw@gwbl2002 ~]$ hadoop org.apache.hadoop.tools.HadoopArchives
Warning: $HADOOP_HOME is deprecated.

Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/hadoop/tools/HadoopArchives

### Hadoop 0.23.0.1111080202
Subversion 
http://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23.0/hadoop-common-project/hadoop-common
 -r 1196973
Compiled by hadoopqa on Tue Nov  8 02:12:04 PST 2011
>From source with checksum 4e42b2d96c899a98a8ab8c7cc23f27ae
bash-3.1$ hadoop org.apache.hadoop.tools.HadoopArchives
11/11/18 00:01:37 WARN conf.Configuration: mapred.used.genericoptionsparser is 
deprecated. Instead, use mapreduce.client.genericoptionsparser.used
archive -archiveName NAME -p <parent path> <src>* <dest>


                
> move hadoop archive to core from tools
> --------------------------------------
>
>                 Key: HADOOP-7810
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7810
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0, 0.20.205.1
>            Reporter: John George
>            Assignee: John George
>            Priority: Blocker
>         Attachments: hadoop-7810.branch-0.20-security.patch, 
> hadoop-7810.branch-0.20-security.patch
>
>
> "The HadoopArchieves classes are included in the 
> $HADOOP_HOME/hadoop_tools.jar, but this file is not found in `hadoop 
> classpath`.
> A Pig script using HCatalog's dynamic partitioning with HAR enabled will 
> therefore fail if a jar with HAR is not included in the pig call's '-cp' and 
> '-Dpig.additional.jars' arguments."
> I am not aware of any reason to not include hadoop-tools.jar in 'hadoop 
> classpath'. Will attach a patch soon.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to