Class HadoopLogCloser

    • Constructor Detail

      • HadoopLogCloser

        public HadoopLogCloser()
    • 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 interface LogCloser
        Parameters:
        conf - AccumuloConfiguration
        hadoopConf - Hadoop configuration
        fs - VolumeManager
        source - WALog file path
        Returns:
        amount of time to wait before retrying, 0 if succeeded
        Throws:
        IOException - exception closing walog