You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by woowahan-jaehoon <gi...@git.apache.org> on 2018/02/09 00:45:17 UTC
[GitHub] zeppelin pull request #2780: [ZEPPELIN-3215] Fix to remove pid of interprete...
GitHub user woowahan-jaehoon opened a pull request:
https://github.com/apache/zeppelin/pull/2780
[ZEPPELIN-3215] Fix to remove pid of interpreter when interpreter shu…
### What is this PR for?
When user click 'restart interpreter', pid file about interpreter can be remained.
This PR is for fix this.
### What type of PR is it?
Bug Fix
### Todos
* [x] - Fix
### What is the Jira issue?
[ZEPPELIN-3215]
### How should this be tested?
After interpreter shuted down, pid file of interpreter could be removed.
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
* No
* Is there breaking changes for older versions?
* No
* Does this needs documentation?
* No
https://issues.apache.org/jira/browse/ZEPPELIN-3215
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/woowahan-jaehoon/zeppelin ZEPPELIN-3215
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/2780.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 #2780
----
commit 19742990af5f8f8b4533d6b735c3f2793c810e7a
Author: Jaehoon Jeong <ja...@...>
Date: 2018-02-08T08:45:46Z
[ZEPPELIN-3215] Fix to remove pid of interpreter when interpreter shutdowned normally
https://issues.apache.org/jira/browse/ZEPPELIN-3215
----
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by woowahan-jaehoon <gi...@git.apache.org>.
Github user woowahan-jaehoon commented on the issue:
https://github.com/apache/zeppelin/pull/2780
This is already rebased.
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the issue:
https://github.com/apache/zeppelin/pull/2780
Can you rebase this PR to pass CI?
---
[GitHub] zeppelin pull request #2780: [ZEPPELIN-3215] Fix to remove pid of interprete...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/zeppelin/pull/2780
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by zjffdu <gi...@git.apache.org>.
Github user zjffdu commented on the issue:
https://github.com/apache/zeppelin/pull/2780
@woowahan-jaehoon I don't understand how this PR fix the issue. interpreter.sh will be called when interpreter is launched, this PR seems to remove the pid of current new launched interpreter process
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by woowahan-jaehoon <gi...@git.apache.org>.
Github user woowahan-jaehoon commented on the issue:
https://github.com/apache/zeppelin/pull/2780
Is there any problem?
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by woowahan-jaehoon <gi...@git.apache.org>.
Github user woowahan-jaehoon commented on the issue:
https://github.com/apache/zeppelin/pull/2780
If interpreter run normally, `interpreter.sh` wait 259 line(```wait```) until shuting down interpreter.
After click 'restart interpreter', zeppelin send shutdown call to interpreter throght thrift.
Then, interpreter shutdown and then 261 line(```rm -f "${ZEPPELIN_PID}" > /dev/null 2> /dev/null```) is executed.
Before, pid file of interpreter is remained because zeppelin hasn't logic for remove pid file after shuting down interpreter.
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by woowahan-jaehoon <gi...@git.apache.org>.
Github user woowahan-jaehoon commented on the issue:
https://github.com/apache/zeppelin/pull/2780
The 1 case failed but after retry, completed.
https://travis-ci.org/woowahan-jaehoon/zeppelin/builds/399892045
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the issue:
https://github.com/apache/zeppelin/pull/2780
LGTM
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by woowahan-jaehoon <gi...@git.apache.org>.
Github user woowahan-jaehoon commented on the issue:
https://github.com/apache/zeppelin/pull/2780
Is this dead issue??
---
[GitHub] zeppelin issue #2780: [ZEPPELIN-3215] Fix to remove pid of interpreter when ...
Posted by mebelousov <gi...@git.apache.org>.
Github user mebelousov commented on the issue:
https://github.com/apache/zeppelin/pull/2780
@woowahan-jaehoon , thank you!
Can we remove `rm -f "${ZEPPELIN_PID}"` from "shutdown_hook"?
---