Class HadoopLogCloser
- java.lang.Object
-
- org.apache.accumulo.server.manager.recovery.HadoopLogCloser
-
-
Constructor Summary
Constructors Constructor Description HadoopLogCloser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longclose(AccumuloConfiguration conf, org.apache.hadoop.conf.Configuration hadoopConf, VolumeManager fs, org.apache.hadoop.fs.Path source)Attempts to properly close a WALog
-
-
-
Method Detail
-
close
public long close(AccumuloConfiguration conf, org.apache.hadoop.conf.Configuration hadoopConf, VolumeManager fs, org.apache.hadoop.fs.Path source) throws IOException
Description copied from interface:LogCloserAttempts to properly close a WALog- Specified by:
closein interfaceLogCloser- Parameters:
conf- AccumuloConfigurationhadoopConf- Hadoop configurationfs- VolumeManagersource- WALog file path- Returns:
- amount of time to wait before retrying, 0 if succeeded
- Throws:
IOException- exception closing walog
-
-