Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12515

Mockito dependency is missing in hadoop-kafka module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • test
    • None
    • Reviewed

    Description

      When importing Hadoop project into Intellij IDEA, it was found hadoop-kafka module doesn't resolve mockito related classes. The following change addressed the issue.

      --- a/hadoop-tools/hadoop-kafka/pom.xml
      +++ b/hadoop-tools/hadoop-kafka/pom.xml
      @@ -125,5 +125,10 @@
             <artifactId>junit</artifactId>
             <scope>test</scope>
           </dependency>
      +    <dependency>
      +      <groupId>org.mockito</groupId>
      +      <artifactId>mockito-all</artifactId>
      +      <scope>test</scope>
      +    </dependency>
         </dependencies>
       </project>
      

      Attachments

        1. HADOOP-12515-v1.patch
          0.5 kB
          Kai Zheng

        Issue Links

          Activity

            People

              drankye Kai Zheng
              drankye Kai Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: