How to get the hadoop home environment variable? -


how can hadoop_home & java_home environment variable through unix terminal ?

i know java_home variable there in hadoop-env.sh how can through terminal?

you can define in global way setting in .bashrc file or can set in local hadoop-env.sh script in hadoop folder example. if global can check by:

echo $hadoop_home 

if script option, can verify variable importing current context , checking again:

. /usr/hadoop/bin/hadoop-env.sh echo $hadoop_home 

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -