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:34:42 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8.2 12e35f4ef -> c93e81f8e


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

(cherry picked from commit 41480233a9cfb0bcfb69cc0f1594120e7656f031)
(cherry picked from commit 7dd5bb949206fb635d875cd651292b451267a951)
(cherry picked from commit f9ebcebe74201b1c3997269927dfade50d89a201)


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

Branch: refs/heads/branch-2.8.2
Commit: c93e81f8ebb6a674d90ef5dd213f3b56bd4a2ad8
Parents: 12e35f4
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:35: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/c93e81f8/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