Support Questions
Find answers, ask questions, and share your expertise

hadoop-httpfs is broken is HDP2.2.8

Solved Go to solution

hadoop-httpfs is broken is HDP2.2.8

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

Accepted Solutions

Re: hadoop-httpfs is broken is HDP2.2.8

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

Re: hadoop-httpfs is broken is HDP2.2.8

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

Re: hadoop-httpfs is broken is HDP2.2.8

@Pardeep Thanks for sharing this information.