You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2013/05/15 00:29:15 UTC

[jira] [Created] (AMBARI-2136) Home paths are not set correctly in /etc/sqoop/conf/sqoop-env.sh

Mahadev konar created AMBARI-2136:
-------------------------------------

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


mabri 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