下面列出了org.apache.hadoop.mapreduce.security.TokenCache#getEncryptedSpillKey ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
private static byte[] getEncryptionKey() throws IOException {
return TokenCache.getEncryptedSpillKey(UserGroupInformation.getCurrentUser()
.getCredentials());
}
private static byte[] getEncryptionKey() throws IOException {
return TokenCache.getEncryptedSpillKey(UserGroupInformation.getCurrentUser()
.getCredentials());
}