Created 11-21-2015 01:48 AM
hadoop-httpfs is required for making Hue work with Namenode HA but it looks like it is broken in HDP2.2.8
Created 11-21-2015 01:53 AM
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
Created 11-21-2015 01:53 AM
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
Created 11-21-2015 01:53 AM
@Pardeep Thanks for sharing this information.