GitHub user minahlee opened a pull request:

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

    [HOTFIX][branch-0.7] Correct py4j.version in spark pom

    ### What is this PR for?
    `master` and `branch-0.7` have different py4j version property in pom.xml
    master: `spark.py4j.version`
    branch-0.7: `py4j.version`
    
    This PR correct property name for py4j version in branch-0.7.
    
    Wrong property name causes build error:
    ```
    main:
    [INFO] 
------------------------------------------------------------------------
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Zeppelin ........................................... SUCCESS [  
3.321 s]
    [INFO] Zeppelin: Interpreter .............................. SUCCESS [ 
10.231 s]
    [INFO] Zeppelin: Zengine .................................. SUCCESS [  
7.804 s]
    [INFO] Zeppelin: Display system apis ...................... SUCCESS [ 
13.944 s]
    [INFO] Zeppelin: Spark dependencies ....................... FAILURE [ 
11.051 s]
    [INFO] Zeppelin: Spark .................................... SKIPPED
    [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
    [INFO] Zeppelin: Angular interpreter ...................... SKIPPED
    [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
    [INFO] Zeppelin: Livy interpreter ......................... SKIPPED
    [INFO] Zeppelin: HBase interpreter ........................ SKIPPED
    [INFO] Zeppelin: Apache Pig Interpreter ................... SKIPPED
    [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED
    [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED
    [INFO] Zeppelin: File System Interpreters ................. SKIPPED
    [INFO] Zeppelin: Flink .................................... SKIPPED
    [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED
    [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED
    [INFO] Zeppelin: Python interpreter ....................... SKIPPED
    [INFO] Zeppelin: Lens interpreter ......................... SKIPPED
    [INFO] Zeppelin: Apache Cassandra interpreter ............. SKIPPED
    [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED
    [INFO] Zeppelin: BigQuery interpreter ..................... SKIPPED
    [INFO] Zeppelin: Alluxio interpreter ...................... SKIPPED
    [INFO] Zeppelin: Scio ..................................... SKIPPED
    [INFO] Zeppelin: web Application .......................... SKIPPED
    [INFO] Zeppelin: Server ................................... SKIPPED
    [INFO] Zeppelin: Packaging distribution ................... SKIPPED
    [INFO] 
------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 46.981 s
    [INFO] Finished at: 2017-09-01T18:20:01+09:00
    [INFO] Final Memory: 87M/1434M
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (zip-pyspark-files) on 
project zeppelin-spark-dependencies_2.11: An Ant BuildException has occured: 
Warning: Could not find file 
/private/tmp/zeppelin-release/zeppelin-0.7.3-bin-all/spark-dependencies/target/spark-2.1.0/python/lib/py4j-0.8.2.1-src.zip
 to copy.
    [ERROR] around Ant part ...<copy todir="../interpreter/spark/pyspark" 
file="/private/tmp/zeppelin-release/zeppelin-0.7.3-bin-all/spark-dependencies/target/spark-2.1.0/python/lib/py4j-0.8.2.1-src.zip"/>...
 @ 5:178 in 
/private/tmp/zeppelin-release/zeppelin-0.7.3-bin-all/spark-dependencies/target/antrun/build-main.xml
    [ERROR] -> [Help 1]
    ```
    
    ### What type of PR is it?
    Bug Fix | Hot Fix
    
    ### What is the Jira issue?
    None, it is hot fix. Needs to be merged asap
    
    ### Questions:
    * Does the licenses files need update? no
    * Is there breaking changes for older versions? no
    * Does this needs documentation? no


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

    $ git pull https://github.com/minahlee/zeppelin hotfix/py4j.version

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

    https://github.com/apache/zeppelin/pull/2557.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 #2557
    
----
commit e7d09ce37bdc8fa543762d3e7b3db3cb412e5c29
Author: Mina Lee <[email protected]>
Date:   2017-09-01T09:36:04Z

    Correct spark.py4j.version to py4j.version for branch-0.7

----


---
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