質問

I'm using Cloudera Hadoop environment.

I've been familiar with WebHDFS over the past few days. I'm using it to perform various HDFS operations through REST API.

But, now i need to secure the communication to WebHDFS i.e using SSL/HTTPS.

Is this possible ? If yes, are there any defined steps to achieve this ?

PS : Currently, I don't want to go for using Kerberos.

役に立ちましたか?

解決

There are some properties you can set in hdfs-site.xml to enable HTTPS/SSL connections to the name node and data nodes:

You'll need to set a few properties in this file (and distribute it + your server cert / truststores to the NN and each DN in your cluster, and then restart HDFS).

There'a also some more detailed explanation available, here's some links that Google turned up:

Note that Kerberos will not give you 'secure' communications (if by secure you mean encrypted), Kerberos just provides an authentication mechanism.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top