Package org.apache.hadoop.hbase.io.asyncfs
package org.apache.hadoop.hbase.io.asyncfs
-
ClassDescriptionTestcase for HBASE-26679, here we introduce a separate test class and not put the testcase in
TestFanOutOneBlockAsyncDFSOutput
because we will send heartbeat to DN when there is no out going packet, the timeout is controlled byTestFanOutOneBlockAsyncDFSOutput.READ_TIMEOUT_MS
,which is 2 seconds, it will keep sending package out and DN will respond immedately and then mess up the testing handler added by us.Make sure lease renewal works.Used to confirm that it is OK to overwrite a file which is being written currently.