Commit 1c9cde5
committed
[SPARK-49402][PYTHON][FOLLOW-UP] Manually load ~/.profile in Spark Connect notebook
### What changes were proposed in this pull request?
This is a followup of apache#47883 that adds manual `source ~/.profile`.
### Why are the changes needed?
Ever since we switched to `Dockerfile`, none of `./profile`, `/.bashrc`, `./bash_profile`, etc seems working. There are a couple of related issues in Jupyter but I cannot figure it out.
This is the only cell it needs the environment variable so decided to simply work around.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manually tested.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes apache#47902 from HyukjinKwon/SPARK-49402-followup.
Authored-by: Hyukjin Kwon <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>1 parent 6d8235f commit 1c9cde5
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments