Hadoop Common
  1. Hadoop Common
  2. HADOOP-9543

TestFsShellReturnCode may fail in branch-1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      There is a hardcoded username "admin" in TestFsShellReturnCode. If "admin" does not exist in the local fs, the test may fail. Before HADOOP-9502, the failure of the command is ignored silently, i.e. the command returns success even if it indeed failed.

      1. c9543_20130502.patch
        1 kB
        Tsz Wo Nicholas Sze

        Issue Links

          Activity

          Hide
          Matt Foley added a comment -

          Closed upon release of Hadoop 1.2.0.

          Show
          Matt Foley added a comment - Closed upon release of Hadoop 1.2.0.
          Hide
          Suresh Srinivas added a comment -

          +1 for the patch.

          Show
          Suresh Srinivas added a comment - +1 for the patch.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          Thanks Arpit for reviewing the patch.

          I have committed this.

          Show
          Tsz Wo Nicholas Sze added a comment - Thanks Arpit for reviewing the patch. I have committed this.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          Manually tested TestFsShellReturnCode. It passed in my machine after the patch.

          Show
          Tsz Wo Nicholas Sze added a comment - Manually tested TestFsShellReturnCode. It passed in my machine after the patch.
          Hide
          Arpit Agarwal added a comment -

          +1

          Show
          Arpit Agarwal added a comment - +1
          Hide
          Tsz Wo Nicholas Sze added a comment -

          c9543_20130502.patch: uses current username

          Show
          Tsz Wo Nicholas Sze added a comment - c9543_20130502.patch: uses current username

            People

            • Assignee:
              Tsz Wo Nicholas Sze
              Reporter:
              Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development