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

Gabor Somogyi commented on SPARK-25355:
---------------------------------------

I've answered this question in the community but I would copy it here to track 
it in the jira:

Please be aware that ConnectionRefused exception has nothing to do w/ 
authentication. See the description from Hadoop wiki:
"You get a ConnectionRefused Exception when there is a machine at the address 
specified, but there is no program listening on the specific TCP port the 
client is using -and there is no firewall in the way silently dropping TCP 
connection requests. If you do not know what a TCP connection request is, 
please consult the specification."

This means the namenode on host:port is not reachable in the TCP layer. Maybe 
there are multiple issues but I'm pretty sure that something is wrong in the 
K8S net config.


> Support --proxy-user for Spark on K8s
> -------------------------------------
>
>                 Key: SPARK-25355
>                 URL: https://issues.apache.org/jira/browse/SPARK-25355
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Kubernetes, Spark Core
>    Affects Versions: 3.1.0
>            Reporter: Stavros Kontopoulos
>            Assignee: Pedro Rossi
>            Priority: Major
>             Fix For: 3.1.0
>
>
> SPARK-23257 adds kerberized hdfs support for Spark on K8s. A major addition 
> needed is the support for proxy user. A proxy user is impersonated by a 
> superuser who executes operations on behalf of the proxy user. More on this: 
> [https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Superusers.html]
> [https://github.com/spark-notebook/spark-notebook/blob/master/docs/proxyuser_impersonation.md]
> This has been implemented for Yarn upstream and Spark on Mesos here:
> [https://github.com/mesosphere/spark/pull/26]
> [~ifilonenko] creating this issue according to our discussion.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to