Bump hadoop to 3.3.2 and add dirty mockito hack.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <hadoop.version>2.10.1</hadoop.version>
+ <hadoop.version>3.3.2</hadoop.version>
<pig.version>0.14.0</pig.version>
</properties>
</exclusion>
</exclusions>
</dependency>
+ <dependency>
+ <!-- This is a HACK due to hadoop relying on mockito in NameNodeAdapter, but not providing it. Brum, brum !! -->
+ <groupId>org.mockito</groupId>
+ <artifactId>mockito-core</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<!-- Use slf4j's replacement for log4j to avoid log4j in the dependency tree -->
<groupId>org.slf4j</groupId>
