Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4105

the SPNEGO user for secondary namenode should use the web keytab

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 2.0.2-alpha
    • Fix Version/s: 1.1.1, 3.0.0, 2.0.3-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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);
                  }
      
      1. HDFS-4105.patch
        1 kB
        Arpit Gupta
      2. HDFS-4105.branch-1.patch
        1 kB
        Arpit Gupta

        Issue Links

          Activity

          Suresh Srinivas made changes -
          Link This issue relates to HDFS-4540 [ HDFS-4540 ]
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jitendra Nath Pandey made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 1.1.1 [ 12321656 ]
          Fix Version/s 3.0.0 [ 12320356 ]
          Fix Version/s 2.0.3-alpha [ 12323274 ]
          Resolution Fixed [ 1 ]
          Arpit Gupta made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Arpit Gupta made changes -
          Attachment HDFS-4105.patch [ 12550378 ]
          Arpit Gupta made changes -
          Field Original Value New Value
          Attachment HDFS-4105.branch-1.patch [ 12550372 ]
          Arpit Gupta created issue -

            People

            • Assignee:
              Arpit Gupta
              Reporter:
              Arpit Gupta
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development