HDFS-2714. Fix test cases which use standalone FSNamesystems. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1623@1225708 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f216303598
commit
15ebdd5664
@ -75,3 +75,5 @@ HDFS-2682. When a FailoverProxyProvider is used, Client should not retry for 45
|
||||
HDFS-2693. Fix synchronization issues around state transition (todd)
|
||||
|
||||
HDFS-1972. Fencing mechanism for block invalidations and replications (todd)
|
||||
|
||||
HDFS-2714. Fix test cases which use standalone FSNamesystems (todd)
|
||||
|
@ -579,7 +579,10 @@ void stopStandbyServices() throws IOException {
|
||||
|
||||
|
||||
void checkOperation(OperationCategory op) throws StandbyException {
|
||||
haContext.checkOperation(op);
|
||||
if (haContext != null) {
|
||||
// null in some unit tests
|
||||
haContext.checkOperation(op);
|
||||
}
|
||||
}
|
||||
|
||||
public static Collection<URI> getNamespaceDirs(Configuration conf) {
|
||||
|
@ -375,6 +375,7 @@ public void run() {
|
||||
true);
|
||||
LOG.info("mkdirs complete");
|
||||
} catch (Throwable ioe) {
|
||||
LOG.fatal("Got exception", ioe);
|
||||
deferredException.set(ioe);
|
||||
waitToEnterFlush.countDown();
|
||||
}
|
||||
@ -469,6 +470,7 @@ public void run() {
|
||||
true);
|
||||
LOG.info("mkdirs complete");
|
||||
} catch (Throwable ioe) {
|
||||
LOG.fatal("Got exception", ioe);
|
||||
deferredException.set(ioe);
|
||||
waitToEnterSync.countDown();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user