I wanted to switch from Hadoop 1.2.1 to Hadoop 2.2. In my project I'm using Maven and it can handle
<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-core</artifactId> <version>1.2.1</version> </dependency>
woithout any problems, however changing the version to 2.2 in not working as it is not available in the central maven repository.
Any ideas how can I include Hadoop 2.2. in my maven-ized project?
Posted in MapReduce by yeskay. Maven is a build management tool used to setup a Java project and create JAR files. It uses pom. xml file to setup dependencies a project needs, compile, and build final artifact like JAR file.
Hadoop Common also contains the necessary Java Archive (JAR) files and scripts required to start Hadoop. The Hadoop Common package also provides source code and documentation, as well as a contribution section that includes different projects from the Hadoop Community. Hadoop Core.
Most of hadoop-core dependencies can be found in hadoop-client:
<dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> <version>2.2.0</version> </dependency>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With