|
@@ -60,6 +60,15 @@ public class FsServerDefaults implements Writable {
|
|
public FsServerDefaults() {
|
|
public FsServerDefaults() {
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public FsServerDefaults(long blockSize, int bytesPerChecksum,
|
|
|
|
+ int writePacketSize, short replication, int fileBufferSize,
|
|
|
|
+ boolean encryptDataTransfer, long trashInterval,
|
|
|
|
+ DataChecksum.Type checksumType) {
|
|
|
|
+ this(blockSize, bytesPerChecksum, writePacketSize, replication,
|
|
|
|
+ fileBufferSize, encryptDataTransfer, trashInterval, checksumType,
|
|
|
|
+ null, (byte) 0);
|
|
|
|
+ }
|
|
|
|
+
|
|
public FsServerDefaults(long blockSize, int bytesPerChecksum,
|
|
public FsServerDefaults(long blockSize, int bytesPerChecksum,
|
|
int writePacketSize, short replication, int fileBufferSize,
|
|
int writePacketSize, short replication, int fileBufferSize,
|
|
boolean encryptDataTransfer, long trashInterval,
|
|
boolean encryptDataTransfer, long trashInterval,
|