S
S
Sergey Zolotarev2021-12-24 16:56:39
Hadoop
Sergey Zolotarev, 2021-12-24 16:56:39

How to enable and configure WebHDFS in an Apache Hadoop Docker container?

Good evening!

Recently, I came across the fact that my Apache Hadoop cluster is running on a separate Docker image from a third-party developer , and I was setting up a bundle of a cluster with a PHP service, thanks to this library .

Encountered an error:

Too few arguments to function org\apache\hadoop\WebHDFS::__construct(), 3 passed in /var/www/html/investportal/basic/controllers/SiteController.php on line 74 and exactly 6 expected


The problem is connecting to WebHDFS and found out that WebHDFS must be enabled in the config and did not find such a configuration option in the image itself. How to cure it and what access parameters should be used correctly when accessing WebHDFS?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question