incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-2136) Home paths are not set correctly in /etc/sqoop/conf/sqoop-env.sh
Date Tue, 14 May 2013 22:51:16 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657634#comment-13657634
] 

Siddharth Wagle commented on AMBARI-2136:
-----------------------------------------

+1 LGTM.
                
> Home paths are not set correctly in /etc/sqoop/conf/sqoop-env.sh
> ----------------------------------------------------------------
>
>                 Key: AMBARI-2136
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2136
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 1.2.4
>
>         Attachments: AMBARI-2136.patch
>
>
> Ambari sets the followings:
> #Set path to where bin/hadoop is available
> export HADOOP_HOME=$
> {HADOOP_HOME:-/usr}
> #set the path to where bin/hbase is available
> export HBASE_HOME=$
> {HBASE_HOME:-/usr}
> #Set the path to where bin/hive is available
> export HIVE_HOME=$
> {HIVE_HOME:-/usr}
> # add libthrift in hive to sqoop class path first so hive imports work
> export SQOOP_USER_CLASSPATH="`ls ${HIVE_HOME}
> /lib/libthrift-*.jar 2> /dev/null`:$
> {SQOOP_USER_CLASSPATH}"
> #Set the path for where zookeper config dir is
> export ZOOCFGDIR=${ZOOCFGDIR:-/etc/zookeeper/conf}
> It should be the followings (also screenshot is available):
> #Set path to where bin/hadoop is available
> export HADOOP_HOME=${HADOOP_HOME:-/usr/lib/hadoop}
> #set the path to where bin/hbase is available
> export HBASE_HOME=${HBASE_HOME:-/usr/lib/hbase}
> #Set the path to where bin/hive is available
> export HIVE_HOME=${HIVE_HOME:-/usr/lib/hive}
> #Set the path for where zookeper config dir is
> export ZOOCFGDIR=${ZOOCFGDIR:-/etc/zookeeper/conf}
> # add libthrift in hive to sqoop class path first so hive imports work
> export SQOOP_USER_CLASSPATH="`ls ${HIVE_HOME}/lib/libthrift-*.jar 2> /dev/null`:${SQOOP_USER_CLASSPATH}

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

Mime
View raw message