Ayush Saxena
b182dd809c
HDFS-15111. stopStandbyServices() should log which service state it is transitioning from. Contributed by Xieming Li.
2020-02-27 04:02:55 +05:30
Stephen O'Donnell
2377649cdb
HDFS-14861. Reset LowRedundancyBlocks Iterator periodically. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 900430b990
)
2020-02-25 13:29:03 -08:00
Wei-Chiu Chuang
f9437b1817
HDFS-15174. Optimize ReplicaCachingGetSpaceUsed by reducing unnecessary io operations. Contributed by Lisheng Sun.
...
(cherry picked from commit cb4daeaad95470125c59ccb80b988261ae83d534)
2020-02-24 13:37:48 -08:00
Ayush Saxena
af46658baf
HDFS-15166. Remove redundant field fStream in ByteStringLog. Contributed by Xieming Li.
2020-02-24 20:17:31 +05:30
Konstantin V Shvachko
769397201a
HDFS-15185. StartupProgress reports edits segments until the entire startup completes. Contributed by Konstantin V Shvachko.
...
(cherry picked from commit 6f84269bcd
)
2020-02-21 10:54:20 -08:00
Masatake Iwasaki
610805ec72
HDFS-15052. WebHDFS getTrashRoot leads to OOM due to FileSystem object creation. ( #1758 )
...
(cherry picked from commit 2338d25dc7
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
2020-02-21 13:40:11 +09:00
xiaoxiaopan118
b5321f1600
HDFS-15173. RBF: Delete repeated configuration 'dfs.federation.router.metrics.enable' ( #1849 )
...
(cherry picked from commit 439d935e1d
)
2020-02-17 15:57:15 +09:00
Ayush Saxena
9a351e837f
HDFS-15164. Fix TestDelegationTokensWithHA. Contributed by Ayush Saxena.
2020-02-14 22:15:12 +05:30
Surendra Singh Lilhore
e13ea1b094
HDFS-15086. Block scheduled counter never get decremet if the block got deleted before replication. Contributed by hemanthboyina.
2020-02-13 22:52:50 +05:30
Ayush Saxena
9a1ce410f6
HDFS-15161. When evictableMmapped or evictable size is zero, do not throw NoSuchElementException in ShortCircuitCache#close(). Contributed by Lisheng Sun
2020-02-12 20:29:09 +05:30
Kihwal Lee
f1840669cf
HDFS-14758. Make lease hard limit configurable and reduce the default.
...
Contributed by hemanthboyina.
(cherry picked from commit 9b8a78d97b
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/DfsClientConf.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/LeaseManager.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileAppend4.java
2020-02-11 14:50:10 -06:00
Ayush Saxena
7be104a9be
HDFS-15115. Namenode crash caused by NPE in BlockPlacementPolicyDefault when dynamically change logger to debug. Contributed by wangzhixiang
2020-02-08 10:41:15 +05:30
Chen Liang
226cd3977b
HDFS-15148. dfs.namenode.send.qop.enabled should not apply to primary NN port. Contributed by Chen Liang.
2020-02-04 12:34:19 -08:00
Kihwal Lee
5257afb153
HDFS-12491. Support wildcard in CLASSPATH for libhdfs. Contributed by Muhammad Samir Khan.
...
(cherry picked from commit 10a60fbe20
)
2020-02-04 12:24:12 -06:00
Stephen O'Donnell
e89436b183
HDFS-7175. Client-side SocketTimeoutException during Fsck. Contributed by Stephen O'Donnell, Akira Ajisaka.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Co-authored-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 1e3a0b0d93
)
2020-01-31 16:13:42 -08:00
Inigo Goiri
2c8c6e8e22
HDFS-13179. TestLazyPersistReplicaRecovery#testDnRestartWithSavedReplicas fails intermittently. Contributed by Ahmed Hussein.
...
(cherry picked from commit 1839c467f6
)
2020-01-31 11:24:37 -08:00
Kihwal Lee
7034482222
HDFS-15146. TestBalancerRPCDelay.testBalancerRPCDelay fails
...
intermittently. Contributed by Ahmed Hussein.
(cherry picked from commit 799d4c1cf4
)
2020-01-29 11:01:12 -06:00
Chen Liang
9813ba2ebc
[SBN Read] Slow clients when Observer reads are enabled but there are no Observers on the cluster. Contributed by Chen Liang
2020-01-28 16:36:27 -08:00
Ayush Saxena
8a1b02f44c
HDFS-14993. checkDiskError doesn't work during datanode startup. Contributed by Yang Yun.
2020-01-28 23:12:44 +05:30
Kihwal Lee
1bb9667137
HDFS-15119. Allow expiration of cached locations in DFSInputStream.
...
Contributed by Ahmed Hussein.
(cherry picked from commit d10f77e3c9
)
2020-01-24 09:21:09 -06:00
Kihwal Lee
4842708320
HDFS-14968. Add ability to log stale datanodes. Contributed by Ahmed Hussein.
...
(cherry picked from commit bd03053ea2
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/HeartbeatManager.java
2020-01-22 09:26:47 -06:00
Akira Ajisaka
d4f75e2798
HADOOP-16808. Use forkCount and reuseForks parameters instead of forkMode in the config of maven surefire plugin. Contributed by Xieming Li.
...
(cherry picked from commit f6d20daf40
)
2020-01-21 18:03:56 +09:00
Wei-Chiu Chuang
aa3c96474f
HDFS-15097. Purge log in KMS and HttpFS. Contributed by Doris Gu.
...
(cherry picked from commit 6b86a5110e
)
2020-01-13 10:49:26 -08:00
Ayush Saxena
d3c4c8be6a
HDFS-14578. AvailableSpaceBlockPlacementPolicy always prefers local node. Contributed by Ayush Saxena.
2020-01-11 10:34:01 +05:30
Chen Liang
1ee90d6731
HDFS-15099. [SBN Read] checkOperation(WRITE) should throw ObserverRetryOnActiveException for ObserverNode. Contributed by Chen Liang.
...
(cherry picked from commit 26a969ec73
)
2020-01-10 17:17:11 -08:00
Kihwal Lee
59260a0e0e
HDFS-15095. Fix TestDecommissioningStatus. Contributed by Ahmed Hussein.
...
(cherry picked from commit 5fb901ac40
)
2020-01-10 12:46:49 -06:00
Surendra Singh Lilhore
6304f94bc0
HDFS-14957. INodeReference Space Consumed was not same in QuotaUsage and ContentSummary. Contributed by hemanthboyina.
2020-01-09 12:07:23 +05:30
Rakesh Radhakrishnan
d7f9a90e2c
HDFS-15080. Fix the issue in reading persistent memory cached data with an offset. Contributed by Feilong He.
...
(cherry picked from commit 7030722e5d
)
2020-01-08 14:29:05 +05:30
Masatake Iwasaki
3e17b471b6
HDFS-15077. Fix intermittent failure of TestDFSClientRetries#testLeaseRenewSocketTimeout. ( #1797 )
...
(cherry picked from commit aba3f6c3e1
)
2020-01-08 17:05:20 +09:00
Masatake Iwasaki
3e32f5476a
HDFS-15072. HDFS MiniCluster fails to start when run in directory path with a %. ( #1775 )
...
(cherry picked from commit a43c177f1d
)
2020-01-08 11:29:23 +09:00
Rakesh Radhakrishnan
a27f9bd28e
HDFS-14740. Recover data blocks from persistent memory read cache during datanode restarts. Contributed by Feilong He.
...
(cherry picked from commit d79cce20ab
)
2020-01-02 11:57:02 +05:30
Surendra Singh Lilhore
5d9cbca31e
HDFS-15074. DataNode.DataTransfer thread should catch all the expception and log it. Contributed by hemanthboyina.
2019-12-29 11:21:33 +05:30
Takanobu Asanuma
ad11b25df2
HDFS-14934. [SBN Read] Standby NN throws many InterruptedExceptions when dfs.ha.tail-edits.period is 0. Contributed by Ayush Saxena.
...
(cherry picked from commit dc32f583af
)
2019-12-28 21:34:19 +09:00
Chandra Sanivarapu
0d94e0b1a0
HDFS-15073. Replace curator-shaded guava import with the standard one ( #1782 )
...
(cherry picked from commit d8cd7098b4
)
2019-12-25 11:12:03 +09:00
Konstantin V Shvachko
82957562ea
HDFS-15076. Fix tests that hold FSDirectory lock, without holding FSNamesystem lock. Contributed by Konstantin V Shvachko.
...
(cherry picked from commit b98ac2a3af
)
2019-12-24 12:50:57 -08:00
Eric Badger
11c5396b4a
Revert "HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui."
...
This reverts commit 59cdf18d5a
.
2019-12-20 19:04:45 +00:00
Inigo Goiri
59cdf18d5a
HDFS-15062. Add LOG when sendIBRs failed. Contributed by Fei Hui.
...
(cherry picked from commit 52d7b745c6
)
2019-12-19 09:43:40 -08:00
Shashikant Banerjee
afe00a1ca5
HDFS-15012. NN fails to parse Edit logs after applying HDFS-13101. Contributed by Shashikant Banerjee.
...
(cherry picked from commit fdd96e46d1
)
2019-12-18 23:10:00 +05:30
Chen Liang
d4a6901c42
HDFS-15036. Active NameNode should not silently fail the image transfer. Contributed by Chen Liang.
...
(cherry picked from commit 65c4660bcd
)
2019-12-12 15:57:15 -08:00
He Xiaoqiao
8ba4e13dcc
HDFS-15050. Optimize log information when DFSInputStream meet CannotObtainBlockLengthException. Contributed by Xiaoqiao He.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 99af49878cc47f5750b6c0edadc8a4c2fcd7a7c6)
2019-12-11 16:34:28 -08:00
Erik Krogen
3402c87353
HDFS-15032. Properly handle InvocationTargetExceptions in the proxy created by ProxyCombiner. This fixes a bug encountered by the HDFS balancer when used with Observer Nodes. Contributed by Erik Krogen.
...
(cherry picked from c174d50b30
)
2019-12-11 09:40:36 -08:00
Surendra Singh Lilhore
298cda22a3
HDFS-15010. BlockPoolSlice#addReplicaThreadPool static pool should be initialized by static method. Contributed by Surendra Singh Lilhore.
2019-11-28 23:58:46 +05:30
Ayush Saxena
32fdb3004a
HDFS-14519. NameQuota is not update after concat operation, so namequota is wrong. Contributed by Ranith Sardar.
2019-11-23 02:36:38 +05:30
Surendra Singh Lilhore
39366b1370
HDFS-14940. HDFS Balancer : Do not allow to set balancer maximum network bandwidth more than 1TB. Contributed by hemanthboyina.
2019-11-22 00:33:42 +05:30
He Xiaoqiao
5fe9b81941
HDFS-14952. Skip safemode if blockTotal is 0 in new NN. Contributed by Xiaoqiao He.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Reviewed-by: Mukul Kumar Singh <msingh@apache.org>
(cherry picked from commit 0b50aa29fd
)
2019-11-19 12:22:30 -08:00
Ayush Saxena
051dae1f89
HDFS-14942. Change Log Level to debug in JournalNodeSyncer#syncWithJournalAtIndex. Contributed by Lisheng Sun.
...
(cherry picked from commit 9e287054a8
)
2019-11-18 10:24:53 -08:00
Erik Krogen
60655bfe54
HDFS-14973. More strictly enforce Balancer/Mover/SPS throttling of getBlocks RPCs to NameNodes. Contributed by Erik Krogen.
...
(cherry picked from b2cc8b6b4a
)
2019-11-15 10:11:56 -08:00
Erik Krogen
dec765b329
HDFS-14979 Allow Balancer to submit getBlocks calls to Observer Nodes when possible. Contributed by Erik Krogen.
...
(cherry picked from 586defe711
)
2019-11-13 11:57:42 -08:00
Chao Sun
0c12d633b9
HDFS-14959: [SBNN read] access time should be turned off ( #1706 ) Contributed by Chao Sun.
...
(cherry picked from commit 97ec34e117
)
2019-11-12 11:40:56 -08:00
Siyao Meng
e0cf1735e1
HADOOP-16676. Backport HADOOP-16152 to branch-3.2. Contributed by Siyao Meng.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-11-12 11:38:42 -08:00
Surendra Singh Lilhore
c4e22e0c80
HDFS-14720. DataNode shouldn't report block as bad block if the block length is Long.MAX_VALUE. Contributed by hemanthboyina.
...
(cherry picked from commit 320008bb7c
)
2019-11-09 22:28:15 +05:30
Ayush Saxena
2e843cb773
HDFS-14958. TestBalancerWithNodeGroup is not using NetworkTopologyWithNodeGroup. Contributed by Jim Brennan.
2019-11-07 22:50:30 +05:30
Chen Liang
c9ed0c3a37
HDFS-14806. Bootstrap standby may fail if with in-progress tailing. Contributed by Chen Liang and Erik Krogen.
2019-11-06 16:12:51 -08:00
Chen Liang
431edfcbe4
HDFS-14941. Potential editlog race condition can cause corrupted file. Contributed by Chen Liang and Konstantin Shvachko.
2019-11-06 15:00:15 -08:00
Ayush Saxena
5941a91f64
HDFS-14946. Erasure Coding: Block recovery failed during decommissioning. Contributed by Fei Hui.
2019-11-06 22:10:27 +05:30
Surendra Singh Lilhore
aa1c795dc9
HDFS-14384. When lastLocatedBlock token expire, it will take 1~3s second to refetch it. Contributed by Surendra Singh Lilhore.
...
(cherry picked from commit c36014165c
)
2019-11-06 19:37:41 +05:30
Wei-Chiu Chuang
240b5ee380
HDFS-14945. Revise PacketResponder's log. Contributed by Xudong Cao.
...
(cherry picked from commit eb73ba6ed5
)
2019-11-04 09:40:57 -08:00
Zhao Junwang
c9fc118991
HDFS-14925. Rename operation should check nest snapshot ( #1670 )
...
If the src directory or any of its descendant is snapshottable
and the dst directory or any of its ancestors is snapshottable,
we consider this as nested snapshot, which should be denied.
Reviewed-by: Shashikant Banerjee <shashikant@apache.org>
(cherry picked from commit de6b8b0c0b
)
2019-11-01 16:39:18 -07:00
Ayush Saxena
b1821be1ec
HDFS-13736. BlockPlacementPolicyDefault can not choose favored nodes when 'dfs.namenode.block-placement-policy.default.prefer-local-node' set to false. Contributed by hu xiaodong.
2019-11-01 22:51:50 +05:30
Ayush Saxena
239505a0af
HDFS-14920. Erasure Coding: Decommission may hang If one or more datanodes are out of service during decommission. Contributed by Fei Hui.
2019-10-31 23:53:06 +05:30
Jonathan Hung
5d2ffcc7aa
Make upstream aware of 2.10.0 release
...
(cherry picked from commit 7663db59c097c82eeed2df7a91168a4d7123c96b)
2019-10-30 20:59:20 -07:00
Duo Zhang
a37a4bc62f
HADOOP-16598. Backport "HADOOP-16558 [COMMON+HDFS] use protobuf-maven-plugin to generate protobuf classes" to all active branches
...
Signed-off-by: stack <stack@apache.org>
2019-10-30 20:26:54 -07:00
Eric Badger
3d9127dc97
HDFS-14931. hdfs crypto commands limit column width. Contributed by Eric Badger
...
(cherry picked from commit 9ef6ed9c1c
)
2019-10-28 16:38:28 +00:00
Rakesh Radhakrishnan
a6cdcf676e
HDFS-14818. Check native pmdk lib by 'hadoop checknative' command. Contributed by Feilong He.
...
(cherry picked from commit 659c88801d
)
2019-10-28 10:41:40 +05:30
Rakesh Radhakrishnan
dc2fad4bd3
HDFS-14700. Clean up pmem cache before setting pmem cache capacity. Contributed by Feilong He.
...
(cherry picked from commit f6fa865d6f
)
2019-10-28 10:41:25 +05:30
Rakesh Radhakrishnan
c6d59e6a47
HDFS-14357. Update documentation for HDFS cache on SCM support. Contributed by Feilong He.
...
(cherry picked from commit 30a8f840f1
)
2019-10-28 10:41:12 +05:30
Rakesh Radhakrishnan
75c66bf044
HDFS-14458. Report pmem stats to namenode. Contributed by Feilong He.
...
(cherry picked from commit e98adb00b7
)
2019-10-28 10:40:59 +05:30
Sammi Chen
6eb5fb596f
HDFS-14356. Implement HDFS cache on SCM with native PMDK libs. Contributed by Feilong He.
...
(cherry picked from commit d1aad44490
)
2019-10-28 10:40:46 +05:30
Rakesh Radhakrishnan
0fe720dc48
HDFS-14402. Use FileChannel.transferTo() method for transferring block to SCM cache. Contributed by Feilong He.
...
(cherry picked from commit 37900c5639
)
2019-10-28 10:40:32 +05:30
Rakesh Radhakrishnan
f3571c1f09
HDFS-14401. Refine the implementation for HDFS cache on SCM. Contributed by Feilong He.
2019-10-28 10:40:15 +05:30
Uma Maheswara Rao G
6bc73a983d
HDFS-14355 : Implement HDFS cache on SCM by using pure java mapped byte buffer. Contributed by Feilong He.
2019-10-28 10:37:34 +05:30
Rakesh Radhakrishnan
0c6824120a
HDFS-14393. Refactor FsDatasetCache for SCM cache implementation. Contributed by Rakesh R
...
(cherry picked from commit f3f51284d5
)
2019-10-28 10:33:45 +05:30
Uma Maheswara Rao G
3f6f095c06
HDFS-14354: Refactor MappableBlock to align with the implementation of SCM cache. Contributed by Feilong He.
...
(cherry picked from commit ba50a36a3e
)
2019-10-28 10:33:29 +05:30
zhaoyim
9316ca149f
HDFS-14308. DFSStripedInputStream curStripeBuf is not freed by unbuffer() ( #1667 )
...
Reviewed-by: Aravindan Vijayan <avijayan@cloudera.com>
Reviewed-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 30db895b59
)
2019-10-25 13:10:56 -07:00
Wei-Chiu Chuang
8cf4bc4bda
HDFS-14910. Rename Snapshot with Pre Descendants Fail With IllegalArgumentException. Contributed by Wei-Chiu Chuang. ( #1672 )
...
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
(cherry picked from commit a1b4eebcc9
)
2019-10-24 13:13:27 -07:00
Wei-Chiu Chuang
570ffa1cd6
HDFS-14492. Snapshot memory leak. Contributed by Wei-Chiu Chuang. ( #1370 )
...
* HDFS-14492. Snapshot memory leak. Contributed by Wei-Chiu Chuang.
Change-Id: I9e5e450c07ad70aa1905973896c4f627042dbd37
* Fix checkstyle
Change-Id: I16d4bd4f03a971e1ed36cf57d89dc42357ef8fbf
(cherry picked from commit 6ef6594c7e
)
2019-10-24 13:13:19 -07:00
Vinayakumar B
e1e3d9c81d
HDFS-14921. Remove SuperUser Check in Setting Storage Policy in FileStatus During Listing. Contributed by Ayush Saxena.
2019-10-24 12:15:18 +05:30
Mukul Kumar Singh
c9d07a42dc
HDFS-14884. Add sanity check that zone key equals feinfo key while setting Xattrs. Contributed by Mukul Kumar Singh.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit a901405ad8
)
2019-10-22 13:31:34 -07:00
Wei-Chiu Chuang
31243f0d29
HDFS-13901. INode access time is ignored because of race between open and rename. Contributed by Jinglun.
2019-10-22 09:34:11 -07:00
Ayush Saxena
8c74717720
HDFS-14915. Move Superuser Check Before Taking Lock For Encryption API. Contributed by Ayush Saxena.
2019-10-22 18:45:19 +05:30
Kihwal Lee
2d1f3611cd
HDFS-12749. DN may not send block report to NN after NN restart. Contributed by Xiaoqiao He.
...
(cherry picked from commit c4e27ef773
)
2019-10-21 16:34:17 -05:00
Ayush Saxena
0f64ed89d2
HDFS-14913. Correct the value of available count in DFSNetworkTopology#chooseRandomWithStorageType(). Contributed by Ayush Saxena.
2019-10-21 18:42:21 +05:30
Ayush Saxena
c2cd847a15
HDFS-14847. Erasure Coding: Blocks are over-replicated while EC decommissioning. Contributed by Fei Hui.
2019-10-20 06:29:16 +05:30
Surendra Singh Lilhore
5c50eb2243
HDFS-14909. DFSNetworkTopology#chooseRandomWithStorageType() should not decrease storage count for excluded node which is already part of excluded scope. Contributed by Surendra Singh Lilhore.
...
(cherry picked from commit 54dc6b7d72
)
2019-10-17 22:39:57 +05:30
Surendra Singh Lilhore
d1b30e8450
HDFS-14886. In NameNode Web UI's Startup Progress page, Loading edits always shows 0 sec. Contributed by hemanthboyina.
...
(cherry picked from commit 336abbd873
)
2019-10-14 23:47:42 +05:30
Surendra Singh Lilhore
2ca05ca02a
HDFS-14754. Erasure Coding : The number of Under-Replicated Blocks never reduced(addendum). Contributed by Surendra Singh Lilhore.
...
(cherry picked from commit d76e2655ac
)
2019-10-09 23:32:21 +05:30
Chen Liang
a12ab911ee
HDFS-14509. DN throws InvalidToken due to inequality of password when upgrade NN 2.x to 3.x. Contributed by Yuxuan Wang and Konstantin Shvachko.
...
(cherry picked from commit 72ae371e7a
)
2019-10-08 12:03:04 -07:00
Ayush Saxena
57ab854492
HDFS-14859. Prevent unnecessary evaluation of costly operation getNumLiveDataNodes when dfs.namenode.safemode.min.datanodes is not zero. Contributed by Srinivasu Majeti.
2019-10-08 14:22:16 +05:30
Surendra Singh Lilhore
a0cdebc409
HDFS-14373. EC : Decoding is failing when block group last incomplete cell fall in to AlignedStripe. Contributed by Surendra Singh Lilhore.
...
(cherry picked from commit 382967be51
)
2019-10-08 00:26:27 +05:30
He Xiaoqiao
e29ae7db12
HDFS-14497. Addendum: Write lock held by metasave impact following RPC processing.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit dde9399b37
)
2019-10-04 12:07:30 -07:00
He Xiaoqiao
80392e94b6
HDFS-14497. Write lock held by metasave impact following RPC processing. Contributed by He Xiaoqiao.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 33c62f8f4e
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
2019-10-04 12:06:55 -07:00
Erik Krogen
6630c9b75d
HDFS-14245. [SBN read] Enable ObserverReadProxyProvider to work with non-ClientProtocol proxy types. Contributed by Erik Krogen.
...
(cherry picked from 5847e00143
)
2019-10-04 11:15:49 -07:00
Erik Krogen
69b0c513a9
HDFS-14162. [SBN read] Allow Balancer to work with Observer node. Add a new ProxyCombiner allowing for multiple related protocols to be combined. Allow AlignmentContext to be passed in NameNodeProxyFactory. Contributed by Erik Krogen.
...
(cherry picked from 64f28f9efa
)
2019-10-04 10:48:33 -07:00
Eric Yang
8bb2b00d38
HDFS-14890. Fixed namenode and journalnode startup on Windows.
...
Contributed by Siddharth Wagle
(cherry picked from commit aa24add8f0
)
2019-10-04 13:16:08 -04:00
Siyao Meng
673c9d53ca
HDFS-14686. HttpFS: HttpFSFileSystem#getErasureCodingPolicy always returns null ( #1192 ) Contributed by Siyao Meng.
...
(cherry picked from commit 17e8cf501b
)
2019-10-04 09:40:22 -07:00
Ayush Saxena
702572434c
HDFS-13693. Remove unnecessary search in INodeDirectory.addChild during image loading. Contributed by Lisheng Sun.
...
(cherry picked from commit 377f95bbe8
)
2019-10-04 08:52:59 -07:00
Takanobu Asanuma
732a68cfb4
HDFS-14879. Header was wrong in Snapshot web UI. Contributed by hemanthboyina
...
(cherry picked from commit b23bdaf085
)
2019-10-04 16:48:50 +09:00
Stephen O'Donnell
966193153f
HDFS-14637. Namenode may not replicate blocks to meet the policy after enabling upgradeDomain. Contributed by Stephen O'Donnell.
...
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c99a12167f
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestBlocksWithNotEnoughRacks.java
hadoop-tools/hadoop-dynamometer/hadoop-dynamometer-infra/src/main/java/org/apache/hadoop/tools/dynamometer/BlockPlacementPolicyAlwaysSatisfied.java
2019-10-03 22:18:29 -07:00
Inigo Goiri
94af96325c
HDFS-14850. Optimize FileSystemAccessService#getFileSystemConfiguration. Contributed by Lisheng Sun.
...
(cherry picked from commit d8313b2274
)
2019-10-03 18:21:46 -07:00
Inigo Goiri
21a89d544f
HDFS-14624. When decommissioning a node, log remaining blocks to replicate periodically. Contributed by Stephen O'Donnell.
...
(cherry picked from commit 5747f6cff5
)
2019-10-03 17:27:44 -07:00
Shashikant Banerjee
f14fb9081f
HDFS-14499. Misleading REM_QUOTA value with snapshot and trash feature enabled for a directory. Contributed by Shashikant Banerjee.
...
(cherry picked from commit f9fab9f22a
)
2019-10-03 17:27:06 -07:00
Vinayakumar B
4e223d9968
HDFS-14113. EC : Add Configuration to restrict UserDefined Policies. Contributed by Ayush Saxena.
...
(cherry picked from commit c03024a530
)
2019-10-03 17:15:45 -07:00
Kitti Nanasi
cb701f4da0
HDFS-14187. Make warning message more clear when there are not enough data nodes for EC write. Contributed by Kitti Nanasi.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 0ab7fc9200
)
2019-10-03 16:18:23 -07:00
Shweta Yakkali
eaf09e51ba
HDFS-14262. [SBN read] Make Log.WARN message in GlobalStateIdContext more informative. Contributed by Shweta Yakkali.
2019-10-03 16:13:44 -07:00
Ayush Saxena
ebd7a0f155
HDFS-14660. [SBN Read] ObserverNameNode should throw StandbyException for requests not from ObserverProxyProvider. Contributed by Chao Sun.
2019-10-03 16:00:38 -07:00
Shweta Yakkali
3186afa24c
HDFS-14494. Move Server logging of StatedId inside receiveRequestState(). Contributed by Shweta Yakkali.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-10-03 15:58:00 -07:00
Ayush Saxena
9a9edfa87e
HDFS-14849. Erasure Coding: the internal block is replicated many times when datanode is decommissioning. Contributed by HuangTao.
...
(cherry picked from commit c4c8d5fd0e
)
2019-10-03 14:56:09 -07:00
Chen Liang
05a1eb788f
HDFS-12979. [SBN read] StandbyNode should upload FsImage to ObserverNode after checkpointing. Contributed by Chen Liang.
2019-10-02 21:12:54 -07:00
LeonGao91
885dd17595
HDFS-14678. Allow triggerBlockReport to a specific namenode. ( #1252 ). Contributed by Leon Gao.
...
(cherry picked from commit 9a1d8cfaf5
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestTriggerBlockReport.java
2019-10-02 17:35:33 -07:00
Chen Liang
8a866f01c9
HDFS-14858. [SBN read] Allow configurably enable/disable AlignmentContext on NameNode. Contributed by Chen Liang.
2019-10-02 16:39:26 -07:00
paulward24
0559c1dba3
HDFS-14618. Incorrect synchronization of ArrayList field (ArrayList is thread-unsafe). Contributed by Paul Ward.
...
(cherry picked from commit d203045c30
)
2019-10-02 15:07:40 -07:00
paulward24
76a9135947
HDFS-14610. HashMap is not thread safe. Field storageMap is typically synchronized by storageMap. However, in one place, field storageMap is not protected with synchronized. ( #1015 )
...
(cherry picked from commit d8bac50e12
)
2019-10-02 14:31:13 -07:00
Inigo Goiri
6148acebc3
HDFS-14527. Stop all DataNodes may result in NN terminate. Contributed by He Xiaoqiao.
...
(cherry picked from commit 944adc61b1
)
2019-10-02 13:55:47 -07:00
Ayush Saxena
2bb4ac18ec
HDFS-14808. EC: Improper size values for corrupt ec block in LOG. Contributed by Ayush Saxena.
...
(cherry picked from commit 66400c1cbb
)
2019-10-02 13:49:12 -07:00
Surendra Singh Lilhore
7d7330aff0
HDFS-14754. Erasure Coding : The number of Under-Replicated Blocks never reduced. Contributed by hemanthboyina.
...
(cherry picked from commit 4852a90e4b
)
2019-10-02 13:39:40 -07:00
Inigo Goiri
d2a7a128d9
HADOOP-16161. NetworkTopology#getWeightUsingNetworkLocation return unexpected result. Contributed by He Xiaoqiao.
...
(cherry picked from commit 389e640f0c
)
2019-10-01 17:33:14 -07:00
Yiqun Lin
c74027d9d3
HDFS-14313. Get hdfs used space from FsDatasetImpl#volumeMap#ReplicaInfo in memory instead of df/du. Contributed by Lisheng Sun.
...
(cherry picked from commit a5bb1e8ee8
)
Conflicts:
hadoop-common-project/hadoop-common/src/main/resources/core-default.xml
2019-10-01 17:14:46 -07:00
Inigo Goiri
3510a9e5e5
HDFS-14192. Track missing DFS operations in Statistics and StorageStatistics. Contributed by Ayush Saxena.
...
(cherry picked from commit f048512bb8
)
2019-10-01 16:57:20 -07:00
Inigo Goiri
917e53f066
HDFS-14460. DFSUtil#getNamenodeWebAddr should return HTTPS address based on policy configured. Contributed by CR Hota.
...
(cherry picked from commit 865c328930
)
2019-10-01 09:53:36 -07:00
Inigo Goiri
fc8a7a9e5b
HDFS-14202. dfs.disk.balancer.max.disk.throughputInMBperSec property is not working as per set value. Contributed by Ranith Sardar.
...
(cherry picked from commit 0e79a86582
)
2019-10-01 09:35:04 -07:00
Inigo Goiri
06b2eceb76
HDFS-14418. Remove redundant super user priveledge checks from namenode. Contributed by Ayush Saxena.
...
(cherry picked from commit be6c8014e6
)
2019-10-01 09:22:15 -07:00
Konstantin V Shvachko
665360ec6f
HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by Konstantin V Shvachko.
2019-09-30 16:57:56 -07:00
Konstantin V Shvachko
3912a6fc7d
Revert "HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by He Xiaoqiao."
...
This reverts commit 0feba4396f
.
2019-09-30 16:57:26 -07:00
Ayush Saxena
b7ee3938e9
HDFS-14853. NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar.
2019-09-28 08:29:58 +05:30
Chen Liang
2d7b37ea2b
HDFS-14785. [SBN read] Change client logging to be less aggressive. Contributed by Chen Liang.
2019-09-26 15:55:10 -07:00
Ayush Saxena
a0db762206
HDFS-14655. [SBN Read] Namenode crashes if one of The JN is down. Contributed by Ayush Saxena.
2019-09-25 01:21:14 +05:30
Rohith Sharma K S
f9f0338104
Make upstream aware of 3.2.1 release.
2019-09-23 12:03:53 +05:30
Chen Liang
4299bc0d3e
HDFS-14822. [SBN read] Revisit GlobalStateIdContext locking when getting server state id. Contributed by Chen Liang.
2019-09-18 16:48:58 -07:00
Kihwal Lee
e29f91bad3
HDFS-13959. TestUpgradeDomainBlockPlacementPolicy is flaky. Contributed by Ayush Saxena.
...
(cherry picked from commit 1851d06eb3
)
2019-09-18 15:53:08 -05:00
Wei-Chiu Chuang
b906f53b0d
HDFS-14836. FileIoProvider should not increase FileIoErrors metric in datanode volume metric. Contributed by Aiphago.
...
Reviewed-by: He Xiaoqiao <hexiaoqiao@apache.org>
(cherry picked from commit 5dd859a8a0
)
2019-09-18 09:36:10 -07:00
Anu Engineer
2e9482bd20
HDFS-14759. HDFS cat logs an info message.
...
Contributed by Eric Badger.
(cherry picked from commit 8aaf5e1a14
)
2019-09-18 15:23:28 +08:00
Ayush Saxena
4126e67e31
HDFS-14303. Addendum: check block directory logic not correct when there is only meta file, print no meaning warn log. Contributed by qiang Liu.
2019-09-14 10:12:17 +05:30
Surendra Singh Lilhore
eb1ddcd04c
HDFS-14699. Erasure Coding: Storage not considered in live replica when replication streams hard limit reached to threshold. Contributed by Zhao Yi Ming.
...
(cherry picked from commit d1c303a497
)
2019-09-12 19:25:50 +05:30
Takanobu Asanuma
8e27d6b4c9
HDFS-14838. RBF: Display RPC (instead of HTTP) Port Number in RBF web UI. Contributed by Xieming Li
...
(cherry picked from commit c255333e20
)
2019-09-11 17:03:23 +09:00
Rohith Sharma K S
7d5bb2ebb7
Preparing for 3.2.2-SNAPSHOT development.
2019-09-07 08:52:08 +05:30
Xiaoyu Yao
ebb3b8add0
HDFS-14633. The StorageType quota and consume in QuotaFeature is not handled for rename. Contributed by Jinglun.
...
(cherry picked from commit 62d71fbac3789c7d484bc76ced9ec7fa6ff94de1)
2019-09-05 15:33:54 -07:00
Xiaoyu Yao
53d1bfe680
Revert "HDFS-14633. The StorageType quota and consume in QuotaFeature is not handled for rename. Contributed by Jinglun."
...
This reverts commit 259c6bb0c7
.
2019-09-05 15:31:14 -07:00
Xiaoyu Yao
259c6bb0c7
HDFS-14633. The StorageType quota and consume in QuotaFeature is not handled for rename. Contributed by Jinglun.
...
(cherry picked from commit 62d71fbac3789c7d484bc76ced9ec7fa6ff94de1)
2019-09-03 09:12:19 -07:00
Stephen O'Donnell
61fd1a74a1
HDFS-14706. Checksums are not checked if block meta file is less than 7 bytes. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 915cbc91c0
)
2019-09-02 10:06:39 -07:00
Wei-Chiu Chuang
84b2fe4b10
Revert "HDFS-14706. Checksums are not checked if block meta file is less than 7 bytes. Contributed by Stephen O'Donnell."
...
This reverts commit 9c0d6e1657
.
2019-09-02 10:06:39 -07:00
Ayush Saxena
3edffd90c9
HDFS-12212. Options.Rename.To_TRASH is considered even when Options.Rename.NONE is specified. Contributed by Vinayakumar B.
2019-08-30 08:58:12 +05:30
leosunli
b516d2ea7b
Make DataNodePeerMetrics#minOutlierDetectionSamples configurable ( #1314 ). Contributed by Lisheng Sun.
...
Signed-off-by: sunlisheng <sunlisheng@xiaomi.com>
(cherry picked from commit 915271245b
)
2019-08-29 18:46:15 -07:00
Stephen O'Donnell
9c0d6e1657
HDFS-14706. Checksums are not checked if block meta file is less than 7 bytes. Contributed by Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 7bebad61d9
)
2019-08-29 17:38:55 -07:00
Istvan Fajth
7c6fc964fd
HDFS-8178. QJM doesn't move aside stale inprogress edits files. Contributed by Istvan Fajth.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 03049290fe8ef1459a3c8bd05cf198320e6e4973)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNNStorageRetentionManager.java
2019-08-29 16:55:18 -07:00
Akira Ajisaka
2d8799f4bc
HADOOP-15832. Upgrade BouncyCastle to 1.60. Contributed by Robert Kanter.
2019-08-27 19:08:39 +00:00
Jonathan Hung
d255efa5f8
HDFS-14779. Fix logging error in TestEditLog#testMultiStreamsLoadEditWithConfMaxTxns
...
(cherry picked from commit 8ab7020e64
)
2019-08-27 10:30:55 -07:00
Arpit Agarwal
8b12381717
HDFS-2470. NN should automatically set permissions on dfs.namenode.*.dir. Contributed by Siddharth Wagle.
...
(cherry picked from commit a64a43b77fb1032dcb66730a6b6257a24726c256)
2019-08-26 15:57:41 -07:00
Chen Liang
c824653955
HDFS-14674. [SBN read] Got an unexpected txid when tail editlog. Contributed by wangzhaohui.
2019-08-23 12:28:13 -07:00
Erik Krogen
2408c2491f
HDFS-13977. Override shouldForceSync in QuorumOutputStream to allow for proper auto-sync behavior. Contributed by Erik Krogen.
...
(cherry picked from d699022fce
)
2019-08-23 11:48:11 -07:00
Akira Ajisaka
e8b93d04c4
HDFS-14396. Failed to load image from FSImageFile when downgrade from 3.x to 2.x. Contributed by Fei Hui.
...
(cherry picked from commit bd7baea5a5
)
2019-08-23 15:28:54 +09:00