hadoop-common-dev mailing list archives

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

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

David Biesack commented on HADOOP-1689:
---------------------------------------

Using 

  #!/usr/bin/env bash

works for us on our RedHat Linux systems.

thanks


> .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
>             Fix For: 0.15.0
>
>         Attachments: HADOOP-1689.patch
>
>
> 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