Hadoop Common
  1. Hadoop Common
  2. HADOOP-6938

ConnectionId.getRemotePrincipal() should check if security is enabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: ipc, security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When security is not enabled, getRemotePrincipal() should return null, which means the Kerberos principal of the remote server is ignored. This bug was caught by TestCLI on Yahoo 20S branch.

      1. c6938-01.patch
        0.6 kB
        Kan Zhang
      2. c6938-03.patch
        2 kB
        Kan Zhang
      3. c6938-04.patch
        4 kB
        Kan Zhang

        Issue Links

          Activity

          Kan Zhang created issue -
          Kan Zhang made changes -
          Field Original Value New Value
          Component/s ipc [ 12310688 ]
          Component/s security [ 12312526 ]
          Kan Zhang made changes -
          Link This issue is related to HADOOP-6907 [ HADOOP-6907 ]
          Kan Zhang made changes -
          Attachment c6938-01.patch [ 12453731 ]
          Kan Zhang made changes -
          Attachment c6938-03.patch [ 12453742 ]
          Kan Zhang made changes -
          Summary ConnectiionId.getConnectionId() should check if security is enabled ConnectionId.getRemotePrincipal() should check if security is enabled
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Attachment c6938-04.patch [ 12453791 ]
          Boris Shkolnik made changes -
          Link This issue blocks MAPREDUCE-2050 [ MAPREDUCE-2050 ]
          Hairong Kuang made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.22.0 [ 12314296 ]
          Resolution Fixed [ 1 ]
          Eli Collins made changes -
          Link This issue blocks HDFS-1372 [ HDFS-1372 ]
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue blocks MAPREDUCE-2050 [ MAPREDUCE-2050 ]
          Gavin made changes -
          Link This issue is depended upon by MAPREDUCE-2050 [ MAPREDUCE-2050 ]

            People

            • Assignee:
              Kan Zhang
              Reporter:
              Kan Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development