hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "FAQ" by SomeOtherAccount
Date Wed, 06 Oct 2010 22:23:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "FAQ" page has been changed by SomeOtherAccount.


  other targets work similarly. I just wanted to document this because I spent some time trying
to figure out why the ant build would not run from a cygwin command prompt window. If you
are building/testing on Windows, and haven't figured it out yet, this should get you started.
+ == Solaris ==
+ === Why do files and directories show up as DrWho? ===
+ Prior to 0.22, Hadoop uses the 'whoami' and id commands to determine the user and groups
of the running process. whoami ships as part of the BSD compatibility package and is normally
not in the path.  The id command's output is System V-style whereas Hadoop expects POSIX.
 Two changes to the environment are required to fix this:
+   1.  Make sure /usr/ucb/whoami is installed and in the path, either by including /usr/ucb
at the tail end of the PATH environment or symlinking /usr/ucb/whoami directly.
+   1. In hadoop-env.sh, change the HADOOP_IDENT_STRING thusly:
+ {{{
+ export HADOOP_IDENT_STRING=`/usr/xpg4/bin/id -u -n`
+ }}}

View raw message