GitHub user soralee opened a pull request:

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

    [ZEPPELIN-2154] Support zeppelin.server.port in dev mode (branch-0.7)

    ### What is this PR for?
    If user change `zeppelin.server.port` variable in zeppelin-site.xml, 
zeppelin doesn't work in web development on `branch-0.7`
    #2097 PR which is same issue on master branch was already merged to master 
branch. 
    
    ### What type of PR is it?
    [Bug Fix | Improvement | Documentation (README.md)]
    
    ### What is the Jira issue?
    * [ZEPPELIN-2154](https://issues.apache.org/jira/browse/ZEPPELIN-2154)
    
    ### How should this be tested?
    1. Change `zeppelin.server.port` from 8080 to 8888 (or another port) in 
`zeppelin-site.xml`
    2. Run zeppelin (`bin/zeppelin-daemon.sh start`)
    3. Run web development mode under zeppelin-web folder such like 
`SERVER_PORT=8888 yarn run dev`
    4. Connect localhost:9000
    
    
    ### Screenshots (if appropriate)
    **[Before]**
    
![image](https://cloud.githubusercontent.com/assets/8110458/23829990/b3b7f436-0742-11e7-8bbe-c14245c42003.png)
    
    
    **[After]**
    ![z_0 
7_server_port_cmd](https://cloud.githubusercontent.com/assets/8110458/23829958/f9b9be84-0741-11e7-9db8-af4e2952b989.png)
    ![z_0 
7_server_port_after](https://cloud.githubusercontent.com/assets/8110458/23829960/fc3fe4a8-0741-11e7-8d63-2bccf07055a1.png)
    
    
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does thi`sneeds documentation? Yes, `README.md`


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

    $ git pull https://github.com/soralee/zeppelin ZEPPELIN-2154_0.7_server_port

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

    https://github.com/apache/zeppelin/pull/2124.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 #2124
    
----
commit e10f7d6437682388bfc2016524e026e51cc21a1b
Author: soralee <sora0...@zepl.com>
Date:   2017-03-12T07:24:12Z

    [ZEPPELIN-2154] Support zeppelin.server.port in dev mode (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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to