hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From junping...@apache.org
Subject hadoop git commit: HADOOP-14814. Fix incompatible API change on FsServerDefaults to HADOOP-14104. Contributed by Junping Du.
Date Wed, 30 Aug 2017 20:30:50 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 858715d05 -> 7dd5bb949


HADOOP-14814. Fix incompatible API change on FsServerDefaults to HADOOP-14104. Contributed
by Junping Du.

(cherry picked from commit 41480233a9cfb0bcfb69cc0f1594120e7656f031)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/7dd5bb94
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/7dd5bb94
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/7dd5bb94

Branch: refs/heads/branch-2
Commit: 7dd5bb949206fb635d875cd651292b451267a951
Parents: 858715d
Author: Junping Du <junping_du@apache.org>
Authored: Wed Aug 30 13:30:14 2017 -0700
Committer: Junping Du <junping_du@apache.org>
Committed: Wed Aug 30 13:30:48 2017 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/fs/FsServerDefaults.java    | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/7dd5bb94/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FsServerDefaults.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FsServerDefaults.java
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FsServerDefaults.java
index 9933e5d..6f82932 100644
--- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FsServerDefaults.java
+++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FsServerDefaults.java
@@ -63,6 +63,15 @@ public class FsServerDefaults implements Writable {
   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,
+      int writePacketSize, short replication, int fileBufferSize,
+      boolean encryptDataTransfer, long trashInterval,
       DataChecksum.Type checksumType, String keyProviderUri) {
     this(blockSize, bytesPerChecksum, writePacketSize, replication,
         fileBufferSize, encryptDataTransfer, trashInterval, checksumType,


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message