File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 176
176
import java .util .concurrent .ExecutorService ;
177
177
import java .util .concurrent .Executors ;
178
178
import java .util .concurrent .TimeUnit ;
179
- import java .util .concurrent .locks .Condition ;
180
179
import java .util .concurrent .locks .ReentrantLock ;
181
180
import java .util .concurrent .locks .ReentrantReadWriteLock ;
182
181
import java .util .function .Supplier ;
@@ -662,7 +661,6 @@ private boolean isFromProxyUser(CallerContext ctx) {
662
661
private KeyProviderCryptoExtension provider = null ;
663
662
664
663
private volatile boolean imageLoaded = false ;
665
- private final Condition cond ;
666
664
667
665
private final FSImage fsImage ;
668
666
@@ -704,7 +702,6 @@ void setImageLoaded() {
704
702
try {
705
703
setImageLoaded (true );
706
704
dir .markNameCacheInitialized ();
707
- cond .signalAll ();
708
705
} finally {
709
706
writeUnlock ("setImageLoaded" );
710
707
}
@@ -875,7 +872,6 @@ static FSNamesystem loadFromDisk(Configuration conf) throws IOException {
875
872
conf .get (HADOOP_CALLER_CONTEXT_SEPARATOR_KEY ,
876
873
HADOOP_CALLER_CONTEXT_SEPARATOR_DEFAULT );
877
874
fsLock = new FSNamesystemLock (conf , detailedLockHoldTimeMetrics );
878
- cond = fsLock .newWriteLockCondition ();
879
875
cpLock = new ReentrantLock ();
880
876
881
877
this .fsImage = fsImage ;
You can’t perform that action at this time.
0 commit comments