hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1689) .sh scripts do not work on Solaris
Date Tue, 21 Aug 2007 21:42:31 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521604
] 

Allen Wittenauer commented on HADOOP-1689:
------------------------------------------

Solaris has had /bin/bash since Solaris 8, about 7 years now, if the SUNWbash package from
the install media is pkgadd'd.  Granted, it is an ancient version (3.00.16 on Solaris 10 06/06,
according to my home machine, at least), but I'm sure we aren't doing anything particularly
fancy.

> .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.


Mime
View raw message