0

In my hadoop project, I have decided to use only one CDH dependency 'hadoop-client' as suggested by this stackoverflow post.

This is my dependency in the POM:

 <dependency>
     <groupId>org.apache.hadoop</groupId>
     <artifactId>hadoop-client</artifactId>
     <scope>provided</scope>
 </dependency> 

When I run mvn dependency:analyze this is what I get:

[WARNING] Used undeclared dependencies found:
[WARNING]    org.apache.hadoop:hadoop-common:jar:2.6.0-cdh5.5.1:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.hadoop:hadoop-client:jar:2.6.0-cdh5.5.1:provided

Why is not hadoop-common being resolved from hadoop-client. And why does maven think hadoop-client is not being used?

THanks.

Community
  • 1
  • 1
Gadam
  • 2,674
  • 8
  • 37
  • 56

0 Answers0