You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/07/12 06:00:00 UTC

[jira] [Updated] (SPARK-28347) Error loading glibc library when generatting data on HDFS in K8S

     [ https://issues.apache.org/jira/browse/SPARK-28347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-28347:
----------------------------------
    Affects Version/s:     (was: 3.0.0)

> Error loading glibc library when generatting data on HDFS in K8S
> ----------------------------------------------------------------
>
>                 Key: SPARK-28347
>                 URL: https://issues.apache.org/jira/browse/SPARK-28347
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 2.4.3
>            Reporter: Jiajia Li
>            Priority: Major
>
> I want to run TPC-DS in K8S, when generating data on HDFS, with following error: 
>  
> {code:java}
> ERROR Utils: Aborting task
> java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.7-91d7ec9a-6e2d-47af-90ae-84c00d143b6d-libsnappyjava.so: Error loading shared library ld-linux-x86-64.so.2: No such file or directory
> {code}
>  
> Looking into the executor pod, ld-linux-x86-64.so.2 is existed in /lib64 but not in /lib :
>  
> {code:java}
> # ls -al /lib/ld*
> -rwxr-xr-x 1 root root 584304 Mar 19 09:56 /lib/ld-musl-x86_64.so.1
> # ls -al /lib64/ld* lrwxrwxrwx 1 root root 26 Jul 2 09:05 /lib64/ld-linux-x86-64.so.2 -> /lib/libc.musl-x86_64.so.1
> {code}
> After adding the gcompat in Dockerfile,  ld-linux-x86-64.so.2 exists in both lib and lib64 folders and no more error:
> {code:java}
> ls -al /lib/ld*
> -rwxr-xr-x 1 root root 18512 Dec 24 2018 /lib/ld-linux-x86-64.so.2
> -rwxr-xr-x 1 root root 584304 Mar 19 09:56 /lib/ld-musl-x86_64.so.1
> ls -al /lib64/ld*
> lrwxrwxrwx 1 root root 26 Jul 11 02:06 /lib64/ld-linux-x86-64.so.2 -> /lib/libc.musl-x86_64.so.1
> {code}
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org