[ https://issues.apache.org/jira/browse/HADOOP-9902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106278#comment-14106278 ]
Andrew Wang commented on HADOOP-9902: ------------------------------------- Hopefully easy question, I'm wondering how to run out of the source directory if I've built with a line like this: {noformat} mvn clean package install -Pdist -pl hadoop-hdfs-project/hadoop-hdfs {noformat} I used to source this to get {{hdfs}} and so on on my path, but now it fails looking for a dependency in a different dir: {noformat} export HADOOP_COMMON_HOME=$(pwd)/$(ls -d hadoop-common-project/hadoop-common/target/hadoop-common-*/) export HADOOP_HDFS_HOME=$(pwd)/$(ls -d hadoop-hdfs-project/hadoop-hdfs/target/hadoop-hdfs-*/) export PATH=$HADOOP_COMMON_HOME/bin:$HADOOP_HDFS_HOME/bin:$PATH {noformat} {noformat} ERROR: Unable to exec /home/andrew/dev/hadoop/trunk/hadoop-hdfs-project/hadoop-hdfs/target/hadoop-hdfs-3.0.0-SNAPSHOT/bin/../libexec/hadoop-functions.sh. {noformat} Is there still a way of doing this without doing a full build? > Shell script rewrite > -------------------- > > Key: HADOOP-9902 > URL: https://issues.apache.org/jira/browse/HADOOP-9902 > Project: Hadoop Common > Issue Type: Improvement > Components: scripts > Affects Versions: 3.0.0 > Reporter: Allen Wittenauer > Assignee: Allen Wittenauer > Labels: releasenotes > Fix For: 3.0.0 > > Attachments: HADOOP-9902-10.patch, HADOOP-9902-11.patch, > HADOOP-9902-12.patch, HADOOP-9902-13-branch-2.patch, HADOOP-9902-13.patch, > HADOOP-9902-14.patch, HADOOP-9902-15.patch, HADOOP-9902-16.patch, > HADOOP-9902-2.patch, HADOOP-9902-3.patch, HADOOP-9902-4.patch, > HADOOP-9902-5.patch, HADOOP-9902-6.patch, HADOOP-9902-7.patch, > HADOOP-9902-8.patch, HADOOP-9902-9.patch, HADOOP-9902.patch, HADOOP-9902.txt, > hadoop-9902-1.patch, more-info.txt > > > Umbrella JIRA for shell script rewrite. See more-info.txt for more details. -- This message was sent by Atlassian JIRA (v6.2#6252)