Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3983

Hftp should support both SPNEGO and KSSL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Won't Fix
    • 2.0.0-alpha
    • None
    • security
    • None

    Description

      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.

      Attachments

        1. hdfs-3983.txt
          12 kB
          Eli Collins
        2. hdfs-3983.txt
          10 kB
          Eli Collins

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: