Skip to content

Instantly share code, notes, and snippets.

@umbrant
Created November 27, 2013 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save umbrant/7685079 to your computer and use it in GitHub Desktop.
Save umbrant/7685079 to your computer and use it in GitHub Desktop.
Source this file from the top-level directory of a Hadoop source tree built with "-Pdist"
export HADOOP_COMMON_HOME=$(pwd)/$(ls -d hadoop-common-project/hadoop-common/target/hadoop-common-*-SNAPSHOT)
export HADOOP_HDFS_HOME=$(pwd)/$(ls -d hadoop-hdfs-project/hadoop-hdfs/target/hadoop-hdfs-*-SNAPSHOT)
export PATH=$HADOOP_COMMON_HOME/bin:$HADOOP_HDFS_HOME/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment