hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSTokenRenewer.java
protected KeyProvider createKeyProvider(Token<?> token,
      Configuration conf) throws IOException {
    return KMSUtil
        .createKeyProviderFromTokenService(conf, token.getService().toString());
  }
/**
   * Create a key provider for token renewal / cancellation.
   * Caller is responsible for closing the key provider.
   */
Create a key provider for token renewal / cancellation.
Caller is responsible for closing the key provider.
Create a key provider for token renewal / cancellation . Caller is responsible for closing the key provider .
protected KeyProvider createKeyProvider(Token<?> token,
      Configuration conf) throws IOException {
    return KMSUtil
        .createKeyProviderFromTokenService(conf, token.getService().toString());
  }
protected KeyProvider createKeyProvider ( Token < ? > token , Configuration conf ) throws IOException { return KMSUtil . createKeyProviderFromTokenService ( conf , token . getService ( ) . toString ( ) ) ; }
Create a key provider for token renewal / cancellation.
Create a key provider for token renewal / cancellation .