Java provides a system property for ${user.home} that is usually set
to the same as $HOME of the session on Linux. You can therefore use
"${user.home}/tmp/hadoop-${user.name}".On Wed, Oct 9, 2013 at 9:49 PM, Andrew McDermott <[email protected]> wrote: > > I have the following path hard-coded for hadoop.tmp.dir in > conf/core-site.xml: > > <configuration> > <property> > <name>hadoop.tmp.dir</name> > <value>/home/aim/tmp/hadoop-${user.name}</value> > </property> > </configuration> > > Is it possible to replace the "/home/aim" with a substitutable version > $HOME? On a whim I tried ${env.home} but that didn't work... > > -- > andy > > -- Harsh J
