Extract Method	private spyOnStream(jas JournalAndStream) : EditLogFileOutputStream extracted from private invalidateEditsDirAtIndex(index int, failOnFlush boolean, failOnWrite boolean) : EditLogOutputStream in class org.apache.hadoop.hdfs.server.namenode.TestEditLogJournalFailures