Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

hadoop-httpfs is broken is HDP2.2.8

avatar

hadoop-httpfs is required for making Hue work with Namenode HA but it looks like it is broken in HDP2.2.8

1 ACCEPTED SOLUTION

avatar

This is a BUG in HDP2.2.0 onwards. It can be fixed as following:

####hadoop-httpfs is broken
####Note: Replace 2.2.8.0-3150 with correct version of HDP2.2.x i.e. for HDP2.2.6, it is 2.2.6.0-2800 and for HDP2.2.8, it is 2.2.8.0-3150.

ln -s  /usr/hdp/2.2.8.0-3150/etc/rc.d/init.d/hadoop-httpfs /etc/rc.d/init.d/hadoop-httpfs 
ln -s /usr/hdp/2.2.8.0-3150/hadoop/libexec/ /usr/hdp/2.2.8.0-3150/hadoop-httpfs/libexec 
ln -s /usr/hdp/2.2.8.0-3150/hadoop-httpfs/webapps /etc/hadoop-httpfs/tomcat-deployment/webapps 
####Additionally, we need to add the jdk_path (Please change according to your environment) to /etc/hadoop-httpfs/conf/httpfs-env.sh: 
export JAVA_HOME=/usr/jdk64/jdk1.7.0_67/
service hadoop-httpfs start
###Start Hue Service
service hue start

View solution in original post

2 REPLIES 2

avatar

This is a BUG in HDP2.2.0 onwards. It can be fixed as following:

####hadoop-httpfs is broken
####Note: Replace 2.2.8.0-3150 with correct version of HDP2.2.x i.e. for HDP2.2.6, it is 2.2.6.0-2800 and for HDP2.2.8, it is 2.2.8.0-3150.

ln -s  /usr/hdp/2.2.8.0-3150/etc/rc.d/init.d/hadoop-httpfs /etc/rc.d/init.d/hadoop-httpfs 
ln -s /usr/hdp/2.2.8.0-3150/hadoop/libexec/ /usr/hdp/2.2.8.0-3150/hadoop-httpfs/libexec 
ln -s /usr/hdp/2.2.8.0-3150/hadoop-httpfs/webapps /etc/hadoop-httpfs/tomcat-deployment/webapps 
####Additionally, we need to add the jdk_path (Please change according to your environment) to /etc/hadoop-httpfs/conf/httpfs-env.sh: 
export JAVA_HOME=/usr/jdk64/jdk1.7.0_67/
service hadoop-httpfs start
###Start Hue Service
service hue start

avatar
Master Mentor

@Pardeep Thanks for sharing this information.