HADOOP-11802. Fix renamed constant in test file in backport to 2.7.1 (cmccabe)

This commit is contained in:
Colin Patrick Mccabe 2015-04-23 19:16:10 -07:00
parent 496afb5e1a
commit c2e6d2589a
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ public class TestShortCircuitCache {
TemporarySocketDirectory sockDir = new TemporarySocketDirectory();
Configuration conf = createShortCircuitConf(
"testDataXceiverHandlesRequestShortCircuitShmFailure", sockDir);
conf.setLong(HdfsClientConfigKeys.Read.ShortCircuit.STREAMS_CACHE_EXPIRY_MS_KEY,
conf.setLong(DFS_CLIENT_READ_SHORTCIRCUIT_STREAMS_CACHE_EXPIRY_MS_KEY,
1000000000L);
MiniDFSCluster cluster =
new MiniDFSCluster.Builder(conf).numDataNodes(1).build();