Github user SaintBacchus commented on the pull request:
https://github.com/apache/spark/pull/8867#issuecomment-142970395
@tgravescs I wrote a simple `DFSCliet` application to continuously write
string into hdfs and this can work over the configuration
`dfs.namenode.delegation.token.max-lifetime`.
So I open the DEBUG logging and find some regularities:
If using the **KERBEROS** to gain the authority of the `NameNode`, it can
work over the it.
> 15/09/24 19:53:38 DEBUG SaslRpcClient: Use **KERBEROS** authentication
for protocol ClientNamenodeProtocolPB
But if using **TOKEN**, the application may existed with *token expired
exception*.
> 15/09/24 19:53:58 DEBUG SaslRpcClient: Use **TOKEN** authentication for
protocol ClientNamenodeProtocolPB
Spark was using the *Token*.
One way to resolve this issue is that login with keytab again then the
mode of the `SaslRpcClient` will be changed into *KERBEROS*.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]