spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Hughes (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-34315) docker-image-tool.sh debconf trying to configure kerberos
Date Mon, 01 Feb 2021 21:46:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-34315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276680#comment-17276680
] 

Tim Hughes commented on SPARK-34315:
------------------------------------

[https://github.com/apache/spark/blob/master/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile#L34]

 

Prefixing the line that installs krb5-user with `DEBIAN_FRONTEND=noninteractive` allows the
container to be built.

 

 

 

> docker-image-tool.sh debconf trying to configure kerberos
> ---------------------------------------------------------
>
>                 Key: SPARK-34315
>                 URL: https://issues.apache.org/jira/browse/SPARK-34315
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 3.0.1
>            Reporter: Tim Hughes
>            Priority: Critical
>         Attachments: full-logs.txt
>
>
> When building the docker containers using the docker-image-tool.sh there is RUN `apt
install -y bash tini libc6 libpam-modules krb5-user libnss3`  Which leads to `debconf` trying
to configure kerberos. I have tried putting nothing, EXAMPLE.COM, my corporate kerberos realm
and none of them work. it just hangs after enter is pressed
>  
> {{Setting up krb5-config (2.6) ...}}
> {{debconf: unable to initialize frontend: Dialog}}
> {{debconf: (TERM is not set, so the dialog frontend is not usable.)}}
> {{debconf: falling back to frontend: Readline}}
> {{debconf: unable to initialize frontend: Readline}}
> {{debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine
module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1
/usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28
/usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm
line 7.)}}
> {{debconf: falling back to frontend: Teletype}}
> {{Configuring Kerberos Authentication}}
> {{-----------------------------------}}
> {{When users attempt to use Kerberos and specify a principal or user name without}}
> {{specifying what administrative Kerberos realm that principal belongs to, the}}
> {{system appends the default realm. The default realm may also be used as the}}
> {{realm of a Kerberos service running on the local machine. Often, the default}}
> {{realm is the uppercase version of the local DNS domain.}}
> {{Default Kerberos version 5 realm: EXAMPLE.ORG}}
> {{^CFailed to build Spark JVM Docker image, please refer to Docker build output for details.}}
>  
>  
> {{## Steps to reproduce}}
> {{```}}
> {{wget -qO- https://www.mirrorservice.org/sites/ftp.apache.org/spark/spark-3.0.1/spark-3.0.1-bin-hadoop3.2.tgz
| tar -xzf -}}
> {{cd spark-3.0.1-bin-hadoop3.2/}}
> {{./bin/docker-image-tool.sh build}}
> {{```}}
>  
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message