Search code examples
dockerhadoopwebhdfshttpfs

WebHDFS/HttpFS in CDH via Docker


i'm using cloudera quickstart via Docker Toolbox (docker for win10 home). The CDH version is 5.7

i'm trying to connect to hdfs with Webhdfs/HttpFS, i dont sure if the port is 50070 or 14000. here is the list of ports in CDH 5.7

1) I'm actualy dont sure what is the user name i need to use with i tried root, cloudera or maybe its the name of the container? try to connect with CMD

2) I've tried those examples and got the same errors (example1, example2)

thanks


Solution

  • Thanks Engineer Dollery 2. I created a new container and expose the port of WebHDFS and now its working. The port of WebHDFS in CDH 5.7 is 14000 (not 50070 as was before). The username was cloudera but i dont sure its necessary.