Skip to content
This repository has been archived by the owner on Sep 20, 2022. It is now read-only.

Commit

Permalink
Close #72: [HIVEMALL-86] Updated Hadoop version dependencies from cdh…
Browse files Browse the repository at this point in the history
…3 to v2.4.0
  • Loading branch information
myui committed Apr 18, 2017
1 parent 8aae974 commit cb16a39
Show file tree
Hide file tree
Showing 22 changed files with 2,376 additions and 42 deletions.
2 changes: 1 addition & 1 deletion bin/spark-shell
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ install_app() {
# install Spark under the bin/ folder if needed.
install_spark() {
local SPARK_VERSION=`grep "<spark.version>" "${_DIR}/../pom.xml" | head -n1 | awk -F '[<>]' '{print $3}'`
local HADOOP_VERSION=`grep "<hadoop.version>" "${_DIR}/../pom.xml" | head -n1 | awk -F '[<>]' '{print $3}'`
local HADOOP_VERSION=`grep "<hadoop.version>" "${_DIR}/../pom.xml" | head -n1 | awk -F '[<>]' '{print $3}' | cut -d '.' -f1-2`
local SPARK_DIR="${_DIR}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}"
local APACHE_MIRROR=${APACHE_MIRROR:-'http://d3kbcqa49mib13.cloudfront.net'}

Expand Down
16 changes: 11 additions & 5 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,14 @@
<!-- provided scope -->
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>0.20.2-cdh3u6</version>
<artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-mapreduce-client-core</artifactId>
<version>${hadoop.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -92,9 +98,9 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop.thirdparty.guava</groupId>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>r09-jarjar</version>
<version>${guava.version}</version>
<scope>provided</scope>
</dependency>

Expand Down Expand Up @@ -141,7 +147,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
476 changes: 476 additions & 0 deletions core/src/main/java/hivemall/topicmodel/LDAPredictUDAF.java

Large diffs are not rendered by default.

Loading

0 comments on commit cb16a39

Please sign in to comment.