This is an automated email from the ASF dual-hosted git repository.
chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 412cd93d0 [KYUUBI #6175] [MINOR] Refactor copy path about SPARK_HOME
in docker
412cd93d0 is described below
commit 412cd93d052a69573f320aac5be9e8f7f5f7ec32
Author: yanghua <[email protected]>
AuthorDate: Wed Mar 13 11:16:44 2024 +0800
[KYUUBI #6175] [MINOR] Refactor copy path about SPARK_HOME in docker
# :mag: Description
## Issue References ๐
This pull request fixes #
## Describe Your Solution ๐ง
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that are
required for this change.
## Types of changes :bookmark:
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
## Test Plan ๐งช
#### Behavior Without This Pull Request :coffin:
#### Behavior With This Pull Request :tada:
#### Related Unit Tests
---
# Checklist ๐
- [ ] This patch was not authored or co-authored using [Generative
Tooling](https://www.apache.org/legal/generative-tooling.html)
**Be nice. Be informative.**
Closes #6175 from yanghua/docker-minor-refactor.
Closes #6175
e5c26364b [yanghua] Refactor copy path about SPARK_HOME in docker
Authored-by: yanghua <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
---
bin/docker-image-tool.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/docker-image-tool.sh b/bin/docker-image-tool.sh
index 2412f39c7..2e8e356b7 100755
--- a/bin/docker-image-tool.sh
+++ b/bin/docker-image-tool.sh
@@ -110,7 +110,7 @@ function build {
error "Cannot found dir SPARK_HOME $SPARK_HOME, you must configure
SPARK_HOME correct."
fi
fi
- cp -r "$SPARK_HOME/." "$KYUUBI_ROOT/spark-binary/"
+ cp -r "$SPARK_HOME"/* "$KYUUBI_ROOT"/spark-binary/
fi
# Verify that the Docker image content directory is present