Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.2
-
None
-
None
Description
Ambari sets the followings:
#Set path to where bin/hadoop is available
export HADOOP_HOME=$
#set the path to where bin/hbase is available
export HBASE_HOME=$
#Set the path to where bin/hive is available
export HIVE_HOME=$
- 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}