This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new 7e9b9e2 Revert "HDFS-13287. TestINodeFile#testGetBlockType results in
NPE when run alone. Contributed by Virajith Jalaparti."
7e9b9e2 is described below
commit 7e9b9e2a2ee8e6c583b6a591fb36687dacf6bb5a
Author: Wei-Chiu Chuang <[email protected]>
AuthorDate: Wed Jun 19 06:55:08 2019 -0700
Revert "HDFS-13287. TestINodeFile#testGetBlockType results in NPE when run
alone. Contributed by Virajith Jalaparti."
This reverts commit 36dc0810bf8032e4741e27a8f2b00e64dbdaef2a.
---
.../test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
index 4674bd7..1392f9d 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestINodeFile.java
@@ -296,7 +296,6 @@ public class TestINodeFile {
preferredBlockSize = 128*1024*1024;
INodeFile inf = createINodeFile(replication, preferredBlockSize);
assertEquals(inf.getBlockType(), CONTIGUOUS);
- ErasureCodingPolicyManager.getInstance().init(new Configuration());
INodeFile striped = createStripedINodeFile(preferredBlockSize);
assertEquals(striped.getBlockType(), STRIPED);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]