Details

    • Type: Sub-task
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.9.0
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None
    • Target Version/s:

      Description

      I don't know when Hadoop picked up Mockito, but it has been frozen at 1.8.5 since the switch to maven in 2011.

      Mockito is now at version 2.1, with lots of Java 8 support. That' s not just defining actions as closures, but in supporting Optional types, mocking methods in interfaces, etc.

      It's only used for testing, and, provided there aren't regressions, cost of upgrade is low. The good news: test tools usually come with good test coverage. The bad: mockito does go deep into java bytecodes.

        Attachments

        1. HADOOP-14178.024.patch
          480 kB
          Akira Ajisaka
        2. HADOOP-14178.023.patch
          480 kB
          Akira Ajisaka
        3. HADOOP-14178.022.patch
          480 kB
          Akira Ajisaka
        4. HADOOP-14178.021.patch
          479 kB
          Akira Ajisaka
        5. HADOOP-14178.020.patch
          455 kB
          Akira Ajisaka
        6. HADOOP-14178.019.patch
          460 kB
          Akira Ajisaka
        7. HADOOP-14178.018.patch
          456 kB
          Akira Ajisaka
        8. HADOOP-14178.017.patch
          454 kB
          Akira Ajisaka
        9. HADOOP-14178.016.patch
          456 kB
          Akira Ajisaka
        10. HADOOP-14178.015.patch
          450 kB
          Akira Ajisaka
        11. HADOOP-14178.014.patch
          444 kB
          Akira Ajisaka
        12. HADOOP-14178.013.patch
          421 kB
          Akira Ajisaka
        13. HADOOP-14178.012.patch
          478 kB
          Akira Ajisaka
        14. HADOOP-14178.011.patch
          454 kB
          Akira Ajisaka
        15. HADOOP-14178.010.patch
          449 kB
          Akira Ajisaka
        16. HADOOP-14178.009.patch
          443 kB
          Akira Ajisaka
        17. HADOOP-14178.008.patch
          442 kB
          Akira Ajisaka
        18. HADOOP-14178.007.patch
          442 kB
          Akira Ajisaka
        19. HADOOP-14178.006.patch
          442 kB
          Akira Ajisaka
        20. HADOOP-14178.005-wip6.patch
          442 kB
          Akira Ajisaka
        21. HADOOP-14178.005-wip5.patch
          440 kB
          Akira Ajisaka
        22. HADOOP-14178.005-wip4.patch
          440 kB
          Akira Ajisaka
        23. HADOOP-14178.005-wip3.patch
          426 kB
          Akira Ajisaka
        24. HADOOP-14178.005-wip2.patch
          388 kB
          Akira Ajisaka
        25. HADOOP-14178.005-wip.patch
          159 kB
          Akira Ajisaka
        26. HADOOP-14178.005.patch
          130 kB
          Akira Ajisaka
        27. HADOOP-14178.004.patch
          127 kB
          Akira Ajisaka
        28. HADOOP-14178.003.patch
          123 kB
          Akira Ajisaka
        29. HADOOP-14178.002.patch
          84 kB
          Akira Ajisaka
        30. HADOOP-14178.001.patch
          84 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                ajisakaa Akira Ajisaka
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                2 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated: