I’m having the similar problem.
When I execute /usr/hdp/2.2.0.0-2041/hadoop-httpfs/sbin/httpfs.sh start,
./httpfs.sh: line 35: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/libexec/httpfs-config.sh: No such file or directory
./httpfs.sh: line 40: print: command not found
./httpfs.sh: line 53: print: command not found
./httpfs.sh: line 64: /bin/catalina.sh: No such file or directory
./httpfs.sh: line 64: exec: /bin/catalina.sh: cannot execute: No such file or directory
I made a symlink of /usr/hdp/2.2.0.0-2041/hadoop-httpfs/libexec to /usr/hdp/2.2.0.0-2041/hadoop/libexec.
And edit /usr/hdp/2.2.0.0-2041/hadoop-httpfs/sbin/httpfs.sh to set HTTPFS_CONFIG=/etc/hadoop-httpfs/conf.
Then executing /usr/hdp/2.2.0.0-2041/hadoop-httpfs/sbin/httpfs.sh start results in:
[root@node-02-04 sbin]# ./httpfs.sh start
Setting HTTPFS_HOME: /usr/hdp/2.2.0.0-2041/hadoop-httpfs
Using HTTPFS_CONFIG: /etc/hadoop-httpfs/conf
Setting HTTPFS_LOG: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/logs
Setting HTTPFS_TEMP: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/temp
Setting HTTPFS_HTTP_PORT: 14000
Setting HTTPFS_ADMIN_PORT: 14001
Setting HTTPFS_HTTP_HOSTNAME: node-02-04.gc.net
Setting HTTPFS_SSL_ENABLED: false
Setting HTTPFS_SSL_KEYSTORE_FILE: /root/.keystore
Setting HTTPFS_SSL_KEYSTORE_PASS: password
Setting CATALINA_BASE: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/share/hadoop/httpfs/tomcat
Setting HTTPFS_CATALINA_HOME: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/share/hadoop/httpfs/tomcat
Setting CATALINA_OUT: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/logs/httpfs-catalina.out
Setting CATALINA_PID: /tmp/httpfs.pid
Using CATALINA_OPTS:
Adding to CATALINA_OPTS: -Dhttpfs.home.dir=/usr/hdp/2.2.0.0-2041/hadoop-httpfs -Dhttpfs.config.dir=/etc/hadoop-httpfs/conf -Dhttpfs.log.dir=/usr/hdp/2.2.0.0-2041/hadoop-httpfs/logs -Dhttpfs.temp.dir=/usr/hdp/2.2.0.0-2041/hadoop-httpfs/temp -Dhttpfs.admin.port=14001 -Dhttpfs.http.port=14000 -Dhttpfs.http.hostname=node-02-04.gc.net -Dhttpfs.ssl.enabled=false -Dhttpfs.ssl.keystore.file=/root/.keystore -Dhttpfs.ssl.keystore.pass=password
./httpfs.sh: line 64: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/share/hadoop/httpfs/tomcat/bin/catalina.sh: No such file or directory
./httpfs.sh: line 64: exec: /usr/hdp/2.2.0.0-2041/hadoop-httpfs/share/hadoop/httpfs/tomcat/bin/catalina.sh: cannot execute: No such file or directory
Cameron, could you please elaborate how you got it working?