private FileLock(FileSystem fs, Path lockFile, FSDataOutputStream lockFileStream, String spoutId) throws IOException { this.fs = fs; this.lockFile = lockFile; this.lockFileStream = lockFileStream; this.componentID = spoutId; logProgress("0", false); }
public void heartbeat(String fileOffset) throws IOException { logProgress(fileOffset, true); }
private FileLock(FileSystem fs, Path lockFile, String spoutId, LogEntry entry) throws IOException { this.fs = fs; this.lockFile = lockFile; this.lockFileStream = fs.append(lockFile); this.componentID = spoutId; LOG.info("Acquired abandoned lockFile {}, Spout {}", lockFile, spoutId); logProgress(entry.fileOffset, true); }
private FileLock(FileSystem fs, Path lockFile, FSDataOutputStream lockFileStream, String spoutId) throws IOException { this.fs = fs; this.lockFile = lockFile; this.lockFileStream = lockFileStream; this.componentID = spoutId; logProgress("0", false); }
public void heartbeat(String fileOffset) throws IOException { logProgress(fileOffset, true); }
private FileLock(FileSystem fs, Path lockFile, String spoutId, LogEntry entry) throws IOException { this.fs = fs; this.lockFile = lockFile; this.lockFileStream = fs.append(lockFile); this.componentID = spoutId; LOG.info("Acquired abandoned lockFile {}, Spout {}", lockFile, spoutId); logProgress(entry.fileOffset, true); }