You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2013/01/11 20:48:12 UTC

[jira] [Reopened] (ACCUMULO-645) Stderr: Warning: $HADOOP_HOME is deprecated

     [ https://issues.apache.org/jira/browse/ACCUMULO-645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines reopened ACCUMULO-645:
---------------------------------


Fresh pull, ran the script. I was using the old config, so things broke. Not sure if we want to fix it, but the checks in config.sh seem a bit strange to me.

{code}if [ -z "$HADOOP_PREFIX" ]
then
   HADOOP_HOME="`which hadoop`"
   if [ -z "$HADOOP_PREFIX" ]
   then
      echo "You must set HADOOP_PREFIX"
      exit 1
   fi
   HADOOP_HOME=`dirname $HADOOP_PREFIX`
   HADOOP_HOME=`dirname $HADOOP_PREFIX`
fi
{code
We check hadoop prefix, set hadoop home, make no changes to hadoop prefix, check it again with the exact same check, and then exit. Shouldn't we either just fail outright here (blech) or try to set HADOOP_PREFIX to HADOOP_HOME if not set (getting HADOOP_HOME figured out by `which hadop` if we can?
                
> Stderr: Warning: $HADOOP_HOME is deprecated
> -------------------------------------------
>
>                 Key: ACCUMULO-645
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-645
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.4.0
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>            Priority: Trivial
>             Fix For: 1.5.0
>
>
> Getting tired of looking at the message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira