GitHub user soralee reopened a pull request:

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

    [MINOR][ZEPPELIN-2154] Enable work in the web dev mode if changing default 
server port

    ### What is this PR for?
    If user change `zeppelin.server.port` variable in zeppelin-site.xml, 
zeppelin doesn't work in web development. 
    In order for user to run zeppelin correctly, so that user can add 
`SERVER_PORT` as an environment variable when running web application 
development mode.
    
    ### What type of PR is it?
    [Bug Fix | Improvement | Documentation]
    
    ### 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]
    
![z_2130_before](https://cloud.githubusercontent.com/assets/8110458/23586226/37f38252-01d4-11e7-8261-37e4e17c7eaf.gif)
    
    [After]
    
![z_2130_after](https://cloud.githubusercontent.com/assets/8110458/23586227/3aa4422a-01d4-11e7-8cd0-c0644e315131.gif)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? Yes, added in README.md


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

    $ git pull https://github.com/soralee/zeppelin ZEPPELIN-2154_port_webDevMode

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

    https://github.com/apache/zeppelin/pull/2097.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 #2097
    
----
commit bf22961661e4c90313772f33ca895a96231df0c3
Author: soralee <sora0...@zepl.com>
Date:   2017-03-05T09:08:30Z

    enable custom server port in web dev mode

commit 394d3bb203f5c51aa2bdcf30c4e54429725a4ec4
Author: soralee <sora0...@zepl.com>
Date:   2017-03-05T10:11:12Z

    add README.md

commit 6b26cba583eac63afe7f0c7900ca5d541834ee0e
Author: soralee <sora0...@zepl.com>
Date:   2017-03-05T10:21:03Z

    add README.md

commit e6d1801edfbf9d149b40e0555b5c31b367f59b01
Author: soralee <sora0...@zepl.com>
Date:   2017-03-05T10:23:29Z

    modify typo

----


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