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 "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/11/08 21:36:53 UTC
[jira] Resolved: (HADOOP-683) bin/hadoop.sh doesn't work for
/bin/dash (eg ubuntu 6.10b)
[ http://issues.apache.org/jira/browse/HADOOP-683?page=all ]
Doug Cutting resolved HADOOP-683.
---------------------------------
Fix Version/s: 0.9.0
Resolution: Fixed
I just committed this. Thanks, James!
> bin/hadoop.sh doesn't work for /bin/dash (eg ubuntu 6.10b)
> ----------------------------------------------------------
>
> Key: HADOOP-683
> URL: http://issues.apache.org/jira/browse/HADOOP-683
> Project: Hadoop
> Issue Type: Bug
> Components: scripts
> Environment: osx, ubuntu 6.10b
> Reporter: James Todd
> Priority: Trivial
> Fix For: 0.9.0
>
>
> bin/hadoop.sh has a conditional which doesn't work with /bin/dash which ubuntu 6.10b symlinks to /bin/sh.
> here's a trivial patch that works for me:
> Index: bin/hadoop-daemon.sh
> ===================================================================
> --- bin/hadoop-daemon.sh (revision 468719)
> +++ bin/hadoop-daemon.sh (working copy)
> @@ -56,7 +56,7 @@
> pid=$HADOOP_PID_DIR/hadoop-$HADOOP_IDENT_STRING-$command.pid
>
> # Set default scheduling priority
> -if [ "$HADOOP_NICENESS" == "" ]; then
> +if [ "$HADOOP_NICENESS" = "" ]; then
> export HADOOP_NICENESS=0
> fi
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] Resolved: (HADOOP-683) bin/hadoop.sh doesn't work for /bin/dash (eg ubuntu 6.10b)
Posted by James Todd <ja...@gmail.com>.
yeah ... this patch kept me up all night ;)
looking to get more involved. our little proto is off the ground now and i'm
impressed.
thx for *everything*
- james
On 11/8/06, Doug Cutting (JIRA) <ji...@apache.org> wrote:
>
> [ http://issues.apache.org/jira/browse/HADOOP-683?page=all ]
>
> Doug Cutting resolved HADOOP-683.
> ---------------------------------
>
> Fix Version/s: 0.9.0
> Resolution: Fixed
>
> I just committed this. Thanks, James!
>
> > bin/hadoop.sh doesn't work for /bin/dash (eg ubuntu 6.10b)
> > ----------------------------------------------------------
> >
> > Key: HADOOP-683
> > URL: http://issues.apache.org/jira/browse/HADOOP-683
> > Project: Hadoop
> > Issue Type: Bug
> > Components: scripts
> > Environment: osx, ubuntu 6.10b
> > Reporter: James Todd
> > Priority: Trivial
> > Fix For: 0.9.0
> >
> >
> > bin/hadoop.sh has a conditional which doesn't work with /bin/dash which
> ubuntu 6.10b symlinks to /bin/sh.
> > here's a trivial patch that works for me:
> > Index: bin/hadoop-daemon.sh
> > ===================================================================
> > --- bin/hadoop-daemon.sh (revision 468719)
> > +++ bin/hadoop-daemon.sh (working copy)
> > @@ -56,7 +56,7 @@
> > pid=$HADOOP_PID_DIR/hadoop-$HADOOP_IDENT_STRING-$command.pid
> >
> > # Set default scheduling priority
> > -if [ "$HADOOP_NICENESS" == "" ]; then
> > +if [ "$HADOOP_NICENESS" = "" ]; then
> > export HADOOP_NICENESS=0
> > fi
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>