This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 5c5b47c5ad51 [SPARK-47160][K8S] Update K8s `Dockerfile` to include 
`hive-jackson` directory if exists
5c5b47c5ad51 is described below

commit 5c5b47c5ad51131fd92a5682140481361b023d51
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Sun Feb 25 23:21:49 2024 -0800

    [SPARK-47160][K8S] Update K8s `Dockerfile` to include `hive-jackson` 
directory if exists
    
    ### What changes were proposed in this pull request?
    
    This PR aims to update K8s `Dockerfile` to include `hive-jackson` jar 
directory if exists.
    
    ### Why are the changes needed?
    
    After SPARK-47152, we can have `hive-jackson` directory.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No, this is used by Spark internal by default.
    
    ### How was this patch tested?
    
    Pass the CIs and manual check.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #45251 from dongjoon-hyun/SPARK-47160.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .../kubernetes/docker/src/main/dockerfiles/spark/Dockerfile             | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile 
b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
index 25d7e076169b..421639cf2880 100644
--- a/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
+++ b/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile
@@ -42,6 +42,8 @@ RUN set -ex && \
     rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/*
 
 COPY jars /opt/spark/jars
+# Copy hive-jackson directory if exists
+COPY hive-jackso[n] /opt/spark/hive-jackson
 # Copy RELEASE file if exists
 COPY RELEAS[E] /opt/spark/RELEASE
 COPY bin /opt/spark/bin


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to