Commit 71d1305
[ZEPPELIN-2841] fix a problem in shell interpreter . Working directory '.' can not be found in docker environment
### What is this PR for?
shell interpreter complained that working directory '.' can not be found in docker environment.
I add a line of code to set current working directory to USER`s home, and it works.
### What type of PR is it?
Bug Fix
### Todos
* tests
### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2841
### How should this be tested?
run shell interpreter`s test units
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update?
No
* Is there breaking changes for older versions?
No
* Does this needs documentation?
No
Author: Shu Jiaming <[email protected]>
Author: 束佳明 <[email protected]>
Closes apache#2521 from vistep/master and squashes the following commits:
34a0049 [Shu Jiaming] ZEPPELIN-2841 fix a bug where shell interpreter complained that working directory '.' can not be found while zeppelin was running in docker enviroment.
d02104a [束佳明] Merge pull request #1 from apache/master1 parent 7f2f67b commit 71d1305
File tree
1 file changed
+2
-0
lines changed- shell/src/main/java/org/apache/zeppelin/shell
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
0 commit comments