[
https://issues.apache.org/jira/browse/HADOOP-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521573
]
Allen Wittenauer commented on HADOOP-1689:
------------------------------------------
+1
The script definitely won't work on SysV sh (which is what /bin/sh is on
Solaris). The export commands should be appearing after the variable is set to
be more compatible. For example:
export JAVA_HOME=blah
won't work, but
JAVA_HOME=blah
export JAVA_HOME
should.
With the changes that Sun is making in Nevada, this issue may go away at least
for Solaris NV+ users.
> .sh scripts do not work on Solaris
> ----------------------------------
>
> Key: HADOOP-1689
> URL: https://issues.apache.org/jira/browse/HADOOP-1689
> Project: Hadoop
> Issue Type: Bug
> Components: scripts
> Affects Versions: 0.13.1
> Environment: SunOS acl301 5.10 Generic_118855-33 i86pc i386 i86pc
> Reporter: David Biesack
> Priority: Minor
>
> the EXPORT commands in the scripts didn't play nicely w/the default shell &
> Hadoop wouldn't start ("... is not an
> identifier"). I changed the first #! line of bin/hadoop-daemon.sh and
> bin/hadoop to specify bash, then everything worked:
> #!/bin/bash
> ksh is probably another option that will work, but we did not try that
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.