private static SequenceFile.Writer.Option getOutputPath(final Configuration conf, final RegionInfo info, final ExportProtos.ExportRequest request) throws IOException { Path file = new Path(request.getOutputPath(), "export-" + info.getEncodedName()); FileSystem fs = file.getFileSystem(conf); if (fs.exists(file)) { throw new IOException(file + " exists"); } return SequenceFile.Writer.file(file); }
hash = (53 * hash) + getOutputPath().hashCode();
result = result && getOutputPath() .equals(other.getOutputPath());
result = result && getOutputPath() .equals(other.getOutputPath());
result = result && getOutputPath() .equals(other.getOutputPath());
hash = (53 * hash) + getOutputPath().hashCode();
hash = (53 * hash) + getOutputPath().hashCode();
/** * <code>required string outputPath = 2;</code> */ public Builder clearOutputPath() { bitField0_ = (bitField0_ & ~0x00000002); outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /**
private static SequenceFile.Writer.Option getOutputPath(final Configuration conf, final RegionInfo info, final ExportProtos.ExportRequest request) throws IOException { Path file = new Path(request.getOutputPath(), "export-" + info.getEncodedName()); FileSystem fs = file.getFileSystem(conf); if (fs.exists(file)) { throw new IOException(file + " exists"); } return SequenceFile.Writer.file(file); }
private static SequenceFile.Writer.Option getOutputPath(final Configuration conf, final RegionInfo info, final ExportProtos.ExportRequest request) throws IOException { Path file = new Path(request.getOutputPath(), "export-" + info.getEncodedName()); FileSystem fs = file.getFileSystem(conf); if (fs.exists(file)) { throw new IOException(file + " exists"); } return SequenceFile.Writer.file(file); }
/** * <code>required string outputPath = 2;</code> */ public Builder clearOutputPath() { bitField0_ = (bitField0_ & ~0x00000002); outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /**
/** * <code>required string outputPath = 2;</code> */ public Builder clearOutputPath() { bitField0_ = (bitField0_ & ~0x00000002); outputPath_ = getDefaultInstance().getOutputPath(); onChanged(); return this; } /**