Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.0k views
in Technique[技术] by (71.8m points)

hadoop - Can't access WebHDFS using Big Data Europe with docker-compose

I can't access WebHDFS via Curl or using Python HDFS when using the Big Data Europe 2020 Hadoop Cluster via docker-compose (https://github.com/big-data-europe/docker-hadoop/). For instance, the response of curl -i "http://localhost:50070/webhdfs/v1/user/?op=GETFILESTATUS" is curl: (52) Empty reply from server.

When I log into the namenode and check to see if port 50070 is in use, all I can see is that ports 9000 and 9870 are being used, and the 50070 and 50075 are not.

I've double checked to ensure that HDFS_CONF_dfs_webhdfs_enabled=true is also set across the board. This carries through and is accurately set in the config files as expected.

Any suggestions on what could be keeping WebHDFS from working properly?

(I have also posted this as an issue at https://github.com/big-data-europe/docker-hadoop/issues/96).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...