Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Install, config and start HttpFS in HDP 3.1.0


Install, config and start HttpFS in HDP 3.1.0

New Contributor


HDP: 3.1.0

Ubuntu 16.04

Hi there,

I want to use HttpFS. But when I run command:

hdfs httpfs start

But I faced this error:

Exception in thread "main" Unable to initialize WebAppContext

at org.apache.hadoop.http.HttpServer2.start(

at org.apache.hadoop.fs.http.server.HttpFSServerWebServer.start(

at org.apache.hadoop.fs.http.server.HttpFSServerWebServer.main(

Caused by: java.lang.RuntimeException: Could not read HttpFS signature secret file: /usr/hdp/

at org.apache.hadoop.fs.http.server.HttpFSAuthenticationFilter.getConfiguration(

Can you help me? Thank you.


Re: Install, config and start HttpFS in HDP 3.1.0

New Contributor


We had the same issue.

We have added to HDFS Ambari config "hadoop-env template" extra variable:

export HTTPFS_CONFIG=/etc/hadoop-httpfs/conf

In dir:


We have placed secret file:


Reboot service from httpfs user:

hdfs --daemon stop httpfs
hdfs --daemon start httpfs

Otherwise httpfs is using default client hadoop config in example: /usr/hdp/ as the config dir which will be overwritten if you reboot services using Ambari.