Hadoop Common
  1. Hadoop Common
  2. HADOOP-8882

uppercase namenode host name causes fsck to fail when useKsslAuth is on

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, 1.1.0, 1.2.0
    • Fix Version/s: 1.1.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

       public static void fetchServiceTicket(URL remoteHost) throws IOException {
          if(!UserGroupInformation.isSecurityEnabled())
            return;
          
          String serviceName = "host/" + remoteHost.getHost();
      

      the hostname should be converted to lower case. Saw this in branch 1, will look at trunk and update the bug accordingly.

      1. HADOOP-8882.branch-1.patch
        1 kB
        Arpit Gupta
      2. HADOOP-8882.branch-1.patch
        1 kB
        Arpit Gupta

        Issue Links

          Activity

          Gavin made changes -
          Link This issue depends upon HADOOP-8878 [ HADOOP-8878 ]
          Gavin made changes -
          Link This issue depends on HADOOP-8878 [ HADOOP-8878 ]
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Matt Foley made changes -
          Fix Version/s 1.1.1 [ 12321658 ]
          Fix Version/s 1.2.0 [ 12321659 ]
          Suresh Srinivas made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 1.2.0 [ 12321659 ]
          Resolution Fixed [ 1 ]
          Arpit Gupta made changes -
          Attachment HADOOP-8882.branch-1.patch [ 12548754 ]
          Arpit Gupta made changes -
          Link This issue depends on HADOOP-8878 [ HADOOP-8878 ]
          Arpit Gupta made changes -
          Link This issue relates to HADOOP-7988 [ HADOOP-7988 ]
          Arpit Gupta made changes -
          Affects Version/s 1.0.3 [ 12320248 ]
          Arpit Gupta made changes -
          Affects Version/s 1.1.0 [ 12316501 ]
          Arpit Gupta made changes -
          Field Original Value New Value
          Attachment HADOOP-8882.branch-1.patch [ 12547773 ]
          Arpit Gupta created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development