Ayush Saxena
d1b91ede4c
HDFS-14958. TestBalancerWithNodeGroup is not using NetworkTopologyWithNodeGroup. Contributed by Jim Brennan.
2019-11-07 22:32:13 +05:30
Chen Liang
92c9b1de5b
HDFS-14806. Bootstrap standby may fail if with in-progress tailing. Contributed by Chen Liang and Erik Krogen.
2019-11-06 16:23:51 -08:00
Chen Liang
db887f66d8
HDFS-14941. Potential editlog race condition can cause corrupted file. Contributed by Chen Liang and Konstantin Shvachko.
2019-11-06 15:47:57 -08:00
Duo Zhang
e649b30b32
HADOOP-16598. Backport "HADOOP-16558 [COMMON+HDFS] use protobuf-maven-plugin to generate protobuf classes" to all active branches
...
Reapply but this time with proper patch.
Signed-off-by: stack <stack@apache.org>
2019-11-01 09:22:23 -07:00
stack
e880347d53
Revert "HADOOP-16598. Backport "HADOOP-16558 [COMMON+HDFS] use protobuf-maven-plugin to generate protobuf classes" to all active branches"
...
Wrong patch applied; missed jdk7 handling
This reverts commit a36dbe6f35
.
2019-11-01 09:21:33 -07:00
Duo Zhang
a36dbe6f35
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 22:33:51 -07:00
Jonathan Hung
915b795358
Make upstream aware of 2.10.0 release
...
(cherry picked from commit 7663db59c097c82eeed2df7a91168a4d7123c96b)
(cherry picked from commit 5d2ffcc7aa
)
(cherry picked from commit 4d274f60bc
)
2019-10-30 21:01:40 -07:00
Wei-Chiu Chuang
a805d80ebe
HDFS-13901. INode access time is ignored because of race between open and rename. Contributed by Jinglun.
2019-10-22 16:43:25 -07:00
Kihwal Lee
b634bd225b
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:36:42 -05:00
Jonathan Hung
108127238b
Preparing for 2.11.0 development
2019-10-15 10:01:45 -07:00
Chen Liang
6566402a1b
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.
2019-10-10 13:29:30 -07:00
Erik Krogen
200c52f78b
HDFS-14245. [SBN read] Enable ObserverReadProxyProvider to work with non-ClientProtocol proxy types. Contributed by Erik Krogen.
...
(cherry picked from 5847e00143
)
(cherry picked from 6630c9b75d
)
(cherry picked from 9fdb849e03
)
2019-10-10 09:09:50 -07:00
Erik Krogen
8337d1a489
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.
2019-10-10 09:07:18 -07:00
Ayush Saxena
ca777db3ca
HDFS-14655. [SBN Read] Namenode crashes if one of The JN is down. Contributed by Ayush Saxena.
2019-10-08 13:30:30 +05:30
Shweta Yakkali
56e2ad2dce
HDFS-14262. [SBN read] Make Log.WARN message in GlobalStateIdContext more informative. Contributed by Shweta Yakkali.
2019-10-03 16:43:27 -07:00
Ayush Saxena
a3b9b955be
HDFS-14660. [SBN Read] ObserverNameNode should throw StandbyException for requests not from ObserverProxyProvider. Contributed by Chao Sun.
2019-10-03 16:36:50 -07:00
Shweta Yakkali
c87b1f6f5b
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 16:25:31 -07:00
Chen Liang
72b37e8833
HDFS-12979. StandbyNode should upload FsImage to ObserverNode after checkpointing. Contributed by Chen Liang.
2019-10-03 12:23:25 -07:00
Chen Liang
ed8f1ae602
HDFS-14858. [SBN read] Allow configurably enable/disable AlignmentContext on NameNode. Contributed by Chen Liang.
2019-10-02 16:51:59 -07:00
Konstantin V Shvachko
dc2b838a8e
HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by Konstantin V Shvachko.
2019-09-30 18:04:16 -07:00
Masatake Iwasaki
9482da7053
HADOOP-16544. update io.netty in branch-2.
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
2019-10-01 05:24:32 +09:00
Ayush Saxena
66e60942e9
HDFS-14853. Addendum: NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar.
2019-09-28 09:14:50 +05:30
Ayush Saxena
40becd37d0
HDFS-14853. NPE in DFSNetworkTopology#chooseRandomWithStorageType() when the excludedNode is not present. Contributed by Ranith Sardar.
2019-09-28 08:30:55 +05:30
Chen Liang
dc72b2e65a
HDFS-14822. [SBN read] Revisit GlobalStateIdContext locking when getting server state id. Contributed by Chen Liang.
2019-09-18 17:22:49 -07:00
Kihwal Lee
d4038e7a39
HDFS-13959. TestUpgradeDomainBlockPlacementPolicy is flaky. Contributed by Ayush Saxena.
...
(cherry picked from commit 1851d06eb3
)
2019-09-18 16:51:21 -05:00
He Xiaoqiao
6fe8261fa0
HDFS-14771. Backport HDFS-14617 to branch-2 (Improve fsimage load time by writing sub-sections to the fsimage index). Contributed by He Xiaoqiao and Stephen O'Donnel.
...
Reviewed-by: Stephen O'Donnell <sodonnell@cloudera.com>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-09-17 09:34:54 -07:00
Ayush Saxena
b9e832bf73
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:30:46 +05:30
Xiaoyu Yao
c44e53e7a3
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 16:24:17 -07:00
Xiaoyu Yao
1c9255aebf
Revert "HDFS-14633. The StorageType quota and consume in QuotaFeature is not handled for rename. Contributed by Jinglun."
...
This reverts commit a524608d1e
.
2019-09-05 16:22:15 -07:00
Ayush Saxena
ad250a8cbb
HDFS-14276. [SBN read] Reduce tailing overhead. Contributed by Wei-Chiu Chuang
2019-09-05 22:05:47 +05:30
Chen Liang
1ff68d0e47
HDFS-14611. Move handshake secret field from Token to BlockAccessToken. Contributed by Chen Liang
2019-09-03 17:18:41 -07:00
Chen Liang
163cb4d5ae
HDFS-13699. Add DFSClient sending handshake token to DataNode, and allow DataNode overwrite downstream QOP. Contributed by Chen Liang.
2019-09-03 17:11:29 -07:00
Chen Liang
e63619a6dd
HDFS-13617. Allow wrapping NN QOP into token in encrypted message. Contributed by Chen Liang
2019-09-03 17:11:29 -07:00
Chen Liang
a06e35a197
HDFS-13566. Add configurable additional RPC listener to NameNode. Contributed by Chen Liang.
2019-09-03 17:11:28 -07:00
Xiaoyu Yao
a524608d1e
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 08:27:23 -07:00
Chen Liang
f05d87b32e
HDFS-14726. Fix JN incompatibility issue in branch-2 due to backport of HDFS-10519. Contributed by Chen Liang.
2019-08-30 15:55:35 -07:00
Chen Liang
e786147096
HDFS-13977. NameNode can kill itself if it tries to send too many txns to a QJM simultaneously. Contributed by Erik Krogen.
2019-08-26 14:32:27 -07:00
Wei-Chiu Chuang
69b80f1ee8
Revert "HDFS-14476. lock too long when fix inconsistent blocks between disk and in-memory. Contributed by Sean Chow."
...
This reverts commit 8755de108d
.
2019-08-21 09:04:07 -07:00
Wei-Chiu Chuang
bdab03cf71
HDFS-14311. Multi-threading conflict at layoutVersion when loading block pool storage. Contributed by Yicong Cai.
2019-08-20 10:38:52 -07:00
Shashikant Banerjee
ab7509efe7
HDFS-13101. Yet another fsimage corruption related to snapshot. Contributed by Shashikant Banerjee.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-08-18 19:01:12 -07:00
Wei-Chiu Chuang
8755de108d
HDFS-14476. lock too long when fix inconsistent blocks between disk and in-memory. Contributed by Sean Chow.
2019-08-18 17:51:44 -07:00
He Xiaoqiao
b020c5ccfd
HDFS-14725. Backport HDFS-12914 to branch-2 (Block report leases cause missing blocks until next report). Contributed by He Xiaoqiao.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-08-16 17:53:45 -07:00
Masatake Iwasaki
670de354b3
HDFS-14423. Percent (%) and plus (+) characters no longer work in WebHDFS.
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit da0006fe04
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java
(cherry picked from commit d7ca016d63
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsUrl.java
2019-08-14 12:35:14 +09:00
Christopher Gregorian
99cd181a78
HADOOP-16459. Backport of HADOOP-16266. Add more fine-grained processing time metrics to the RPC layer. Contributed by Christopher Gregorian.
...
This commit also includes the follow-on commit 827a84778a
.
(cherry-picked from f96a2df38d
)
(cherry-picked from d4492bdd9e
)
(cherry-picked from 7b8f08f59e
)
(cherry picked from ec00431eaa
)
2019-08-13 14:28:18 -07:00
Erik Krogen
719214ff30
HDFS-14370. Add exponential backoff to the edit log tailer to avoid spinning on empty edit tail requests. Contributed by Erik Krogen.
...
(cherry picked from 827dbb11e2
)
(cherry picked from 016aa13940
)
(cherry picked from f6ce2f4a50
)
(cherry picked from 5657e45fb2
)
2019-08-13 08:30:33 -07:00
Chen Liang
885b7f4c98
Fix JDK7 compatibility in branch-2.
2019-08-12 17:42:01 -07:00
Chen Liang
0d153dcb8c
HDFS-13898 Addendum: add a missing test helper method
2019-08-12 10:31:37 -07:00
Wei-Chiu Chuang
585b6de637
Revert "HDFS-12914. Block report leases cause missing blocks until next report. Contributed by Santosh Marella, He Xiaoqiao."
...
This reverts commit 567e1178d8
.
2019-08-09 18:29:00 -07:00
Chen Liang
097710131a
[SBN read] Addendum: Misc fix of issues, javadoc, whitespace unused backported fields etc
2019-08-09 15:49:58 -07:00
Wei-Chiu Chuang
12dc7ff566
HDFS-12836. startTxId could be greater than endTxId when tailing in-progress edit log. Contributed by Chao Sun.
2019-08-09 15:49:58 -07:00
Wei-Chiu Chuang
9599c91518
HDFS-14537. Journaled Edits Cache is not cleared when formatting the JN. Contributed by Ranith Sardar.
2019-08-09 15:49:58 -07:00
Erik Krogen
c377540704
HDFS-14435. [SBN Read] Enable ObserverReadProxyProvider to gracefully handle StandbyException when fetching HAServiceState. Contributed by Erik Krogen.
2019-08-09 15:49:58 -07:00
Erik Krogen
5190fd64be
HDFS-14211. [SBN Read]. Add a configurable flag to enable always-msync mode to ObserverReadProxyProvider. Contributed by Erik Krogen.
2019-08-09 15:49:58 -07:00
Erik Krogen
c055e7812c
HDFS-14272. [SBN read] Make ObserverReadProxyProvider initialize its state ID against the active NN on startup. Contributed by Erik Krogen.
2019-08-09 15:49:58 -07:00
Erik Krogen
3b2b97a6e6
HDFS-14317. Ensure checkpoints are created when in-progress edit log tailing is enabled with a period shorter than the log roll period. Contributed by Ekanth Sethuramalingam.
...
(cherry-picked from commit 1bc282e0b3
)
(cherry-picked from commit 6d076dd5e8
)
2019-08-09 15:49:58 -07:00
Erik Krogen
a0327f58cb
HDFS-14250. [SBN read]. msync should always direct to active NameNode to get latest stateID. Contributed by Chao Sun.
2019-08-09 15:49:58 -07:00
Chen Liang
b247a8b0de
[SBN read] Addendum: Misc fix to be Java 7 compatible
2019-08-09 15:49:58 -07:00
Chao Sun
8cf1c0b91b
HDFS-14154. [SBN read] Document dfs.ha.tail-edits.period in user guide. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
3ec2ff756d
HDFS-14160. [SBN read] ObserverReadInvocationHandler should implement RpcInvocationHandler. Contributed by Konstantin V Shvachko.
2019-08-09 15:49:57 -07:00
Chao Sun
41e85ccf44
HDFS-14149. [SBN read] Fix annotations on new interfaces/classes for SBN reads. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Chao Sun
705e1c8d96
HDFS-14116. [SBN read] Fix class cast error in NNThroughputBenchmark with ObserverReadProxyProvider. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Erik Krogen
7b1a3b5619
HDFS-14146. [SBN read] Handle exceptions from and prevent handler threads from blocking within internalQueueCall. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Erik Krogen
a86d955aa7
HDFS-13873. [SBN read] ObserverNode should reject read requests when it is too far behind. Contributed by Konstantin Shvachko.
2019-08-09 15:49:57 -07:00
Erik Krogen
0705e83bdb
HDFS-14131. [SBN read] Create user guide for Consistent Reads from Observer feature. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Chao Sun
52d066a9d3
HDFS-14067. [SBN read] Allow manual failover between standby and observer. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Chen Liang
17fac44040
HDFS-14035. NN status discovery does not leverage delegation token. Contributed by Chen Liang.
2019-08-09 15:49:57 -07:00
Chao Sun
40d5cc15b2
HDFS-13924. [SBN read] Handle BlockMissingException when reading from observer. Contributed by Chao Sun.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
37dfd294e2
HDFS-13925. Unit Test for transitioning between different states. Contributed by Sherwood Zheng.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
63cf9801e8
HDFS-13523. Support observer nodes in MiniDFSCluster. Contributed by Konstantin Shvachko.
2019-08-09 15:49:57 -07:00
Konstantin V Shvachko
ae559db6fd
HDFS-13961. [SBN read] TestObserverNode refactoring. Contributed by Konstantin Shvachko.
2019-08-09 15:49:57 -07:00
Chen Liang
b4fc93d90b
HDFS-13791. Limit logging frequency of edit tail related statements. Contributed by Erik Krogen.
2019-08-09 15:49:56 -07:00
Erik Krogen
7146e67893
HDFS-13898. [SBN read] Throw retriable exception for getBlockLocations when ObserverNameNode is in safemode. Contributed by Chao Sun.
2019-08-09 15:49:56 -07:00
Erik Krogen
a7d551efd5
HDFS-13749. [SBN read] Use getServiceStatus to discover observer namenodes. Contributed by Chao Sun.
2019-08-09 15:49:56 -07:00
Konstantin V Shvachko
7eacf5f8f1
HDFS-13778. [SBN read] TestStateAlignmentContextWithHA should use real ObserverReadProxyProvider instead of AlignmentContextProxyProvider. Contributed by Konstantin Shvachko and Plamen Jeliazkov. Also fix a number of java7 incompatibilities from previous SbN read commits.
2019-08-09 15:49:56 -07:00
Chen Liang
bf9d8ba66b
HDFS-13880. Add mechanism to allow certain RPC calls to bypass sync. Contributed by Chen Liang.
2019-08-09 15:49:56 -07:00
Erik Krogen
7ccb2a48ff
HDFS-13779. [SBN read] Implement proper failover and observer failure handling logic for for ObserverReadProxyProvider. Contributed by Erik Krogen.
...
Also add a missing change from HDFS-13610
2019-08-09 15:49:56 -07:00
Konstantin V Shvachko
fcafa72958
HDFS-13851. Remove AlignmentContext from AbstractNNFailoverProxyProvider. Contributed by Konstantin Shvachko.
2019-08-09 15:49:56 -07:00
Chen Liang
9f90bcadf2
HDFS-13767. Add msync server implementation. Contributed by Chen Liang.
2019-08-09 15:49:56 -07:00
Chao Sun
f531301e7e
HDFS-13789. Reduce logging frequency of QuorumJournalManager#selectInputStreams. Contributed by Erik Krogen.
2019-08-09 15:49:56 -07:00
Erik Krogen
33d8aae555
HDFS-13688. [SBN read] Introduce msync API call. Contributed by Chen Liang.
...
Also fix a issue in IPCLoggerChannel
2019-08-09 15:49:56 -07:00
Erik Krogen
ea6d36763b
HDFS-13610. [SBN read] Edit Tail Fast Path Part 4: Cleanup. Integration test, documentation, remove unnecessary dummy sync, minors fixups. Contributed by Erik Krogen.
2019-08-09 15:49:55 -07:00
Chao Sun
04eefe245a
HDFS-12976. [SBN read] Introduce ObserverReadProxyProvider. Contributed by Chao Sun.
2019-08-09 15:49:55 -07:00
Konstantin V Shvachko
272a198175
HDFS-13706. [SBN read] Rename client context to ClientGSIContext. Contributed by Konstantin Shvachko.
2019-08-09 15:49:55 -07:00
Erik Krogen
85f81fe458
HDFS-13609. [SBN read] Edit Tail Fast Path Part 3: NameNode-side changes to support tailing edits via RPC. Contributed by Erik Krogen.
...
HDFS-10519. Add a configuration option to enable in-progress edit log tailing. Contributed by Jiayi Zhou.
2019-08-09 15:49:55 -07:00
Erik Krogen
88d65af8a1
HDFS-13608. [SBN read] Edit Tail Fast Path Part 2: Add ability for JournalNode to serve edits via RPC. Contributed by Erik Krogen.
2019-08-09 15:49:55 -07:00
Erik Krogen
befe41074c
HDFS-13607. [SBN read] Edit Tail Fast Path Part 1: Enhance JournalNode with an in-memory cache of recent edit transactions. Contributed by Erik Krogen.
2019-08-09 15:49:55 -07:00
Plamen Jeliazkov
3ed8d45660
HDFS-13399. [SBN read] Make Client field AlignmentContext non-static. Contributed by Plamen Jeliazkov.
2019-08-09 15:49:55 -07:00
Erik Krogen
d5da529acf
HDFS-13286. [SBN read] Add haadmin commands to transition between standby and observer. Contributed by Chao Sun.
2019-08-09 15:49:55 -07:00
Erik Krogen
d0c85f83da
HDFS-13331. [SBN read] Add lastSeenStateId to RpcRequestHeader. Contributed by Plamen Jeliazkov.
2019-08-09 15:49:55 -07:00
Plamen Jeliazkov
dd70e6d364
HDFS-12977. [SBN read] Add stateId to RPC headers. Contributed by Plamen Jeliazkov.
2019-08-09 15:49:55 -07:00
Chao Sun
61b510815c
HDFS-12975. [SBN read] Changes to the NameNode to support reads from standby. Contributed by Chao Sun.
2019-08-09 15:49:55 -07:00
Siyao Meng
15062b6d28
HDFS-14696. Backport HDFS-11273 to branch-2 (Move TransferFsImage#doGetUrl function to a Util class) ( #1251 ) Contributed by Siyao Meng.
2019-08-08 14:55:41 -07:00
Erik Krogen
ce12c8fc54
HDFS-14034. Support getQuotaUsage API in WebHDFS. Contributed by Chao Sun.
2019-08-08 10:18:00 -07:00
Erik Krogen
97600cd916
HDFS-14631. The DirectoryScanner doesn't fix the wrongly placed replica. Contributed by Jinglun.
2019-08-07 13:46:56 -07:00
Yiqun Lin
63531be505
HDFS-14313. Get hdfs used space from FsDatasetImpl#volumeMap#ReplicaInfo in memory instead of df/du. Contributed by Lisheng Sun.
2019-08-07 23:01:51 +08:00
Weiwei Yang
567e1178d8
HDFS-12914. Block report leases cause missing blocks until next report. Contributed by Santosh Marella, He Xiaoqiao.
2019-08-06 14:30:17 -07:00
Erik Krogen
ee1547a807
HDFS-14697. Backport of HDFS-14513. FSImage which is saving should be clean while NameNode shutdown. Contributed by He Xiaoqiao.
2019-08-06 09:15:24 -07:00
Erik Krogen
a503662d6c
HDFS-14462 Ensure WebHDFS client throws the correct exception during writes. Contributed by Simbarashe Dzinamarira.
...
(cherry picked from e7a0b8aa83
)
(cherry picked from ba4ca7d996cafa1b1786249cae2b207f0eaa1070)
(cherry picked from da548cf263
)
(cherry picked from 055f824bcb
)
2019-08-02 11:53:34 -07:00
Erik Krogen
61581a86b2
HDFS-12703. Exceptions are fatal to decommissioning monitor. Contributed by He Xiaoqiao.
2019-07-29 14:36:57 -07:00
Wei-Chiu Chuang
27ead06a13
HDFS-14429. Block remain in COMMITTED but not COMPLETE caused by Decommission. Contributed by Yicong Cai.
2019-07-29 14:34:31 -07:00
Erik Krogen
653951e1f7
Revert "HDFS-14135. TestWebHdfsTimeouts Fails intermittently in trunk. Contributed by Ayush Saxena."
...
This reverts commit 3bfae20e94
.
2019-07-26 08:27:36 -07:00
Masatake Iwasaki
3bfae20e94
HDFS-14135. TestWebHdfsTimeouts Fails intermittently in trunk. Contributed by Ayush Saxena.
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 6b8107ad97
)
2019-07-26 09:54:27 +09:00
Erik Krogen
cf7b9a5bd5
HDFS-14547. Improve memory efficiency of quotas when storage type quotas are not set. Contributed by Jinglun.
2019-07-16 07:22:45 -07:00
Weiwei Yang
3f112e7347
HDFS-12748. NameNode memory leak when accessing webhdfs GETHOMEDIRECTORY. Contributed by Weiwei Yang.
...
(cherry picked from commit 6c8cfd135e
)
2019-07-11 10:07:47 +08:00
Yiqun Lin
78aebee5c5
HDFS-14632. Reduce useless #getNumLiveDataNodes call in SafeModeMonitor. Contributed by He Xiaoqiao.
...
(cherry picked from commit 993dc8726b
)
2019-07-10 10:58:59 +08:00
stack
a7c6d25dc3
HDFS-14483 Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9""
...
This is a revert of a revert, i.e. a reapplication of the HDFS-14483
patch. Original commit was missing the JIRA number.
Revert "Revert "Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9""
This reverts commit b26ad8a4c3
.
2019-07-09 08:58:16 -07:00
stack
b26ad8a4c3
Revert "Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9"
...
This reverts commit 4f09a6bcfd
.
2019-07-09 08:57:57 -07:00
sunlisheng
4f09a6bcfd
Backport HDFS-3246,HDFS-14111 ByteBuffer pread interface to branch-2.9
...
Signed-off-by: stack <stack@apache.org>
2019-07-09 08:54:37 -07:00
leosunli
0ff5db746e
HDFS-13694. Making md5 computing being in parallel with image loading.
...
(cherry picked from commit 9c90729486
)
2019-07-07 20:04:08 -07:00
Masatake Iwasaki
e61e52805f
HDFS-14629. Property value Hard Coded in DNConf.java. Contributed by hemanthboyina.
...
(cherry picked from commit 1c254a8ec7
)
2019-07-04 23:55:13 +09:00
Inigo Goiri
0272480e9f
HDFS-14247. Repeat adding node description into network topology. Contributed by HuangTao.
...
(cherry picked from commit 80b77deb42
)
(cherry picked from commit 9637124535
)
(cherry picked from commit 90b88db35d
)
(cherry picked from commit 9daa45f646
)
2019-06-24 21:17:38 -07:00
Wei-Chiu Chuang
bf63475e7a
HDFS-14303. check block directory logic not correct when there is only meta file, print no meaning warn log. Contributed by qiang Liu.
2019-06-20 21:06:06 -07:00
Wei-Chiu Chuang
f876e82abc
HDFS-14465. When the Block expected replications is larger than the number of DataNodes, entering maintenance will never exit. Contributed by Yicong Cai.
2019-06-20 19:36:44 -07:00
Zsolt Venczel
a68de43957
HDFS-14101. Random failure of testListCorruptFilesCorruptedBlock. Contributed by Zsolt Venczel, Nikhil Navadia.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Co-authored-by: Nikhil Navadia <nikhil.navadiya@cloudera.com>
(cherry picked from commit 7c00756aff
)
(cherry picked from commit 4ea3b04bf3
)
(cherry picked from commit 76faa41f18
)
2019-06-18 14:38:42 -07:00
Kitti Nanasi
abd11f9db1
HDFS-13770. dfsadmin -report does not always decrease "missing blocks (with replication factor 1)" metrics when file is deleted. Contributed by Kitti Nanasi.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-06-18 00:25:53 -07:00
Kihwal Lee
500dc05924
HDFS-14521. Suppress setReplication logging. Contributed by Kihwal Lee
...
(cherry picked from commit 9122b9b649
)
(cherry picked from commit fd8b8c7494
)
2019-05-30 17:37:38 -05:00
Ayush Saxena
c63049dfd4
HDFS-14512. ONE_SSD policy will be violated while write data with DistributedFileSystem.create(....favoredNodes). Contributed by Ayush Saxena.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c1caab40f2
)
(cherry picked from commit 2cd7577a5a
)
(cherry picked from commit 90cc5ddd49
)
(cherry picked from commit 942c5b04f2
)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
2019-05-29 21:11:15 -07:00
Siyao Meng
cecba551aa
HDFS-14514. Actual read size of open file in encryption zone still larger than listing size even after enabling HDFS-11402 in Hadoop 2. Contributed by Siyao Meng, Stephen O'Donnell.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Co-authored-by: Stephen O'Donnell <sodonnell@cloudera.com>
2019-05-29 17:28:49 -07:00
Takanobu Asanuma
e3d4f6bfed
HADOOP-16331. Fix ASF License check in pom.xml. Contributed by Akira Ajisaka.
...
Signed-off-by: Takanobu Asanuma <tasanuma@apache.org>
2019-05-29 17:41:21 +09:00
Akira Ajisaka
cea1b0000c
HADOOP-16323. https everywhere in Maven settings.
2019-05-27 15:28:54 +09:00
Erik Krogen
f024d27cd9
HDFS-14500. NameNode StartupProgress should not allow new steps in an already-completed phase. Contributed by Erik Krogen.
...
(cherry-picked from 55e0c134f0
)
(cherry-picked from c26cf22d6b
)
(cherry-picked from 9295e95174
)
2019-05-24 13:39:52 -07:00
Konstantin V Shvachko
2afc770443
HDFS-14502. keepResults option in NNThroughputBenchmark should call saveNamespace(). Contributed by Konstantin V Shvachko.
2019-05-24 12:43:12 -07:00
Wei-Chiu Chuang
380289a167
HDFS-13087. Snapshotted encryption zone information should be immutable. Contributed by LiXin Ge, Siyao Meng.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Co-authored-by: Siyao Meng <smeng@cloudera.com>
2019-05-24 18:36:53 +02:00
Puleya7
8579ab13cb
HDFS-14432. dfs.datanode.shared.file.descriptor.paths duplicated in hdfs-default.xml
...
Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
(cherry picked from commit 13907d8479
)
2019-04-17 21:58:43 +09:00
Wei-Chiu Chuang
8af767b069
HDFS-10477. Stop decommission a rack of DataNodes caused NameNode fail over to standby. Contributed by yunjiong zhao and Wei-Chiu Chuang.
2019-04-10 14:36:07 -07:00
Dinesh Chitlangia
66ac003128
HDFS-14414. Clean up findbugs warning in branch-2. Contributed by Dinesh Chitlangia.
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2019-04-08 10:47:13 -07:00
Chen Liang
dce76e0355
HDFS-14415. Backport HDFS-13799 to branch-2. Contributed by Chao Sun.
2019-04-05 11:27:37 -07:00
Akira Ajisaka
2abc7927d1
HDFS-14407. Fix misuse of SLF4j logging API in DatasetVolumeChecker#checkAllVolumes. Contributed by Wanqiang Ji.
...
(cherry picked from commit 67020f0950
)
2019-04-05 12:32:07 +09:00
Chen Liang
a5bca767f7
HDFS-14397. Backport HADOOP-15684 to branch-2. Contributed by Chao Sun.
2019-04-03 17:32:56 -07:00
Chen Liang
d6083e9920
HDFS-14399. Backport HDFS-10536 to branch-2. Contributed by Chao Sun.
2019-04-01 12:47:02 -07:00
Chen Liang
812e6d5c81
HDFS-14392. Backport HDFS-9787 to branch-2. Contributed by Chao Sun.
2019-03-28 19:07:58 -07:00
Chen Liang
99e41293ee
HDFS-14391. Backport HDFS-9659 to branch-2. Contributed by Chao Sun.
2019-03-28 10:39:45 -07:00
Chen Liang
7935485eec
HDFS-14205. Backport HDFS-6440 to branch-2. Contributed by Chao Sun.
2019-03-26 12:12:14 -07:00
Inigo Goiri
525f4e52f3
HDFS-14366. Improve HDFS append performance. Contributed by Chao Sun.
...
(cherry picked from commit ff06ef0631
)
2019-03-15 14:02:20 -07:00
Wei-Chiu Chuang
d71cfe1461
HDFS-14314. fullBlockReportLeaseId should be reset after registering to NN. Contributed by star.
...
(cherry picked from commit 387dbe587a
)
(cherry picked from commit e58ccca3ce
)
(cherry picked from commit d951497f57
)
(cherry picked from commit e23a448e0e
)
2019-03-04 11:30:56 -08:00
Masatake Iwasaki
9688ed3b48
HDFS-12729. Document special paths in HDFS. Contributed by Masatake Iwasaki.
...
(cherry picked from commit dc5af4c6b7
)
2019-01-29 01:45:30 +09:00
Wei-Chiu Chuang
10cc02f643
HDFS-14171. Performance improvement in Tailing EditLog. Contributed by Kenneth Yang.
...
(cherry picked from commit e9a005dfcf
)
(cherry picked from commit c48640ffbd
)
(cherry picked from commit f24684ca9c
)
(cherry picked from commit 054594c614
)
2018-12-28 10:46:38 -08:00
Yiqun Lin
50e11dc807
HDFS-13870. WebHDFS: Document ALLOWSNAPSHOT and DISALLOWSNAPSHOT API doc. Contributed by Siyao Meng.
...
(cherry picked from commit 0e36e935d9
)
2018-11-30 11:34:28 +08:00
Akira Ajisaka
6cae964f6c
Add 2.9.2 release notes and changes documents.
...
(cherry picked from commit 1a00b4e325
)
2018-11-20 14:30:09 +09:00
Vinayakumar B
c3f0681f99
HDFS-14056. Fix error messages in HDFS-12716. Contributed by Ayush Saxena.
...
(cherry picked from commit 886b935630bf2d46f4c6773de013c093d2e44c38)
2018-11-16 18:02:10 +05:30
Vinayakumar B
bc4098eb07
HDFS-13963. NN UI is broken with IE11. Contributed by Ayush Saxena.
...
(cherry picked from commit 8571507efa
)
2018-11-16 17:43:49 +05:30
Inigo Goiri
d9b3b58389
HDFS-14048. DFSOutputStream close() throws exception on subsequent call after DataNode restart. Contributed by Erik Krogen.
2018-11-06 12:16:46 -08:00
Inigo Goiri
98075d9224
HDFS-14043. Tolerate corrupted seen_txid file. Contributed by Lukas Majercak.
...
(cherry picked from commit f3296501e0
)
(cherry picked from commit 9bf4f3d614
)
2018-11-05 16:56:37 -08:00
Akira Ajisaka
c19baf19da
Addendum: Fix potential FSImage corruption. Contributed by Xiao Chen.
...
(cherry picked from commit dd70b1f538
)
2018-10-31 17:04:06 +09:00
Vinayakumar B
e212d7d81f
Fix potential FSImage corruption. Contributed by Daryn Sharp.
2018-10-15 16:04:34 +05:30
Yiqun Lin
c632c6e6e9
HDFS-13768. Adding replicas to volume map makes DataNode start slowly. Contributed by Surendra Singh Lilhore.
2018-10-09 10:20:37 +08:00
Chen Liang
3a6ad9cd3d
HADOOP-15726. Create utility to limit frequency of log statements. Contributed by Erik Krogen.
2018-09-20 10:00:13 -07:00
Arpit Agarwal
0dd686114f
HADOOP-15772. Remove the 'Path ... should be specified as a URI' warnings on startup. Contributed by Ayush Saxena.
...
(cherry picked from commit 2eb597b151
)
2018-09-19 13:49:16 -07:00
Inigo Goiri
3e476dcae8
HDFS-13908. TestDataNodeMultipleRegistrations is flaky. Contributed by Ayush Saxena.
...
(cherry picked from commit 56e0d635e0
)
2018-09-19 09:32:35 -07:00
Inigo Goiri
9bd2616138
HDFS-13844. Fix the fmt_bytes function in the dfs-dust.js. Contributed by yanghuafeng.
...
(cherry picked from commit a9c1c55cafc0338bb35d2991f217d4157463f1d3)
2018-09-17 14:40:00 -07:00