-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Won't Fix
-
Affects Version/s: 2.0.0-alpha
-
Fix Version/s: None
-
Component/s: security
-
Labels:None
Hftp currently doesn't work against a secure cluster unless you configure dfs.https.port to be the http port, otherwise the client can't fetch tokens:
$ hadoop fs -ls hftp://c1225.hal.cloudera.com:50070/ 12/09/26 18:02:00 INFO fs.FileSystem: Couldn't get a delegation token from http://c1225.hal.cloudera.com:50470 using http. ls: Security enabled but user not authenticated by filter
This is due to Hftp still using the https port. Post HDFS-2617 it should use the regular http port. Hsftp should still use the secure port, however now that we have HADOOP-8581 it's worth considering removing Hsftp entirely. I'll start a separate thread about that.