Hadoop Common
  1. Hadoop Common
  2. HADOOP-6524

Contrib tests are failing Clover'ed build

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.0
    • Fix Version/s: 0.20.2
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When test-contrib target is executed on a build instrumented with Clover all tests there are failing. Apparently clover.jar isn't included into contrib tests classpath.

      Also, HdfsProxy test is failing because commons-cli jar isn't pulled by Ivy.

      1. HADOOP-6524.patch
        1 kB
        Konstantin Boudnik
      2. runWithClover.sh
        0.2 kB
        Konstantin Boudnik

        Activity

        Hide
        Konstantin Boudnik added a comment -

        This patch fixes both issues.

        Show
        Konstantin Boudnik added a comment - This patch fixes both issues.
        Hide
        Konstantin Boudnik added a comment -

        There's no way to test the fix via test-patch process. However, a curious mind can run this script it Clover is available.

        Show
        Konstantin Boudnik added a comment - There's no way to test the fix via test-patch process. However, a curious mind can run this script it Clover is available.
        Hide
        Todd Lipcon added a comment -

        The ivy problem is a dup with HADOOP-6503

        Show
        Todd Lipcon added a comment - The ivy problem is a dup with HADOOP-6503
        Hide
        Jakob Homan added a comment -

        This is reasonable. +1.

        Show
        Jakob Homan added a comment - This is reasonable. +1.
        Hide
        Konstantin Boudnik added a comment -

        I've just committed this.

        Show
        Konstantin Boudnik added a comment - I've just committed this.
        Hide
        Konstantin Boudnik added a comment -

        Oops, I haven't seen your comment Todd. Sorry. I think your patch is better than my head-down solution. So, please feel free to refit your the patch and commit it.

        Show
        Konstantin Boudnik added a comment - Oops, I haven't seen your comment Todd. Sorry. I think your patch is better than my head-down solution. So, please feel free to refit your the patch and commit it.

          People

          • Assignee:
            Konstantin Boudnik
            Reporter:
            Konstantin Boudnik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development