You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mo...@apache.org on 2016/08/06 22:23:43 UTC
zeppelin git commit: [HOTFIX] After hotfix #1292,
build fails with -Pyarn
Repository: zeppelin
Updated Branches:
refs/heads/master e2dcbfa89 -> b00792495
[HOTFIX] After hotfix #1292, build fails with -Pyarn
### What is this PR for?
#1292 fixed CI problem. However, build command fails with -Pyarn
```
[ERROR] 'dependencies.dependency.version' for org.apache.hadoop:hadoop-yarn-api:jar must be a valid version but is '${yarn.version}'. line 939, column 20
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-dependency-plugin line 341, column 15
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.zeppelin:zeppelin-spark_2.10:0.7.0-SNAPSHOT (/Users/moon/Projects/zeppelin/spark/pom.xml) has 1 error
[ERROR] 'dependencies.dependency.version' for org.apache.hadoop:hadoop-yarn-api:jar must be a valid version but is '${yarn.version}'. line 939, column 20
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
```
### What type of PR is it?
Hot Fix
### Todos
* [x] - set yarn.version property when -Pyarn is activated
### How should this be tested?
Build zeppelin with -Pyarn activated
Author: Lee moon soo <mo...@apache.org>
Closes #1298 from Leemoonsoo/move_profile_followup and squashes the following commits:
e3bc780 [Lee moon soo] set yarn.version property
Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/b0079249
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/b0079249
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/b0079249
Branch: refs/heads/master
Commit: b0079249595b014bc03b34bd291ae65aa70daa64
Parents: e2dcbfa
Author: Lee moon soo <mo...@apache.org>
Authored: Sat Aug 6 14:43:05 2016 -0700
Committer: Lee moon soo <mo...@apache.org>
Committed: Sat Aug 6 15:23:37 2016 -0700
----------------------------------------------------------------------
spark/pom.xml | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/zeppelin/blob/b0079249/spark/pom.xml
----------------------------------------------------------------------
diff --git a/spark/pom.xml b/spark/pom.xml
index 19a199e..5f92ab8 100644
--- a/spark/pom.xml
+++ b/spark/pom.xml
@@ -926,6 +926,9 @@
<profile>
<id>yarn</id>
+ <properties>
+ <yarn.version>${hadoop.version}</yarn.version>
+ </properties>
<dependencies>
<dependency>
<groupId>org.apache.spark</groupId>