HDFS-13481. TestRollingFileSystemSinkWithHdfs#testFlushThread: test failed intermittently

(Contributed by Gabor Bota via Daniel Templeton)

Change-Id: I9921981dfa69669fe7912dd2a31ae8b638283204
This commit is contained in:
Daniel Templeton 2018-05-02 16:54:42 -07:00
parent f4d280f02b
commit 87c23ef643

View File

@ -182,7 +182,8 @@ protected MetricsSystem initMetricsSystem(String path, boolean ignoreErrors,
.add(prefix + ".sink.mysink0.ignore-error", ignoreErrors)
.add(prefix + ".sink.mysink0.allow-append", allowAppend)
.add(prefix + ".sink.mysink0.roll-offset-interval-millis", 0)
.add(prefix + ".sink.mysink0.roll-interval", "1h");
.add(prefix + ".sink.mysink0.roll-interval", "1h")
.add("*.queue.capacity", 2);
if (useSecureParams) {
builder.add(prefix + ".sink.mysink0.keytab-key", SINK_KEYTAB_FILE_KEY)