Class HadoopLogCloser
- java.lang.Object
-
- org.apache.accumulo.server.manager.recovery.HadoopLogCloser
-
- All Implemented Interfaces:
LogCloser
- Direct Known Subclasses:
HadoopLogCloser
public class HadoopLogCloser extends Object implements LogCloser
-
-
Constructor Summary
Constructors Constructor Description HadoopLogCloser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
close(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:LogCloser
Attempts to properly close a WALog- Specified by:
close
in 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
-
-