You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Stephen Boesch (Updated) (JIRA)" <ji...@apache.org> on 2011/11/03 09:33:32 UTC

[jira] [Updated] (HIVE-2547) Tiny bug in init-hive-dfs.sh

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

Stephen Boesch updated HIVE-2547:
---------------------------------

    Status: Patch Available  (was: Open)

I'm trying to submit a proposed patch, but there is no place to attach a file. So here is the patch itself


Index: bin/init-hive-dfs.sh
===================================================================
--- bin/init-hive-dfs.sh	(Revision 1196932)
+++ bin/init-hive-dfs.sh	(Arbeitskopie)
@@ -69,7 +69,7 @@
 fi
 
 HADOOP_EXEC=$HADOOP_HOME/bin/hadoop
-if [ ! -f ${HADOOP} ]; then
+if [ ! -f ${HADOOP_EXEC} ]; then
   echo "Cannot find hadoop installation: \$HADOOP_HOME must be set or hadoop must be in the path";
   exit 4;
 fi

                
> Tiny bug in init-hive-dfs.sh 
> -----------------------------
>
>                 Key: HIVE-2547
>                 URL: https://issues.apache.org/jira/browse/HIVE-2547
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.8.0
>         Environment: ubuntu / general linux
>            Reporter: Stephen Boesch
>            Priority: Minor
>              Labels: initialization
>             Fix For: 0.8.0
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> init-hive-dfs.sh seems to have a small typo on line 73 in which it requests "$HADOOP" instead of "$HADOOP_EXEC"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira