spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saisai Shao (JIRA)" <>
Subject [jira] [Commented] (SPARK-16342) Add a new Configurable Token Manager for Spark Running on YARN
Date Thu, 07 Jul 2016 02:16:11 GMT


Saisai Shao commented on SPARK-16342:

Thanks [~vanzin] for pointing out the jira, looks like most part of the ideas are similar.
I'm not sure what is your progress on it, I think it would be great to collaborate to make
that happen. Thanks a lot. 

> Add a new Configurable Token Manager  for Spark Running on YARN
> ---------------------------------------------------------------
>                 Key: SPARK-16342
>                 URL:
>             Project: Spark
>          Issue Type: New Feature
>          Components: YARN
>            Reporter: Saisai Shao
> Current Spark on YARN token management has some problems:
> 1. Supported service is hard-coded, only HDFS, Hive and HBase are supported for token
fetching. For other third-party services which need to be communicated with Spark in Kerberos
way, currently the only way is to modify Spark code.
> 2. Current token renewal and update mechanism is also hard-coded, which means other third-party
services cannot be benefited from this system and will be failed when token is expired.
> 3. Also In the code level, current token obtain and update codes are placed in several
different places without elegant structured, which makes it hard to maintain and extend.
> So here propose a new Configurable Token Manager class to solve the issues mentioned
> Basically this new proposal will have two changes:
> 1. Abstract a ServiceTokenProvider for different services, this is configurable and pluggable,
by default there will be hdfs, hbase, hive service, also user could add their own services
through configuration. This interface offers a way to retrieve the tokens and token renewal
> 2. Provide a ConfigurableTokenManager to manage all the added-in token providers, also
expose APIs for external modules to get and update tokens.
> Details are in the design doc (,
any suggestion and comment is greatly appreciated.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message