Hadoop Common
  1. Hadoop Common
  2. HADOOP-11052

hadoop_verify_secure_prereq's results aren't checked in bin/hdfs

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: scripts
    • Labels:
      None

      Description

      Just need an else + exit in the secure_service stanza.

      1. HADOOP-11052.patch
        2 kB
        Allen Wittenauer

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #1876 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1876/)
          HADOOP-11052. hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (jing9: rev a149afd9e6a965626af2bdbbf1eca23c1cc993af)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #1876 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1876/ ) HADOOP-11052 . hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (jing9: rev a149afd9e6a965626af2bdbbf1eca23c1cc993af) hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #1901 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1901/)
          HADOOP-11052. hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (jing9: rev a149afd9e6a965626af2bdbbf1eca23c1cc993af)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1901 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1901/ ) HADOOP-11052 . hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (jing9: rev a149afd9e6a965626af2bdbbf1eca23c1cc993af) hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk #685 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/685/)
          HADOOP-11052. hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (jing9: rev a149afd9e6a965626af2bdbbf1eca23c1cc993af)

          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #685 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/685/ ) HADOOP-11052 . hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (jing9: rev a149afd9e6a965626af2bdbbf1eca23c1cc993af) hadoop-common-project/hadoop-common/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk #1863 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1863/)
          HADOOP-11052. hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (aw: rev 7a62515c8628430a163415e42c9526a123db213c)

          • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #1863 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1863/ ) HADOOP-11052 . hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (aw: rev 7a62515c8628430a163415e42c9526a123db213c) hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-common/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          Hide
          Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #1888 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1888/)
          HADOOP-11052. hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (aw: rev 7a62515c8628430a163415e42c9526a123db213c)

          • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          Show
          Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #1888 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1888/ ) HADOOP-11052 . hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (aw: rev 7a62515c8628430a163415e42c9526a123db213c) hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-common/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk #672 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/672/)
          HADOOP-11052. hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (aw: rev 7a62515c8628430a163415e42c9526a123db213c)

          • hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          Show
          Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #672 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/672/ ) HADOOP-11052 . hadoop_verify_secure_prereq's results aren't checked in bin/hdfs (aw) (aw: rev 7a62515c8628430a163415e42c9526a123db213c) hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh hadoop-common-project/hadoop-common/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
          Hide
          Allen Wittenauer added a comment -

          Committed to trunk.

          Show
          Allen Wittenauer added a comment - Committed to trunk.
          Hide
          Allen Wittenauer added a comment -

          This is a trivial fix to the problem. Also fixed the bad logic for HADOOP_SECURE_COMMAND.

          Show
          Allen Wittenauer added a comment - This is a trivial fix to the problem. Also fixed the bad logic for HADOOP_SECURE_COMMAND.
          Hide
          Allen Wittenauer added a comment -

          Moving this to common. The real fix is to make verify exit on failure so that it matches the other verify functions. At that point, the if statement can be removed from bin/hdfs as well.

          Show
          Allen Wittenauer added a comment - Moving this to common. The real fix is to make verify exit on failure so that it matches the other verify functions. At that point, the if statement can be removed from bin/hdfs as well.

            People

            • Assignee:
              Allen Wittenauer
              Reporter:
              Allen Wittenauer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development