Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

How do I include all the Hadoop dependencies using Maven

Asked by Carl Paige Apr 15, 2021 176 views 1 answer
Share

About this question

 I have installed Hadoop on my CentOS VM I am using eclipse IDE and my hadoop project has listed hadoop*.jar as dependency My mvn install command fails:

(master) $ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]  
[ERROR]   The project groupId:hadoop:master-SNAPSHOT

I changed my pom.xml to following POM.XML

<!--?xml version="1.0" encoding="UTF-8"?-->
http://maven.apache.org/POM/4.0.0"
     
         xsi:schemaLocation">
    4.0.0
    groupId
    hadoop
    master-SNAPSHOT
    jar
    
        
            org.apache.hadoop
            hadoop-core
            1.0.3
            jar
            /usr/lib/hadoop/1.0.3/libexec/hadoop-core-1.0.3.jar
        
    

Still getting the same error.


Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.