Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
hadoop-httpfs is broken is HDP2.2.8
Labels:
Guru
Created ‎11-21-2015 01:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Guru
Created ‎11-21-2015 01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
2 REPLIES 2
Guru
Created ‎11-21-2015 01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Master Mentor
Created ‎11-21-2015 01:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Pardeep Thanks for sharing this information.
