To develop applications using Kiji schema and Mapreduce , add following to your maven
If you have custom changes to your maven settings.xml then add following in relevant sections. Otherwise you can download the settings.xml provided by kiji website
<profile>
<repositories>
<repository>
<id>kiji-repos</id>
<name>kiji-repos</name>
<url>https://repo.wibidata.com/artifactory/kiji</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>kiji-plugins</id>
<name>kiji-plugins</name>
<url>https://repo.wibidata.com/artifactory/kiji</url>
</pluginRepository>
</pluginRepositories>
<id>kiji-profile</id>
</profile>
<activeProfiles>
<activeProfile>kiji-profile</activeProfile>
</activeProfiles>
Changes to pom.xml
Add the dependency like following
<dependency>
<groupId>org.kiji.schema</groupId>
<artifactId>kiji-schema</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kiji.mapreduce</groupId>
<artifactId>kiji-mapreduce</artifactId>
<version>1.0.0-rc5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.kiji.platforms</groupId>
<artifactId>kiji-cdh4-platform</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
For org.kiji.platforms
Please read below , you need to choose right version depending upon your hadoop cluster
https://github.com/kijiproject/kiji-platforms/blob/master/README.md
No comments:
Post a Comment
Please share your views and comments below.
Thank You.