hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravi Prakash (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2277) CLASSPATH for locating HDFS jar file is incorrect
Date Tue, 23 Aug 2011 00:35:29 GMT

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

Ravi Prakash commented on HDFS-2277:
------------------------------------

Reposting Alejandro's comment without the messed up formatting. Thanks Alejandro! You're a
lifesaver

'mvn package \-Pdist' creates the dist layout in 'target/<module>\-<version>'

You can set the *_HOME & PATH to to the locations in 'target/<module>\-<version>'
& 'target/<module>\-<version>/bin' and you achieve the same result.

And, on the plus side the scripts don't have to handle devel/dist mode, just dist mode.

The overhead of running 'mvn package -Pdist' (if you don't do use -Psrc and -Pdocs) is minimal
(a few seconds if).

> CLASSPATH for locating HDFS jar file is incorrect
> -------------------------------------------------
>
>                 Key: HDFS-2277
>                 URL: https://issues.apache.org/jira/browse/HDFS-2277
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.23.0
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.23.0
>
>         Attachments: HDFS-2277-1.patch, HDFS-2277.patch
>
>
> CLASSPATH for hdfs jar files should be set to HADOOP_PREFIX/share/hadoop/hdfs.  Trunk
code is looking for jar files in HADOOP_PREFIX/share/hadoop-hdfs.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message