GitHub user Leemoonsoo opened a pull request:

    https://github.com/apache/zeppelin/pull/1298

    [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


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Leemoonsoo/zeppelin move_profile_followup

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1298.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1298
    
----
commit e3bc780525ffddf370282433a10a2cb5f2392eb5
Author: Lee moon soo <[email protected]>
Date:   2016-08-06T21:43:05Z

    set yarn.version property

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to