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:31:19 UTC
[jira] [Updated] (AMBARI-2136) Home paths are not set correctly in
/etc/sqoop/conf/sqoop-env.sh
[ https://issues.apache.org/jira/browse/AMBARI-2136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated AMBARI-2136:
----------------------------------
Description:
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}
was:
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}
> 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
>
>
> 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