Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3756

DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: security
    • Labels:
      None

      Description

      When doing the forwardport of HDFS-2617 to trunk I've missed deleting the original connection creation when converting it to use the SecurityUtil class.

             connection = (HttpURLConnection) SecurityUtil.openSecureHttpConnection(url);
            connection = (HttpURLConnection)URLUtils.openConnection(url);
      
      1. HDFS-3756.patch
        0.9 kB
        Alejandro Abdelnur

        Activity

        Hide
        Aaron T. Myers added a comment -

        +1 pending Jenkins.

        Show
        Aaron T. Myers added a comment - +1 pending Jenkins.
        Hide
        Alejandro Abdelnur added a comment -

        Committed to trunk & branch-2.

        Show
        Alejandro Abdelnur added a comment - Committed to trunk & branch-2.
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2552 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2552/)
        HDFS-3756. DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2552 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2552/ ) HDFS-3756 . DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2617 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2617/)
        HDFS-3756. DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2617 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2617/ ) HDFS-3756 . DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2571 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2571/)
        HDFS-3756. DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733)

        Result = FAILURE
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2571 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2571/ ) HDFS-3756 . DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733) Result = FAILURE tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1124 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1124/)
        HDFS-3756. DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733)

        Result = SUCCESS
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1124 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1124/ ) HDFS-3756 . DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1156 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1156/)
        HDFS-3756. DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733)

        Result = FAILURE
        tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733
        Files :

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1156 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1156/ ) HDFS-3756 . DelegationTokenFetcher creates 2 HTTP connections, the second one not properly configured. (tucu) (Revision 1368733) Result = FAILURE tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1368733 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DelegationTokenFetcher.java

          People

          • Assignee:
            Alejandro Abdelnur
            Reporter:
            Alejandro Abdelnur
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development