7572 Commits

Author SHA1 Message Date
Siyao Meng
bba8971897 HDFS-14463. Add Log Level link under NameNode and DataNode Web UI Utilities dropdown. Contributed by Siyao Meng.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 7cb46f035a92056783bad23a9abc6a264d71285d)
2019-05-01 16:49:45 -07:00
Arpit Agarwal
db4c0b357d
HDFS-13677. Dynamic refresh Disk configuration results in overwriting VolumeMap. Contributed by xuzq.
(cherry picked from commit 4b4200f1f87ad40d9c19ba160f706ffd0470a8d4)
2019-04-29 14:54:30 -07:00
Puleya7
d724f74f6b 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 13907d847986aa14a51cc2a3cc83151f22c43781)
2019-04-17 21:55:45 +09:00
Akira Ajisaka
f020ac2c06
HDFS-14407. Fix misuse of SLF4j logging API in DatasetVolumeChecker#checkAllVolumes. Contributed by Wanqiang Ji.
(cherry picked from commit 67020f09502a4f07342dee457e47bb52b03441ae)
2019-04-05 12:30:46 +09:00
Stephen O'Donnell
388f445dde HDFS-14389. getAclStatus returns incorrect permissions and owner when an iNodeAttributeProvider is configured. Contributed by Stephen O'Donnell.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit c528e427aa6745434672b1c1850738795ad1d6d2)
2019-04-04 04:06:15 -07:00
Wei-Chiu Chuang
c8703dda07 HDFS-10477. Stop decommission a rack of DataNodes caused NameNode fail over to standby. Contributed by yunjiong zhao and Wei-Chiu Chuang.
(cherry picked from commit be488b6070a124234c77f16193ee925d32ca9a20)
2019-04-03 11:01:44 -07:00
Gabor Bota
67cdf807a2
HADOOP-16220. Add findbugs ignores for unjustified issues during update to guava to 27.0-jre in hadoop-project
This closes #665

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit 53a86e2b8ecb83b666d4ed223fc270e1a46642c1)
2019-04-01 13:52:19 +09:00
Takanobu Asanuma
162e9999c7 HDFS-14037. Fix SSLFactory truststore reloader thread leak in URLConnectionFactory.
(cherry picked from commit 55fb3c32fb48ca26a629d4d5f3f07e2858d09594)
2019-03-27 03:28:54 +09:00
Inigo Goiri
4eb0497091 HDFS-14366. Improve HDFS append performance. Contributed by Chao Sun.
(cherry picked from commit ff06ef0631cb8a0f67bbc39b5b5a1b0a81ca3b3c)
2019-03-15 13:58:03 -07:00
Erik Krogen
fec7c5f3eb HDFS-14346. Add better time precision to Configuration#getTimeDuration, allowing return unit and default unit to be specified independently. Contributed by Chao Sun.
(cherry picked from commit 66357574ae1da09ced735da36bf7d80a40c3fa1b)
2019-03-13 13:19:18 -07:00
Shweta Yakkali
1ceefa726e HDFS-14081. hdfs dfsadmin -metasave metasave_test results NPE. Contributed by Shweta Yakkali.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 1bea785020a538115b3e08f41ff88167033d2775)
2019-03-12 16:05:55 -07:00
Stephen O'Donnell
a21e2e4dbc HDFS-14333. Datanode fails to start if any disk has errors during Namenode registration. Contributed by Stephen O'Donnell.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 34b14061b38dccab25058dff1b8743d8a3f82734)
2019-03-12 10:18:56 -07:00
Erik Krogen
6d076dd5e8 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 1bc282e0b3f74968c92751f0972746b012e72810)
2019-03-07 08:42:41 -08:00
Wei-Chiu Chuang
e58ccca3ce HDFS-14314. fullBlockReportLeaseId should be reset after registering to NN. Contributed by star.
(cherry picked from commit 387dbe587aa66ac99ec5f5b50827ec3e0a327613)
2019-03-04 10:45:31 -08:00
Erik Krogen
af16db86d4 HDFS-14305. Fix serial number calculation in BlockTokenSecretManager to avoid token key ID overlap between NameNodes. Contributed by He Xiaoqiao. 2019-03-01 08:12:44 -08:00
Surendra Singh Lilhore
2e939515df HDFS-14216. NullPointerException happens in NamenodeWebHdfs. Contributed by lujie.
(cherry picked from commit 92b53c40f070bbfe65c736f6f3eca721b9d227f5)
2019-02-21 20:47:50 +05:30
Surendra Singh Lilhore
b93b127956 HDFS-14235. Handle ArrayIndexOutOfBoundsException in DataNodeDiskMetrics#slowDiskDetectionDaemon. Contributed by Ranith Sardar.
(cherry picked from commit 41e18feda3f5ff924c87c4bed5b5cbbaecb19ae1)
2019-02-20 17:12:58 +05:30
Surendra Singh Lilhore
f4b9ba230b HDFS-14263. Remove unnecessary block file exists check from FsDatasetImpl#getBlockInputStream(). Contributed by Surendra Singh Lilhore
(cherry picked from commit 29b411d5f065f177de05a69d2822836209f813c6)
2019-02-13 23:51:36 +05:30
Surendra Singh Lilhore
e163bf2258 HDFS-14274. EC: NPE While Listing EC Policy For A Directory Following Replication Policy. Contributed by Ayush Saxena.
(cherry picked from commit 35d4f32b32a3ba05332811caf3d245d9c3dcf1a5)
2019-02-13 23:21:37 +05:30
Vinayakumar B
890736828b HDFS-14266. EC : Fsck -blockId shows null for EC Blocks if One Block Is Not Available. Contributed by Ayush Saxena. 2019-02-12 21:58:59 +05:30
Surendra Singh Lilhore
2501fcd26b HDFS-14140. JournalNodeSyncer authentication is failing in secure cluster. Contributed by Surendra Singh Lilhore.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 4be87353e35a30d95d8847b09a1890b014bfc6bb)
2019-02-07 16:52:53 -08:00
Kitti Nanasi
38541b2375 HDFS-14231. DataXceiver#run() should not log exceptions caused by InvalidToken exception as an error. Contributed by Kitti Nanasi.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 49ddd8a6ed5b40d12defb0771b4c8b53d4ffde3f)
2019-02-05 15:15:04 -08:00
Wangda Tan
649da5af04 Make upstream aware of 3.1.2 release
Change-Id: I397bc6ef75498726df4763bd07a8bf8fe1c38365
(cherry picked from commit 308f3168fa221a336ef0dbb1a17358b1ad6f9356)
2019-02-05 14:05:51 -08:00
Steve Loughran
bdd17be9ec
HDFS-13713. Add specification of Multipart Upload API to FS specification, with contract tests.
Contributed by Ewan Higgs and Steve Loughran.

