You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@apache.org> on 2009/03/14 20:46:50 UTC
[jira] Commented: (HADOOP-4603) Installation on Solaris needs
additional PATH setting
[ https://issues.apache.org/jira/browse/HADOOP-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682090#action_12682090 ]
Kohsuke Kawaguchi commented on HADOOP-4603:
-------------------------------------------
I think a better change is for Hadoop to simply try /usr/ucb/whoami if exec whoami fails. This code executes only once, so I don't see any downside of trying multiple locations for better user experience.
Another possibility is to use JNA (http://jna.dev.java.net/) and make a libc call from within Java.
> Installation on Solaris needs additional PATH setting
> -----------------------------------------------------
>
> Key: HADOOP-4603
> URL: https://issues.apache.org/jira/browse/HADOOP-4603
> Project: Hadoop Core
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.18.2
> Environment: Solaris 10 x86
> Reporter: Jon Brisbin
> Attachments: id_instead_of_whoami.diff
>
>
> A default installation as outlined in the docs won't start on Solaris 10 x86. The "whoami" utility is in path "/usr/ucb" on Solaris 10, which isn't in the standard PATH environment variable unless the user has added that specifically. The documentation should reflect this.
> Solaris 10 also seemed to throw NPEs if you didn't explicitly set the IP address to bind the servers to. Simply overriding the IP address fixes the problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.