Skip to content

Commit fdcebcb

Browse files
committed
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
1 parent 223a5a8 commit fdcebcb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ Hadoop Change Log
33
Trunk (unreleased changes)
44

55
IMPROVEMENTS
6+
HADOOP-6778. add isRunning() method to
7+
AbstractDelegationTokenSecretManager (for HDFS-1044) (boryas)
8+
69
HADOOP-6633. normalize property names for JT/NN kerberos principal
710
names in configuration (boryas)
811

src/java/org/apache/hadoop/security/token/delegation/AbstractDelegationTokenSecretManager.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,14 @@ public synchronized void stopThreads() {
335335
}
336336
}
337337

338+
/**
339+
* is secretMgr running
340+
* @return true if secret mgr is running
341+
*/
342+
public synchronized boolean isRunning() {
343+
return running;
344+
}
345+
338346
private class ExpiredTokenRemover extends Thread {
339347
private long lastMasterKeyUpdate;
340348
private long lastTokenCacheCleanup;

0 commit comments

Comments
 (0)