(cherry picked from commit c1d24f848345f6d34a2ac2d570d49e9787a0df6a)
2019-02-04 17:10:19 +00:00
Masatake Iwasaki
a86893f875 HDFS-12729. Document special paths in HDFS. Contributed by Masatake Iwasaki.
(cherry picked from commit dc5af4c6b7bdf437713a8c6ca3c535c4b6d6992e)
2019-01-29 02:28:18 +09:00
Dinesh Chitlangia
eb77e60163 HDFS-14228. Incorrect getSnapshottableDirListing() javadoc. Contributed by Dinesh Chitlangia.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
(cherry picked from commit 45caeee6cfcf1ae3355cd880402159cf31e94a8a)
2019-01-25 07:37:43 -08:00
Takanobu Asanuma
e88db02753 HDFS-14218. EC: Ls -e throw NPE when directory ec policy is disabled. Contributed by Ayush Saxena.
(cherry picked from commit 7d6792e5d2001e1a83ae75a4777324a3b01c557a)
2019-01-23 10:04:50 +09:00
Arpit Agarwal
8dd8121f7d HDFS-14221. Replace Guava Optional with Java Optional. Contributed by Arpit Agarwal.
(cherry picked from commit 1ff658b2ef3fb933897712c728bc628f3f44bded)
2019-01-21 20:46:50 -08:00
Arpit Agarwal
cd5e7f152f HDFS-14222. Make ThrottledAsyncChecker constructor public. Contributed by Arpit Agarwal.
(cherry picked from commit 6f0756fc0e43b785d3dee72a669997d934b57e4c)
2019-01-21 20:46:50 -08:00
Weiwei Yang
2253a86a3f HDFS-14207. ZKFC should catch exception when ha configuration missing. Contributed by Fei Hui.
(cherry picked from commit de34fc148ca4785c2ae7204df15096b955e671c4)
2019-01-22 12:08:03 +08:00
Surendra Singh Lilhore
5d2d0e74d5 HDFS-14198. Upload and Create button doesn't get enabled after getting reset. Contributed by Ayush Saxena.
(cherry picked from commit 9aeaaa0479ea6b4c4135214722c8c7c39fb17d75)
2019-01-11 14:55:18 +05:30
Akira Ajisaka
6bc2781b39
HDFS-14183. [SPS] Remove the -w parameter from the -satisfystoragepolicy usage. Contributed by Ayush Saxena.
(cherry picked from commit f30473f2ef10482976fa49730dd9a139417150dc)
2018-12-31 03:17:27 +09:00
Wei-Chiu Chuang
c48640ffbd HDFS-14171. Performance improvement in Tailing EditLog. Contributed by Kenneth Yang.
(cherry picked from commit e9a005dfcf4d2249235aeff4da85b321dddc1ca9)
2018-12-28 10:38:55 -08:00
Surendra Singh Lilhore
d2ec1ff020 HDFS-14046. In-Maintenance ICON is missing in datanode info page. Contributed by Ranith Sardar.
(cherry picked from commit 686fcd4db34dfe8642ff4b25fffbc73e42217f30)
2018-12-24 11:09:07 +05:30
Vinayakumar B
abe14d32d4 HDFS-14124. EC : Support EC Commands (set/get/unset EcPolicy) via WebHdfs. Contributed by Ayush Saxena.
(cherry picked from commit 39dc7345b80e27ba8bd1ff4c19ca241aef5ac0fc)
2018-12-11 18:10:51 +05:30
Tsz Wo Nicholas Sze
9d508f719b HDFS-14112. Avoid recursive call to external authorizer for getContentSummary. 2018-11-29 13:56:43 -08:00
Brahma Reddy Battula
e2fa9e8cdd HDFS-14095. EC: Track Erasure Coding commands in DFS statistics. Contributed by Ayush Saxena.
(cherry picked from commit f534736867eed962899615ca1b7eb68bcf591d17)
2018-11-30 00:28:04 +05:30
Vinayakumar B
538757ed49 HDFS-13816. dfs.getQuotaUsage() throws NPE on non-existent dir instead of FileNotFoundException. Contributed by Vinayakumar B.
(cherry picked from commit b09828145432c8d986ac8f05ec33608d8e611328)
2018-11-26 18:23:09 +05:30
Brahma Reddy Battula
7e10dd03b5 HDFS-14064. WEBHDFS: Support Enable/Disable EC Policy. Contributed by Ayush Saxena.
(cherry picked from commit 15d8f592b51d08a658e88c6a7a7596e0edf5793b)
2018-11-22 00:07:38 +05:30
Akira Ajisaka
f6227367fb
Add 2.9.2 release notes and changes documents.
(cherry picked from commit 1a00b4e325146988375c9ce5b11016c45f059a4e)
2018-11-20 14:25:48 +09:00
Vinayakumar B
7a2a806213 HDFS-14056. Fix error messages in HDFS-12716. Contributed by Ayush Saxena.
(cherry picked from commit 886b935630bf2d46f4c6773de013c093d2e44c38)
2018-11-16 18:01:43 +05:30
Vinayakumar B
71a6ec6058 HDFS-13963. NN UI is broken with IE11. Contributed by Ayush Saxena.
(cherry picked from commit 8571507efa3af3e4a5213a7e24c65e26162eac4d)
2018-11-16 17:29:25 +05:30
Xiao Chen
5afd7efe24 Revert "HDFS-13732. ECAdmin should print the policy name when an EC policy is set. Contributed by Zsolt Venczel."
This reverts commit 7dc79a8b5b7af0bf37d25a221be8ed446b0edb74.
2018-11-13 12:45:55 -08:00
Brahma Reddy Battula
5e86641265 HDFS-14070. Refactor NameNodeWebHdfsMethods to allow better extensibility. Contributed by CR Hota
(cherry picked from commit e7b63baca1e10b28d8b4462fd80537b871951aa3)
2018-11-13 13:09:03 +05:30
Arpit Agarwal
e6532f7eb2 HDFS-14065. Failed Storage Locations shows nothing in the Datanode Volume Failures. Contributed by Ayush Saxena.
(cherry picked from commit b6d4e19f34f474ea8068ebb374f55e0db2f714da)
2018-11-12 15:32:14 -08:00
Kitti Nanasi
57409874bb HDFS-14039. ec -listPolicies doesn't show correct state for the default policy when the default is not RS(6,3). Contributed by Kitti Nanasi.
Signed-off-by: Xiao Chen <xiao@apache.org>
(cherry picked from commit 8d99648c203004045a9339ad27258092969145d6)
2018-11-08 10:08:26 -08:00
Inigo Goiri
e7fba62e6a HDFS-14048. DFSOutputStream close() throws exception on subsequent call after DataNode restart. Contributed by Erik Krogen.
(cherry picked from commit 887244de4adebe27693ed4ad3296a6f700cfa8c1)
2018-11-06 11:20:06 -08:00
Inigo Goiri
378f189c4f HDFS-14043. Tolerate corrupted seen_txid file. Contributed by Lukas Majercak.
(cherry picked from commit f3296501e09fa7f1e81548dfcefa56f20fe337ca)
2018-11-05 16:49:12 -08:00
Giovanni Matteo Fumarola
6e1fad299a HDFS-14042. Fix NPE when PROVIDED storage is missing. Contributed by Virajith Jalaparti. 2018-11-05 11:33:32 -08:00
Xiao Chen
8788489df4 HDFS-14027. DFSStripedOutputStream should implement both hsync methods.
(cherry picked from commit db7e636824a36b90ba1c8e9b2fba1162771700fe)
2018-10-29 19:13:43 -07:00