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

the SPNEGO user for secondary namenode should use the web keytab

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 2.0.2-alpha
    • 1.1.1, 2.0.3-alpha
    • None
    • None
    • Reviewed

    Description

      This is similar to HDFS-3466 where we made sure the namenode checks for the web keytab before it uses the namenode keytab.

      The same needs to be done for secondary namenode as well.

      String httpKeytab = 
                    conf.get(DFSConfigKeys.DFS_SECONDARY_NAMENODE_KEYTAB_FILE_KEY);
                  if (httpKeytab != null && !httpKeytab.isEmpty()) {
                    params.put("kerberos.keytab", httpKeytab);
                  }
      

      Attachments

        1. HDFS-4105.branch-1.patch
          1 kB
          Arpit Gupta
        2. HDFS-4105.patch
          1 kB
          Arpit Gupta

        Issue Links

          Activity

            People

              arpitgupta Arpit Gupta
              arpitgupta Arpit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: