Masatake Iwasaki
a9d957d77d
HADOOP-13439. Fix race between TestMetricsSystemImpl and TestGangliaMetrics. Contributed by Chen Liang.
...
(cherry picked from commit 8f9b61852bf6600b65e49875fec172bac9e0a85d)
2016-08-09 10:06:14 +09:00
Wei-Chiu Chuang
7b042c5c72
HADOOP-13395. Enhance TestKMSAudit. Contributed by Xiao Chen.
...
(cherry picked from commit 070548943a16370a74277d1b1d10b713e2ca81d0)
Conflicts:
hadoop-common-project/hadoop-kms/src/test/java/org/apache/hadoop/crypto/key/kms/server/TestKMSAudit.java
(cherry picked from commit cc20316b55ee108ccd880e8fb0565eacae2b90bd)
2016-08-08 15:18:19 -07:00
Arpit Agarwal
5006083806
HADOOP-13457. Remove hardcoded absolute path for shell executable. (Chen Liang)
2016-08-08 12:31:19 -07:00
Jitendra Pandey
f4bf3e22de
HADOOP-10823. TestReloadingX509TrustManager is flaky. Contributed by Mingliang Liu.
...
Conflicts:
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/ssl/TestReloadingX509TrustManager.java
2016-08-08 11:06:05 -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
Naganarasimha
8055ff1c3c
HADOOP-13353. LdapGroupsMapping getPassward shouldn't return null when IOException throws. Contributed by Wei-Chiu Chuang
2016-08-06 23:18:53 +05:30
Masatake Iwasaki
e1684f84e2
HADOOP-13418. Fix javadoc warnings by JDK8 in hadoop-nfs package. Contributed by Kai Sasaki.
...
(cherry picked from commit 10ed06a0c96cbb8b70e03deeb5bb94df700f9518)
2016-08-06 12:29:58 +09:00
Naganarasimha
e6a994badf
YARN-4624. NPE in PartitionQueueCapacitiesInfo while accessing Schduler UI. Contributed by Brahma Reddy Battula
...
(cherry picked from commit d81b8163b4e5c0466a6af6e1068f512c5fd24a61)
(cherry picked from commit 991823482f6687be681be69931e8a4646bc68a69)
2016-08-06 08:19:56 +05:30
Wei-Chiu Chuang
e7863da095
Revert "HADOOP-13353. LdapGroupsMapping getPassward shouldn't return null when IOException throws. Contributed by Zhaohao Liang and Wei-Chiu Chuang."
...
This reverts commit 7dbfe2f09963a6104f2b3b8c95015d4017bdc5d0.
2016-08-05 19:05:52 -07:00
Wei-Chiu Chuang
7dbfe2f099
HADOOP-13353. LdapGroupsMapping getPassward shouldn't return null when IOException throws. Contributed by Zhaohao Liang and Wei-Chiu Chuang.
...
(cherry picked from commit 49ba09a9221ad1e25e89800f6c455bbaad41483b)
(cherry picked from commit d875dfef3dfa91c3af6a90830a6d9c28df490db3)
2016-08-05 16:37:23 -07:00
Jason Lowe
470ea3da1f
YARN-4573. Fix test failure in TestRMAppTransitions#testAppRunningKill and testAppKilledKilled. (Takashi Ohnishi via rohithsharmaks)
...
(cherry picked from commit c01bee010832ca31d8e60e5461181cdf05140602)
Conflicts:
hadoop-yarn-project/CHANGES.txt
2016-08-05 20:10:04 +00: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
Arpit Agarwal
46c07bd021
HADOOP-13466. Add an AutoCloseableLock class. (Chen Liang)
2016-08-04 12:32:39 -07: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
ad29c96075
HADOOP-13467. Shell#getSignalKillCommand should use the bash builtin on Linux. (Arpit Agarwal)
2016-08-04 10:28:55 -07: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
1b97519987
HADOOP-13442. Optimize UGI group lookups. Contributed by Daryn Sharp.
...
(cherry picked from commit 94225152399e6e89fa7b4cff6d17d33e544329a3)
2016-08-04 10:49:19 -05: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
Akira Ajisaka
59693ebbd5
MAPREDUCE-6730. Use StandardCharsets instead of String overload in TextOutputFormat. Contributed by Sahil Kang.
...
This closes #114
(cherry picked from commit 70c278115249898132490a89a548fd936c09f54b)
(cherry picked from commit e54de94e5ab40405d837ee7664e90921f5bc38e4)
2016-08-04 20:18:37 +09: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
Jason Lowe
6fc68a379b
HADOOP-10980. TestActiveStandbyElector fails occasionally in trunk. Contributed by Eric Badger
...
(cherry picked from commit c82745432a962c817a8a7db92bb830fb6af01e33)
2016-08-03 20:20:24 +00:00
Jason Lowe
eef24f5d93
YARN-5469. Increase timeout of TestAmFilter.testFilter. Contributed by Eric Badger
...
(cherry picked from commit db4a61dc617954cf448a0d44cb4ac79f2abf9db3)
2016-08-03 19:54:00 +00: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
Jason Lowe
5883718eea
YARN-4717. TestResourceLocalizationService.testPublicResourceInitializesLocalDir fails Intermittently due to IllegalArgumentException from cleanup (templedf via rkanter)
...
(cherry picked from commit 22ca176dfe125a4f7bf38cc63ab8106c40a7a7ba)
2016-08-03 19:33:58 +00:00
Jason Lowe
c972498b74
YARN-5462. TestNodeStatusUpdater.testNodeStatusUpdaterRetryAndNMShutdown fails intermittently. Contributed by Eric Badger
...
(cherry picked from commit db646540f094077941b56ed681a4f3e5853f5b7f)
2016-08-03 19:19:47 +00:00
Jason Lowe
aca7eea611
YARN-4280. CapacityScheduler reservations may not prevent indefinite postponement on a busy cluster. Contributed by Kuhu Shukla
2016-08-03 19:01:14 +00:00
Wangda Tan
c322e749d6
YARN-5342. Improve non-exclusive node partition resource allocation in Capacity Scheduler. (Sunil G via wangda)
2016-08-03 11:29:12 -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
Chris Nauroth
5c0db4e522
HADOOP-13459. hadoop-azure runs several test cases repeatedly, causing unnecessarily long running time. Contributed by Chris Nauroth.
...
(cherry picked from commit 4ef1bc0bdb6b2c907431492e4c8395035fa96c84)
(cherry picked from commit 8ec3d702a38fdf0cd8b0b85cbe82c475ab2eaa8f)
2016-08-02 22:32:44 -07:00
Arpit Agarwal
ad653de2d7
HDFS-9353. Code and comment mismatch in JavaKeyStoreProvider. (Andras Bokor)
2016-08-02 15:18:24 -07:00
Arpit Agarwal
745ba1160b
HADOOP-13434. Add bash quoting to Shell class. (Owen O'Malley)
2016-08-02 13:43:50 -07: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
Chris Nauroth
06df0cd87f
HADOOP-13081. add the ability to create multiple UGIs/subjects from one kerberos login. Contributed by Sergey Shelukhin.
...
(cherry picked from commit 0458a2af6e925d023882714e8b7b0568eca7a775)
(cherry picked from commit ec522a19076314f309ef475a8fdf08ec840dafae)
2016-08-02 12:43:58 -07: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
Akira Ajisaka
f39ed9ea8e
HADOOP-13444. Replace org.apache.commons.io.Charsets with java.nio.charset.StandardCharsets. Contributed by Vincent Poon.
...
(cherry picked from commit 5469e128d3e1150b7bf72a4c036a3fbbddc7f7d7)
2016-08-02 10:18:52 +09: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
Akira Ajisaka
fa0b6ff97b
MAPREDUCE-6729. Accurately compute the test execute time in DFSIO. Contributed by mingleizhang.
...
This closes #112
(cherry picked from commit ce93595d7a18bd0561ae2c1983b51f6aba887179)
(cherry picked from commit 96d5607e7a2e6deebdb76858955127d09c125729)
2016-07-30 22:16:43 +09: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
19062df92f
MAPREDUCE-6746. Replace org.apache.commons.io.Charsets with java.nio.charset.StandardCharsets. Contributed by Vincent Poon.
...
(cherry picked from commit 3f0bffea2d35083c45acee79338e10b608374d8e)
(cherry picked from commit 0fc838540ba74a12336191388661e41fc3b77928)
2016-07-30 11:47:33 +09:00
Junping Du
bba06f4526
YARN-5434. Add -client|server argument for graceful decommmission. Contributed by Robert Kanter.
...
(cherry picked from commit 95f2b9859718eca12fb3167775cdd2dad25dde25)
(cherry picked from commit 47dd871f96e6a5a2b1149f1baed0e19e4d0c7bb7)
2016-07-29 10:31:17 -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
Jason Lowe
95fb2fe394
YARN-5438. TimelineClientImpl leaking FileSystem Instances causing Long running services like HiverServer2 daemon going OOM. Contributed by Rohith Sharma K S
...
(cherry picked from commit a1890c32c52fed69ec09efad0fccf49ed8c2e21e)
2016-07-28 21:49:21 +00:00
Junping Du
08358c8d4e
YARN-5432. Lock already held by another process while LevelDB cache store creation for dag. Contributed by Li Lu.
...
(cherry picked from commit 7f3c306e2ed9e865171324898decb9b587d90e73)
(cherry picked from commit 932bf79244e92c93ba673ca77691f3997da6719b)
2016-07-28 06:56:00 -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