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

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development