Accessing kerberized WebHDFS on Cloudera from Knox

545 Views Asked by At

I have been trying to make Apache Knox work on a kerberised Cloudera Cluster. I downloaded the zip containing Knox and installed it. I also made changes specific to my cluster on the sandbox.xml file. However, when i run cURL command i get 404 not found error. Has someone, successfully managed to run Knox ? If yes, please assist

1

There are 1 best solutions below

11
On

you can take a look at the Knox documentation here for details on WebHdfs service that Knox supports.

Getting back to your 404 issue, it means that Knox could not find your service, this is most likely because

  1. The service definition was missing from your topology file (looks like you added it)
  2. The service url that was used returned 404.

Also make sure you have enabled WebHdfs service and it is up and running on the port you expect it to refer cloudera documentation. The example ports listed on Knox guide might be different for your installation.

If you can share Knox logs that would be helpful. Also, take a look at Secure Clusters on documentation of how to configure Knox with kerberized clusters.

Good Luck !