4658 Commits

Author SHA1 Message Date
Jing Zhao
e03d8ff488 HDFS-11395. RequestHedgingProxyProvider#RequestHedgingInvocationHandler hides the Exception thrown from NameNode. Contributed by Nandakumar.
(cherry picked from commit 55796a0946f80a35055701a34379e374399009c5)
2017-03-13 14:26:44 -07:00
Yiqun Lin
7a65601dd9 HDFS-11512. Increase timeout on TestShortCircuitLocalRead#testSkipWithVerifyChecksum. Contributed by Eric Badger.
(cherry picked from commit 79924266f8f68e5e7c873e6b12e3b3acfcd708da)
2017-03-13 18:24:50 +08:00
Lei Xu
ee1d3105c2 HDFS-11340. DataNode reconfigure for disks doesn't remove the failed volumes. (Manoj Govindassamy via lei) 2017-03-10 14:37:58 -08:00
Arpit Agarwal
5cdcda34a2 HDFS-11477. Simplify file IO profiling configuration. Contributed by Hanisha Koneru. 2017-03-09 14:34:10 -08:00
Arpit Agarwal
b6c4776911 HDFS-11461. DataNode Disk Outlier Detection. Contributed by Hanisha Koneru. 2017-03-09 12:59:48 -08:00
Masatake Iwasaki
60be2e5d8a HDFS-11499. Decommissioning stuck because of failing recovery. Contributed by Lukas Majercak and Manoj Govindassamy.
(cherry picked from commit 385d2cb777a0272ac20c62336c944fad295d5d12)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
2017-03-09 23:37:04 +09:00
Arpit Agarwal
8dc8ecbb91 HDFS-10838. Last full block report received time for each DN should be easily discoverable. Contributed by Surendra Singh Lilhore. 2017-03-06 16:40:00 -08:00
Andrew Wang
6e75c1e2f0 HDFS-11498. Make RestCsrfPreventionHandler and WebHdfsHandler compatible with Netty 4.0.
(cherry picked from commit 5e74196ede9bfc20eb6d6fe3aa6a0e5c47a40fdd)
2017-03-06 15:04:29 -08:00
Yiqun Lin
5b49a96328 HDFS-8741. Proper error msg to be printed when invalid operation type is given to WebHDFS operations. Contributed by Surendra Singh Lilhore.
(cherry picked from commit 3536ce031ca780d6de83cf67779f571a0142ccc8)
2017-03-06 19:05:43 +08:00
Yiqun Lin
2288857e3b HDFS-11494. Log message when DN is not selected for block replication. Contributed by Yiqun Lin. 2017-03-04 13:41:49 +08:00
Jing Zhao
30b43a2d4e HDFS-11476. Fix NPE in FsDatasetImpl#checkAndUpdate. Contributed by Xiaobing Zhou.
(cherry picked from commit ac5ae0065a127ac150a887fa6c6f3cffd86ef733)
2017-03-03 13:35:13 -08:00
Andrew Wang
d737a26c5a Revert "HDFS-11477. Simplify file IO profiling configuration. Contributed by Hanisha Koneru."
This reverts commit 5e760f8dc4bc007bd839f33fe4a99fa603755149.
2017-03-02 16:21:32 -08:00
Arpit Agarwal
5e760f8dc4 HDFS-11477. Simplify file IO profiling configuration. Contributed by Hanisha Koneru. 2017-03-02 15:38:32 -08:00
Ming Ma
8ce4863103 HDFS-11412. Maintenance minimum replication config value allowable range should be [0, DefaultReplication]. (Manoj Govindassamy via mingma) 2017-03-02 11:06:48 -08:00
John Zhuge
cacaa299cf HDFS-11418. HttpFS should support old SSL clients. Contributed by John Zhuge.
Change-Id: I05b1228f7f168e9b5904365ba9e81be3f29dce74
2017-03-01 19:45:25 -08:00
Brahma Reddy Battula
a545ee4d7f HDFS-11432. Federation : Support fully qualified path for Quota/Snapshot/cacheadmin/cryptoadmin commands. Contributed by Brahma Reddy Battula.
(cherry picked from commit dcd03df9f9e0080d7e179060ffc8148336c31b3e)
2017-03-01 10:47:47 +05:30
Zhe Zhang
5fb785e154 HDFS-11466. Change dfs.namenode.write-lock-reporting-threshold-ms default from 1000ms to 5000ms. Contributed by Andrew Wang.
(cherry picked from commit d269b488a71a158d3ddcbdea96992abe29725c69)
2017-02-28 09:02:59 -08:00
Wei-Chiu Chuang
f3cdf29af4 HDFS-8498. Blocks can be committed with wrong size. Contributed by Jing Zhao. 2017-02-25 21:13:51 -08:00
Arpit Agarwal
98af813098 HDFS-11462. Fix occasional BindException in TestNameNodeMetricsLogger. 2017-02-24 19:53:45 -08:00
Yiqun Lin
31f9ef2203 HDFS-11433. Document missing usages of OfflineEditsViewer processors. Contributed by Yiqun Lin.
(cherry picked from commit 4a58870a0427ecdf4c5c895088b96a0b4d1c0c19)
2017-02-25 10:03:02 +08:00
Arpit Agarwal
fa86ec99a1 HDFS-11295. Check storage remaining instead of node remaining in BlockPlacementPolicyDefault.chooseReplicaToDelete(). Contributed by Marton Elek. 2017-02-24 15:44:19 -08:00
Akira Ajisaka
bd3c2a2ee9 HDFS-10620. StringBuilder created and appended even if logging is disabled. Contributed by Staffan Friberg. 2017-02-25 04:17:17 +09:00
Andrew Wang
6c5fd82773 HDFS-11438. Fix typo in error message of StoragePolicyAdmin tool. Contributed by Alison Yu.
(cherry picked from commit d150f061f4ebde923fda28ea898a9606b8789758)
2017-02-22 15:16:12 -08:00
Ming Ma
0add328c8c HDFS-11411. Avoid OutOfMemoryError in TestMaintenanceState test runs. (Manoj Govindassamy via mingma)
(cherry picked from commit cfcd527323352cf2a851c5c41f5d243d375d88d0)
2017-02-22 09:42:47 -08:00
Andrew Wang
4428c3da69 HDFS-11406. Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp. Contributed by Alison Yu.
(cherry picked from commit 8ef7ebbc7112e1868c9b12ff1df4a40fe7afa8af)
2017-02-21 14:54:32 -08:00
Eric Payne
41d31588d1 HDFS-11404. Increase timeout on TestShortCircuitLocalRead.testDeprecatedGetBlockLocalPathInfoRpc. Contributed by Eric Badger
(cherry picked from commit a07ddef10115fd0082832f1c338b2484507a8f49)
2017-02-21 12:09:29 -06:00
Vinayakumar B
00ca9f1792 HDFS-11177. 'storagepolicies -getStoragePolicy' command should accept URI based path. (Contributed by Surendra Singh Lilhore)
(cherry picked from commit 480405063063f564ae0cdb34e0757ac3990569aa)
2017-02-21 18:15:03 +05:30
Xiao Chen
06386b7e78 HDFS-11410. Use the cached instance when edit logging SetAclOp, SetXAttrOp and RemoveXAttrOp.
(cherry picked from commit 02c549484a4fe6215c7f1a18d89389dbba6ea723)
2017-02-16 18:08:16 -08:00
Ming Ma
0f8b99fd34 HDFS-11265. Extend visualization for Maintenance Mode under Datanode tab in the NameNode UI. (Marton Elek via mingma)
(cherry picked from commit a136936d018b5cebb7aad9a01ea0dcc366e1c3b8)
2017-02-15 20:25:04 -08:00
Mingliang Liu
96be70513a HDFS-11375. Display the volume storage type in datanode UI. Contributed by Surendra Singh Lilhore
(cherry picked from commit 0741dd3b9abdeb65bb783c1a8b01f078c4bdba17)
2017-02-15 12:34:43 -08:00
Wei-Chiu Chuang
a8531d5d52 HDFS-11333. Print a user friendly error message when plugins are not found. Contributed by Wei-Chiu Chuang.
(cherry picked from commit 859bd159ae554174200334b5eb1d7e8dbef958ad)
2017-02-15 02:59:45 -08:00
Yongjun Zhang
eb5500f0e7 HDFS-11391. Numeric usernames do no work with WebHDFS FS write access. (Pierre Villard via Yongjun Zhang)
(cherry picked from commit 8e53f2b9b08560bf4f8e81e697063277dbdc68f9)
2017-02-14 14:11:45 -08:00
Xiaoyu Yao
d72f1c5976 HDFS-11409. DatanodeInfo getNetworkLocation and setNetworkLocation shoud use volatile instead of synchronized. Contributed by Chen Liang.
(cherry picked from commit aaf27132350547fcde1fdb372f19626838f44bc4)
2017-02-14 12:55:49 -08:00
Xiao Chen
92dbdbc490 HDFS-11390. Add process name to httpfs process. Contributed by Weiwei Yang. 2017-02-14 09:46:55 -08:00
Wei-Chiu Chuang
8e291e1015 HDFS-11084. Add a regression test for sticky bit support of OIV ReverseXML processor. Contributed by Wei-Chiu Chuang.
(cherry picked from commit 89cadb42111e4ffbd3f4bde8250013bba23eb51e)
2017-02-14 09:08:37 -08:00
Kihwal Lee
33c62d2d19 HDFS-11379. DFSInputStream may infinite loop requesting block locations. Contributed by Daryn Sharp. 2017-02-10 12:52:14 -06:00
Yiqun Lin
26bed5ce53 HDFS-11377. Balancer hung due to no available mover threads. Contributed by yunjiong zhao.
(cherry picked from commit 9cbbd1eae893b21212c9bc9e6745c6859317a667)
2017-02-06 13:18:14 +08:00
Arpit Agarwal
f17d3eddcf HDFS-11387. Socket reuse address option is not honored in PrivilegedNfsGatewayStarter. Contributed by Mukul Kumar Singh. 2017-02-03 12:28:17 -08:00
Xiao Chen
b0a1703f10 HDFS-11363. Need more diagnosis info when seeing Slow waitForAckedSeqno.
(cherry picked from commit 0914fcca312b5e9d20bcf1b6633bc13c9034ba46)
2017-02-02 10:09:20 -08:00
Arpit Agarwal
b64d9093e1 HDFS-11112. Journal Nodes should refuse to format non-empty directories. Contributed by Yiqun Lin. 2017-02-01 16:52:07 -08:00
Lei Xu
d258077bc1 HDFS-11335. Remove HdfsClientConfigKeys.DFS_CLIENT_SLOW_IO_WARNING_THRESHOLD_KEY usage from DNConf. (Manoj Govindassamy via lei)
(cherry picked from commit bec9b7aa1dd3ed95b8783597135f8d90b3cc8dcd)
2017-02-01 14:44:08 +08:00
Karthik Kambatla
8b01d5cbba HDFS-11378. Addendum to fix branch-2 compilation. Verify multiple DataNodes can be decommissioned/maintenance at the same time. (Manoj Govindassamy via kasha) 2017-01-29 11:18:54 -08:00
Ming Ma
34f9ceab4a HDFS-11378. Verify multiple DataNodes can be decommissioned/maintenance at the same time. (Manoj Govindassamy via mingma)
(cherry picked from commit 312b36d113d83640b92c62fdd91ede74bd04c00f)
2017-01-27 16:17:51 -08:00
Masatake Iwasaki
528bff9c42 HDFS-9884. Use doxia macro to generate in-page TOC of HDFS site documentation. (iwasakims) 2017-01-28 08:11:40 +09:00
Anu Engineer
d20dc8691e HDFS-9911. TestDataNodeLifeline Fails intermittently. Contributed by Yiqun Lin
(cherry picked from commit a95639068c99ebcaefe8b6c4268449d12a6577d6)
2017-01-27 20:55:59 +00:00
Arpit Agarwal
17d4ba26fc HDFS-11374. Skip FSync in CreateEditsLog to speed up edit log generation. Contributed by Hanisha Koneru. 2017-01-26 16:21:38 -08:00
Xiao Chen
67d2875f8f Revert "HDFS-8377. Support HTTP/2 in datanode. Contributed by Duo Zhang."
This reverts commit f70b9d92413940739ed6f6cd468e6d09702939d1.
2017-01-26 14:21:17 -08:00
Xiao Chen
827cd30923 HDFS-11364. Add a test to verify Audit log entries for setfacl/getfacl commands over FS shell. Contributed by Manoj Govindassamy.
(cherry picked from commit 44606aa8508a6e98219b8330e625c8d397bfb067)
2017-01-26 10:58:17 -08:00
Arpit Agarwal
deb3ef4587 HDFS-11369. Change exception message in StorageLocationChecker. 2017-01-26 09:12:46 -08:00
Zhe Zhang
558fee285a HDFS-10534. NameNode WebUI should display DataNode usage histogram. Contributed by Kai Sasaki.
(cherry picked from commit 18e1d6820926646999e7ec248c504b4145cf1a76)
2017-01-25 10:39:11 -08:00