GitHub user zhongneu opened a pull request: https://github.com/apache/incubator-zeppelin/pull/749
Remove duplicated java option concats in common.sh ### What is this PR for? There are some java option concats in common.sh, which are executed twice when start an interpreter. This makes some of the options invalid, such as remote debugging options ### What type of PR is it? Bug Fix ### Todos ### Is there a relevant Jira issue? [ZEPPELIN-686](https://issues.apache.org/jira/browse/ZEPPELIN-686) ### How should this be tested? Set remote debug options: ``` export ZEPPELIN_INTP_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=n ``` Start the Zeppelin daemon, then create & run a job to trigger starting an interpreter. The job should fail without the fix. ### Screenshots (if appropriate) ### 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/zhongneu/incubator-zeppelin fix-duplicated-java-opts Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-zeppelin/pull/749.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 #749 ---- commit 75959ea259b633e568dc84a95f802f26cbf10be2 Author: Zhong Wang <wangzhong....@gmail.com> Date: 2016-02-26T06:48:39Z remove unneccessary concats in common.sh ---- --- 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. ---