org.apache.hadoop.mapreduce.security.TokenCache#getEncryptedSpillKey ( )源码实例Demo

下面列出了org.apache.hadoop.mapreduce.security.TokenCache#getEncryptedSpillKey ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: hadoop   文件: CryptoUtils.java
private static byte[] getEncryptionKey() throws IOException {
  return TokenCache.getEncryptedSpillKey(UserGroupInformation.getCurrentUser()
          .getCredentials());
}
 
源代码2 项目: big-c   文件: CryptoUtils.java
private static byte[] getEncryptionKey() throws IOException {
  return TokenCache.getEncryptedSpillKey(UserGroupInformation.getCurrentUser()
          .getCredentials());
}