Hadoop Common
  1. Hadoop Common
  2. HADOOP-5647

TestJobHistory fails if /tmp/_logs is not writable to. Testcase should not depend on /tmp

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.203.0, 0.23.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Removed dependency of testcase on /tmp and made it to use test.build.data directory instead.

      Description

      TestJobHistory sets /tmp as hadoop.job.history.user.location to check if the history file is created in that directory or not. If /tmp/_logs is already created by some other user, this test will fail because of not having write permission.

      1. HADOOP-5647.patch
        1 kB
        Ravi Gummadi
      2. yhadoop20-5647.patch
        2 kB
        Ravi Gummadi

        Activity

        Ravi Gummadi created issue -
        Ravi Gummadi made changes -
        Field Original Value New Value
        Attachment HADOOP-5647.patch [ 12405040 ]
        Tsz Wo Nicholas Sze made changes -
        Hadoop Flags [Reviewed]
        Component/s test [ 12311440 ]
        Component/s mapred [ 12310690 ]
        Ravi Gummadi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Release Note This patch removes the dependency of testcase on /tmp
        Sharad Agarwal made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.21.0 [ 12313563 ]
        Resolution Fixed [ 1 ]
        Robert Chansler made changes -
        Release Note This patch removes the dependency of testcase on /tmp
        Ravi Gummadi made changes -
        Attachment yhadoop20-5647.patch [ 12423186 ]
        Todd Lipcon made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ravi Gummadi made changes -
        Release Note Removed dependency of testcase on /tmp and made it to use test.build.data directory instead.
        Tom White made changes -
        Fix Version/s 0.21.0 [ 12313563 ]
        Owen O'Malley made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 0.20.203.0 [ 12316064 ]
        Fix Version/s 0.23.0 [ 12315569 ]
        Resolution Fixed [ 1 ]
        Owen O'Malley made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ravi Gummadi
            Reporter:
            Ravi Gummadi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development