HADOOP-6778. add isRunning() method to AbstractDelegationTokenSecretManager (for HDFS-1044)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@947203 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
af3fef3463
commit
ec1a112a1d
@ -3,6 +3,9 @@ Hadoop Change Log
|
|||||||
Trunk (unreleased changes)
|
Trunk (unreleased changes)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
HADOOP-6778. add isRunning() method to
|
||||||
|
AbstractDelegationTokenSecretManager (for HDFS-1044) (boryas)
|
||||||
|
|
||||||
HADOOP-6633. normalize property names for JT/NN kerberos principal
|
HADOOP-6633. normalize property names for JT/NN kerberos principal
|
||||||
names in configuration (boryas)
|
names in configuration (boryas)
|
||||||
|
|
||||||
|
@ -335,6 +335,14 @@ public synchronized void stopThreads() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* is secretMgr running
|
||||||
|
* @return true if secret mgr is running
|
||||||
|
*/
|
||||||
|
public synchronized boolean isRunning() {
|
||||||
|
return running;
|
||||||
|
}
|
||||||
|
|
||||||
private class ExpiredTokenRemover extends Thread {
|
private class ExpiredTokenRemover extends Thread {
|
||||||
private long lastMasterKeyUpdate;
|
private long lastMasterKeyUpdate;
|
||||||
private long lastTokenCacheCleanup;
|
private long lastTokenCacheCleanup;
|
||||||
|
Loading…
Reference in New Issue
Block a user