Zhe Zhang
|
b8b4ea67d8
|
HDFS-9804. Allow long-running Balancer to login with keytab. Contributed by Xiao Chen.
(cherry picked from commit ccff6035f50769eb69701128ae61efc69e82609d)
(cherry picked from commit 7d402692b4b06af0459ea81129e93a5182291a27)
|
2016-08-11 12:42:17 -07:00 |
|
Wei-Chiu Chuang
|
65e3657149
|
HDFS-8897. Balancer should handle fs.defaultFS trailing slash in HA. Contributed by John Zhuge.
(cherry picked from commit f1d5a95cf31f593f362a4e9c0afa7587f6e14957)
|
2016-08-10 22:30:06 -07:00 |
|
Xiaoyu Yao
|
7a1a3f7754
|
HDFS-10643. Namenode should use loginUser(hdfs) to generateEncryptedKey. Contributed by Xiaoyu Yao.
(cherry picked from commit ec289bbeceff064ad24e189db20a3e0a296822c1)
|
2016-08-10 15:56:56 -07:00 |
|
Xiaoyu Yao
|
8808df09c6
|
Revert "Namenode should use loginUser(hdfs) to generateEncryptedKey. Contributed by Xiaoyu Yao."
This reverts commit 9f816d7ca74c6e6c43ecfc8770228c518620c9cb.
(cherry picked from commit fdafd0cb4f1626ee41539f4b80711c4e78e3e16c)
|
2016-08-10 15:56:43 -07:00 |
|
Xiaoyu Yao
|
c0e331935d
|
Namenode should use loginUser(hdfs) to generateEncryptedKey. Contributed by Xiaoyu Yao.
(cherry picked from commit 9f816d7ca74c6e6c43ecfc8770228c518620c9cb)
|
2016-08-10 15:19:10 -07:00 |
|
Wei-Chiu Chuang
|
753edc4931
|
HDFS-8224. Schedule a block for scanning if its metadata file is corrupt. Contributed by Rushabh S Shah.
(cherry picked from commit 8efd4959f3fd48fe281aa26a46668071461dee8b)
|
2016-08-10 11:39:12 -07:00 |
|
Yuanbo Liu
|
d46f5ca7e2
|
HDFS-10694. processReport() should print blockReportId in each log message. Contributed by Yuanbo Liu.
(cherry picked from commit 10e84c6a6e831fe2bea061fb21bd0dfe32bc9953)
|
2016-08-10 11:12:21 -07:00 |
|
Konstantin V Shvachko
|
6b3114a2a5
|
HDFS-10693. metaSave should print blocks, not LightWeightHashSet. Contributed by Yuanbo Liu.
(cherry picked from commit 4d3af47f2765f6f57936d316ef2a4150b787cc97)
|
2016-08-07 14:36:24 -07:00 |
|
Kihwal Lee
|
5b3deac2e3
|
HDFS-9958. BlockManager#createLocatedBlocks can throw NPE for corruptBlocks on failed storages. Contributed by Kuhu Shukla.
(cherry picked from commit f715f141856cb6a4c6574893f40f9865653b631e)
|
2016-08-05 11:43:43 -05:00 |
|
Akira Ajisaka
|
5758026833
|
HDFS-10715. NPE when applying AvailableSpaceBlockPlacementPolicy. Contributed by Guangbin Zhu.
(cherry picked from commit ef432579a7763cc0e482fe049027c6e5325eb034)
(cherry picked from commit 68638661271e6e69c220b19fec7cbc7ae5e6208e)
|
2016-08-05 17:33:07 +09:00 |
|
Kihwal Lee
|
e8cd1439d3
|
HDFS-10343. BlockManager#createLocatedBlocks may return blocks on failed storages. Contributed by Kuhu Shukla.
(cherry picked from commit 57369a678c4c51627fe9a654e697a906a6bef123)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
(cherry picked from commit 690ec789f0448d9d2b908562f54a1731ed9e97aa)
|
2016-08-04 15:27:51 -05:00 |
|
Kihwal Lee
|
eb9af6ca34
|
HDFS-10717. Fix findbugs warnings of hadoop-hdfs-client in branch-2. Contributed by Akira Ajisaka.
(cherry picked from commit 6ead6f3bb83b5c27d884401fb950b5b629fec7ec)
|
2016-08-04 12:36:51 -05:00 |
|
Arpit Agarwal
|
f3424d662a
|
HDFS-10722. Fix build break.
|
2016-08-04 10:28:43 -07:00 |
|
Kihwal Lee
|
3a85aea42d
|
HDFS-10722. Fix race condition in TestEditLog#testBatchedSyncWithClosedLogs. Contributed by Daryn Sharp.
(cherry picked from commit 4a8e6dc02fb1d0dc89c3981b444575494511444a)
|
2016-08-04 11:56:26 -05:00 |
|
Tsz-Wo Nicholas Sze
|
cefa21e98a
|
In Balancer, the target task should be removed when its size < 0. Contributed by Yiqun Lin
|
2016-08-04 09:54:15 -07:00 |
|
Kihwal Lee
|
58df27b873
|
HDFS-10662. Optimize UTF8 string/byte conversions. Contributed by Daryn Sharp.
(cherry picked from commit 6ae39199dac6ac7be6802b31452552c76da16e24)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirWriteFileOp.java
(cherry picked from commit 77b61d1f4e34de9fed3dd6167fa93bb35e85e038)
|
2016-08-04 09:45:03 -05:00 |
|
Kihwal Lee
|
804db5b277
|
HDFS-10707. Replace org.apache.commons.io.Charsets with java.nio.charset.StandardCharsets. Contributed by Vincent Poon.
(cherry picked from commit c0166b074382576da2aaa0eb76965abe91ed4115)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/webhdfs/WebHdfsHandler.java
|
2016-08-04 09:35:16 -05:00 |
|
Kihwal Lee
|
ceac628378
|
HDFS-10569. A bug causes OutOfIndex error in BlockListAsLongs. Contributed by Weiwei Yang.
(cherry picked from commit 6f63566694f8cec64a469448a8fa00ce921ce367)
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/protocol/TestBlockListAsLongs.java
(cherry picked from commit 1ca2ab4013268ccab72e88a311a37262dcd867b9)
|
2016-08-03 15:28:13 -05:00 |
|
Jing Zhao
|
5bdee64bde
|
HDFS-10710. In BlockManager#rescanPostponedMisreplicatedBlocks(), postponed misreplicated block counts should be retrieved within the NN lock protection.Contributed by GAO Rui.
(cherry picked from commit f4ba5ff1d70ef92d59851c09c4bd4b43d6c04971)
(cherry picked from commit 180a26d9fb2b3f4a0632e1379f867020326c7702)
|
2016-08-03 12:44:49 -07:00 |
|
Kihwal Lee
|
33a87ffe10
|
HDFS-742. A down DataNode makes Balancer to hang on repeatingly asking NameNode its partial block list. Contributed by Mit Desai.
(cherry picked from commit 58db263e93daf08280e6a586a10cebd6122cf72a)
|
2016-08-03 12:19:05 -05:00 |
|
Kihwal Lee
|
288f9ccde2
|
HDFS-5805. TestCheckpoint.testCheckpoint fails intermittently on branch-2. Contributed by Eric Badger.
(cherry picked from commit 5e5b8793fba8e25aeba7a74878da4cf8e806f061)
|
2016-08-02 15:43:11 -05:00 |
|
Konstantin V Shvachko
|
9b3b7703b1
|
Revert "HDFS-10301. Interleaving processing of storages from repeated block reports causes false zombie storage detection, removes valid blocks. Contributed by Vinitha Gankidi."
This reverts commit 9ab153d7ae47c9998816950745b04824b3332608.
|
2016-08-01 22:48:09 -07:00 |
|
Daryn Sharp
|
ecb143ed21
|
HDFS-10655. Fix path related byte array conversion bugs. (daryn)
(cherry picked from commit 9f473cf903e586c556154abd56b3a3d820c6b028)
|
2016-08-01 10:18:45 -05:00 |
|
Yongjun Zhang
|
cc066de22c
|
HDFS-10703. HA NameNode Web UI should show last checkpoint time. (John Zhuge via Yongjun Zhang)
(cherry picked from commit 8d32bd884d53948728b77de14531b3be196f4bc7)
|
2016-07-29 23:47:46 -07:00 |
|
Akira Ajisaka
|
e467f838bb
|
HDFS-10691. FileDistribution fails in hdfs oiv command due to ArrayIndexOutOfBoundsException. Contributed by Yiqun Lin.
(cherry picked from commit 204a2055b1b9270ae13ea03b7aeac62b65166efd)
(cherry picked from commit 0cff416c35528ed33e87f8401a49503a44f992b0)
|
2016-07-29 15:41:17 +09:00 |
|
Xiaoyu Yao
|
ac510e5cd0
|
HDFS-10676. Add namenode metric to measure time spent in generating EDEKs. Contributed by Hanisha Koneru.
|
2016-07-28 16:16:44 -07:00 |
|
Akira Ajisaka
|
960caf624d
|
HDFS-10696. TestHDFSCLI fails. Contributed by Kai Sasaki.
(cherry picked from commit 414fbfab41470923eb82a21628709e51fd3a3f6e)
(cherry picked from commit ab49c2b39943eb5a3510d22c09ae5630232bdddc)
|
2016-07-28 16:59:49 +09:00 |
|
Yongjun Zhang
|
71c49b1786
|
HDFS-10667. Report more accurate info about data corruption location. (Yuanbo Liu via Yongjun Zhang)
(cherry picked from commit eb7ff0c9927131f4a797148b970a95a1abf7d847)
|
2016-07-27 15:49:56 -07:00 |
|
Brahma Reddy Battula
|
5dc29ab0f2
|
HDFS-10668. Fix intermittently failing UT TestDataNodeMXBean#testDataNodeMXBeanBlockCount. Contributed by Mingliang Liu.
(cherry picked from commit 096d3fa25cbbdda4fa2ad30ea5a76f33e2631c7d)
|
2016-07-27 10:31:29 +05:30 |
|
Arpit Agarwal
|
45a6ee97b2
|
HDFS-10642. TestLazyPersistReplicaRecovery#testDnRestartWithSavedReplicas fails intermittently. (Contributed by Mingliang Liu)
|
2016-07-26 12:45:06 -07:00 |
|
Wei-Chiu Chuang
|
53bf632702
|
HDFS-9937. Update dfsadmin command line help and HdfsQuotaAdminGuide. Contributed by Kai Sasaki.
(cherry picked from commit 25f0a9b3ab136d44f70eb2805598e2df8325612a)
|
2016-07-26 08:31:00 -07:00 |
|
Steve Loughran
|
7921ad949f
|
Revert "HDFS-10668. Fix intermittently failing UT TestDataNodeMXBean#testDataNodeMXBeanBlockCount. Contributed by Mingliang Liu."
This reverts commit 32468b1ba5fe5e00e92656a8bf1591114383d7b3.
|
2016-07-26 14:31:02 +01:00 |
|
Masatake Iwasaki
|
6b5d546014
|
HDFS-10671. Fix typo in HdfsRollingUpgrade.md. Contributed by Yiqun Lin.
(cherry picked from commit 59466b8c180716dda7aa670728580a88e54eb4d2)
|
2016-07-26 19:52:23 +09:00 |
|
Brahma Reddy Battula
|
32468b1ba5
|
HDFS-10668. Fix intermittently failing UT TestDataNodeMXBean#testDataNodeMXBeanBlockCount. Contributed by Mingliang Liu.
(cherry picked from commit 7cac7655fd84ac394250705b31e3927fe548e34a)
|
2016-07-26 11:00:11 +05:30 |
|
Akira Ajisaka
|
e377e94f64
|
Revert "HDFS-10620. StringBuilder created and appended even if logging is disabled. Contributed by Staffan Friberg."
This reverts commit 91f47ab5f97989872339a934ea351bf68a077553.
|
2016-07-26 11:06:10 +09:00 |
|
Vinitha Reddy Gankidi
|
9ab153d7ae
|
HDFS-10301. Interleaving processing of storages from repeated block reports causes false zombie storage detection, removes valid blocks. Contributed by Vinitha Gankidi.
|
2016-07-25 18:59:42 -07:00 |
|
Jing Zhao
|
62800dc8b6
|
HDFS-10688. BPServiceActor may run into a tight loop for sending block report when hitting IOException. Contributed by Chen Liang.
(cherry picked from commit 0cde9e12a7175e4d8bc4ccd5c36055b280d1fbd6)
(cherry picked from commit 30c772fc595b71d3b26a13bd0473570a84b5e807)
|
2016-07-25 18:44:06 -07:00 |
|
Arpit Agarwal
|
00cbd3136e
|
HDFS-10660. Expose storage policy apis via HDFSAdmin interface. (Contributed by Rakesh R)
|
2016-07-25 09:51:59 -07:00 |
|
Jing Zhao
|
54be36a6d6
|
HDFS-9894. Add unsetStoragePolicy API to FileContext/AbstractFileSystem and derivatives. Contributed by Xiaobing Zhou.
(cherry picked from commit 7149cdb3c2d9dd390cd8668883cbe5db94090e0a)
|
2016-07-25 09:51:59 -07:00 |
|
Arpit Agarwal
|
bbf711c030
|
HDFS-9534. Add CLI command to clear storage policy from a path. (Contributed by Xiaobing Zhou)
|
2016-07-25 09:51:59 -07:00 |
|
Xiao Chen
|
8559442ed1
|
HDFS-10225. DataNode hot swap drives should disallow storage type changes. Contributed by Lei (Eddy) Xu.
(cherry picked from commit 132deb4cacc413a85a6af2f390ec79a76c91961c)
|
2016-07-22 15:04:21 -07:00 |
|
Jing Zhao
|
6a7fe835f1
|
HDFS-10653. Optimize conversion from path string to components. Contributed by Daryn Sharp.
(cherry picked from commit bd3dcf46e263b6e6aa3fca6a5d9936cc49e3280f)
|
2016-07-21 11:29:27 -07:00 |
|
Akira Ajisaka
|
2f14d585c4
|
HDFS-10287. MiniDFSCluster should implement AutoCloseable. Contributed by Andras Bokor.
(cherry picked from commit fcde6940e0cbdedb1105007e4857137ecdfa1284)
(cherry picked from commit 1222889f1a3b45df30c48a80d8c2bec7ad45ee43)
|
2016-07-21 11:28:46 -07:00 |
|
Akira Ajisaka
|
91f47ab5f9
|
HDFS-10620. StringBuilder created and appended even if logging is disabled. Contributed by Staffan Friberg.
(cherry picked from commit f7dabe3addf3f6eb32ea9b8ec1354fb442ce4222)
(cherry picked from commit 2685e16f381532d53aea413ce1c0a14181ee7c89)
|
2016-07-19 15:19:02 -07:00 |
|
Akira Ajisaka
|
d8181a8cb8
|
HDFS-10603. Fix flaky tests in org.apache.hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot. Contributed by Yiqun Lin.
(cherry picked from commit fc570b55b9d1d1d57329eca223f443e2c86f34b7)
(cherry picked from commit c92601e9814a041800e466fabdcc3c44309364c4)
|
2016-07-19 13:52:17 -07:00 |
|
Jitendra Pandey
|
a363277be5
|
HADOOP-13368. DFSOpsCountStatistics$OpType#fromSymbol and s3a.Statistic#fromSymbol should be O(1) operation. Contributed by Mingliang Liu.
|
2016-07-15 14:32:20 -07:00 |
|
Akira Ajisaka
|
83126ac90d
|
HDFS-10628. Log HDFS Balancer exit message to its own log. Contributed by Jiayi Zhou.
(cherry picked from commit c48e9d608c1daf7826f2e738c0a67d8eab79d8de)
(cherry picked from commit 617149837531062e4e1ee9eeb50a324766b14c60)
|
2016-07-15 11:43:54 -07:00 |
|
Akira Ajisaka
|
6a04d9ab63
|
HADOOP-13351. TestDFSClientSocketSize buffer size tests are flaky. Contributed by Aaron Fabbri and Mingliang Liu.
(cherry picked from commit 5537c6b23430285ebee33c6d9b69d3ec1e9b17b1)
(cherry picked from commit c9f5348bbfca664c6ab4c13f40cae0a2c5754da1)
|
2016-07-14 14:42:55 -07:00 |
|
Zhe Zhang
|
af94dfaa53
|
HDFS-10544. Balancer doesn't work with IPFailoverProxyProvider.
(cherry picked from commit 087290e6b1cb1082646d966b65494082712ebe3e)
(cherry picked from commit 5b4e916b3cae2540267d48716fd9240dfc055288)
|
2016-07-12 23:28:16 -07:00 |
|
Jitendra Pandey
|
35108025e7
|
HDFS-10579. HDFS web interfaces lack configs for X-FRAME-OPTIONS protection. Contributed by Anu Engineer.
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeHttpServer.java
|
2016-07-12 14:38:34 -07:00 |
|