Skip to content

Instantly share code, notes, and snippets.

@gmodena
Last active February 8, 2021 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmodena/1152d8a45b4aa8e6b18dce73adfbaadd to your computer and use it in GitHub Desktop.
Save gmodena/1152d8a45b4aa8e6b18dce73adfbaadd to your computer and use it in GitHub Desktop.
LearningHadoop2 - Chapter3
// Update of https://github.com/learninghadoop2/book-examples/blob/master/ch3/build.gradle
// Drop Cloudera versions of Hadoop packages, and use vanilla versions instead.
apply plugin:'java'
sourceCompatibility = 1.8
targetCompatibility = 1.8
// Use maven central (over https) instead of Cloudera repos
repositories {
maven {
url = 'https://repo1.maven.org/maven2/'
}
}
// Drop -cdh5.0.3 versions of Hadoop pacakges. Use vanilla version instead.
dependencies {
compile 'org.kitesdk:kite-data-core:0.17.0'
compile 'org.kitesdk:kite-morphlines-core:0.17.0'
compile 'org.apache.hadoop:hadoop-common:2.3.0'
compile 'org.apache.hadoop:hadoop-mapreduce-client-core:2.3.0'
compile 'org.apache.hadoop:hadoop-mapreduce-client-common:2.3.0'
compile 'org.apache.hive.hcatalog:hive-hcatalog-core:0.13.0' // 0.12 is not available on mavencentral
compile 'org.apache.hive:hive-metastore:0.13.0' // upgrade 0.12 -> 0.13 to match hive-hcatalog-core
testCompile "junit:junit:4.0+"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment