3390 Commits

Author SHA1 Message Date
Kihwal Lee
4edb849611 HADOOP-14578. Bind IPC connections to kerberos UPN host for proxy users. Contributed by Daryn Sharp.
(cherry picked from commit 27a1a5fde94d4d7ea0ed172635c146d594413781)
2017-07-26 13:16:34 -05:00
Jitendra Pandey
ab95086ed1 HADOOP-14518. Customize User-Agent header sent in HTTP/HTTPS requests by WASB. Contributed by Georgi Chalakov. 2017-07-25 08:31:35 -07:00
Akira Ajisaka
22f237c5d9
HADOOP-14681. Remove MockitoMaker class. Contributed by Andras Bokor.
(cherry picked from commit cca51e916b7387ea358688e8f8188ead948fbdcc)
2017-07-25 15:25:36 +09:00
Jason Lowe
db7c5636b6 YARN-6768. Improve performance of yarn api record toString and fromString. Contributed by Jonathan Eagles
(cherry picked from commit 24853bf32a045b8f029fb136edca2af03836c8d5)
2017-07-24 10:22:31 -05:00
Allen Wittenauer
daa7685344
HADOOP-13178. TestShellBasedIdMapping.testStaticMapUpdate doesn't work on OS X (Kai Sasaki via aw)
(cherry picked from commit d8c1fd1944160ad5b5d093731ae987d701802321)
2017-07-24 11:57:10 +09:00
wenxinhe
7e583a3824
HADOOP-14539. Move commons logging APIs over to slf4j in hadoop-common.
This closes #251

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
2017-07-24 11:14:08 +09:00
Kihwal Lee
a735916b2c HADOOP-14659. UGI getShortUserName does not need to search the Subject. Contributed by Daryn Sharp.
(cherry picked from commit b3269f7cc119cbc51b16118b918f345f970804bc)
2017-07-20 16:15:06 -05:00
Daniel Templeton
1d629c95af HADOOP-14666. Tests use assertTrue(....equals(...)) instead of assertEquals()
(cherry picked from commit c21c26039238f633a0d2df9670f636d026c35649)
2017-07-19 14:01:10 -07:00
Jitendra Pandey
23b920cd7a HADOOP-14642. wasb: add support for caching Authorization and SASKeys. Contributed by Sivaguru Sankaridurg. 2017-07-19 11:37:36 -07:00
Jason Lowe
057631c031 HADOOP-14669. GenericTestUtils.waitFor should use monotonic time. Contributed by Daniel Templeton
(cherry picked from commit df180259b0cc3660e199e85447c7193bee51751c)
2017-07-19 09:42:38 -05:00
Jason Lowe
9b961db569 HADOOP-14637. GenericTestUtils.waitFor needs to check condition again after max wait time. Contributed by Daniel Templeton
(cherry picked from commit 5aa2bf231f40423865f0054ca27426ceb95ab4ba)
2017-07-18 16:27:34 -05:00
Xiao Chen
5337c2511d HADOOP-14521. KMS client needs retry logic. Contributed by Rushabh S Shah.
(cherry picked from commit aa395c1ec9a170f2da732c6e6114c60412161d40)
2017-07-14 22:23:07 -07:00
Masatake Iwasaki
956e83c100 HADOOP-14646. FileContextMainOperationsBaseTest#testListStatusFilterWithSomeMatches never runs. Contributed by Andras Bokor.
(cherry picked from commit b61ab8573eb2f224481118004f620fe9f18db74b)
2017-07-13 21:43:10 +09:00
Akira Ajisaka
2653cf4466
HADOOP-14629. Improve exception checking in FileContext related JUnit tests. Contributed by Andras Bokor.
(cherry picked from commit 9144fd9e9b5d84d71158451428341746a6567152)
2017-07-12 11:40:48 +09:00
Steve Loughran
41e83b2ca2
HADOOP-14535 wasb: implement high-performance random access and seek of block blobs.
Contributed by Thomas Marquardt

(cherry picked from commit d670c3a4da7dd80dccf6c6308603bb3bb013b3b0)
2017-07-11 21:45:24 +01:00
wenxinhe
e494a169ed
HADOOP-14638. Replace commons-logging APIs with slf4j in StreamPumper.
This closes #247

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit fce795101461cbce37334b0799b2238825f5a5aa)
2017-07-11 13:36:56 +09:00
Jitendra Pandey
b82485d6fe HADOOP-10829. Iteration on CredentialProviderFactory.serviceLoader is thread-unsafe. Contributed by Benoy Antony and Rakesh R. 2017-07-10 17:55:02 -07:00
Akira Ajisaka
1c40df5bcd
HADOOP-14587. Use GenericTestUtils.setLogLevel when available in hadoop-common. Contributed by Wenxin He. 2017-07-08 03:01:18 +09:00
Wei-Chiu Chuang
730b21e9f9 HADOOP-14563. LoadBalancingKMSClientProvider#warmUpEncryptedKeys swallows IOException. Contributed by Rushabh S Shah.
(cherry picked from commit 8153fe2bd35fb4df0b64f93ac0046e34d4807ac3)
2017-07-07 06:14:07 -07:00
Vinayakumar B
1e8301b215 HADOOP-13414. Hide Jetty Server version header in HTTP responses. Contributed by Surendra Singth Lilhore. 2017-07-05 16:06:19 +05:30
Steve Loughran
3404824854 HADOOP-14617. Add ReflectionUtils.logThreadInfo that accept slf4j logger API.
Contributed by Wenxin He.

(cherry picked from commit 128d8bc3e9d792fde9cacd9e1d786db8ef682b0b)
2017-07-04 11:40:46 +01:00
Wenxin He
ca8102962f
HADOOP-14571. Deprecate public APIs relate to log4j1
This closes #244

Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
(cherry picked from commit f2aba1da30aae482a2d65696493b609948f9b904)
2017-07-04 18:56:41 +09:00
Steve Loughran
4ceb3bd4b3
HADOOP-14615. Add ServiceOperations.stopQuietly that accept slf4j logger API.
Contributed by Wenxin He.

(cherry picked from commit 1aaa7f1eacab20d1c27f410333a536033cad1aab)
2017-07-04 10:49:20 +01:00
Daniel Templeton
367f525e81 HADOOP-14611. NetworkTopology.DEFAULT_HOST_LEVEL is unused
(Contributed by Chen Liang via Daniel Templeton)

(cherry picked from commit 5a75f73893567151f525950cc1a15b3f1bfeac26)
2017-06-29 16:56:55 -07:00
Akira Ajisaka
b59b96deee
HDFS-11992. Replace commons-logging APIs with slf4j in FsDatasetImpl. Contributed by hu xiaodong. 2017-06-27 03:28:09 +09:00
Akira Ajisaka
239b382153
HADOOP-14549. Use GenericTestUtils.setLogLevel when available in hadoop-tools. Contributed by wenxin he.
(cherry picked from commit a594f96fb1155d94fe08ed8f85dca789a9a4c790)
2017-06-26 16:41:44 +09:00
Arpit Agarwal
4b420e0678 HADOOP-14543. ZKFC should use getAversion() while setting the zkacl. Contributed by Brahma Reddy Battula. 2017-06-23 16:50:56 -07:00
Steve Loughran
5858bc70a2
HADOOP-14568. GenericTestUtils#waitFor missing parameter verification.
Contributed by Yiqun Lin

(cherry picked from commit e5db9af8a00ded73ee1c75bb4c0d5d50e15a305c)
2017-06-23 14:41:08 +01:00
Arpit Agarwal
f9f6ef83eb HDFS-12010. TestCopyPreserveFlag fails consistently because of mismatch in access time. Contributed by Mukul Kumar Singh. 2017-06-22 15:43:00 -07:00
Akira Ajisaka
897d5a4d24
HADOOP-14542. Add IOUtils.cleanupWithLogger that accepts slf4j logger API. Contributed by Chen Liang.
(cherry picked from commit b64951905e64f6fed581c28634be6ed15c190633)
2017-06-22 17:43:33 +09:00
Yongjun Zhang
ba487ead42 HADOOP-14429. FTPFileSystem#getFsAction always returns FsAction.NONE. (Hongyuan Li via Yongjun Zhang)
(cherry picked from commit 5157f6c46ec342fb650b3c5853061ed1e4a182b6)
2017-06-20 17:07:01 -07:00
Brahma Reddy Battula
933fad2e17 HADOOP-14533. Size of args cannot be less than zero in TraceAdmin#run as its linkedlist. Contributed by Weisen Han.
(cherry picked from commit 2e9daa2e27536484846d9c5f020c6afaf27932ce)
2017-06-20 20:45:33 +08:00
Akira Ajisaka
6d82db40d5
HADOOP-14540. Replace MRv1 specific terms in HostsFileReader. Contributed by hu xiaodong.
(cherry picked from commit 300804595e5b8fd447ecb530fcd0ae5b0e59bb63)
2017-06-19 19:40:19 +09:00
Akira Ajisaka
2d0b6ab65d
HADOOP-14538. Fix TestFilterFileSystem and TestHarFileSystem failures after DistributedFileSystem.append API. Contributed by Lei (Eddy) Xu.
(cherry picked from commit 7ade5124b8b6c52a084ec187c531017eee0f1884)
2017-06-19 19:10:13 +09:00
Masatake Iwasaki
023dcdc73d HADOOP-14424. Add CRC32C performance test. Contributed by LiXin Ge.
(cherry picked from commit 75043d342935828cfe8bdabfab8784c83f797887)
2017-06-19 09:18:02 +09:00
Lei Xu
33afa1fdca HADOOP-14395. Provide Builder pattern for DistributedFileSystem.append. Contributed by Lei (Eddy) Xu.
(cherry picked from commit 6460df21a09a7fcc29eceb8dc3859d6298da6882)

    Conflicts:
    hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
2017-06-16 17:32:29 -07:00
Arpit Agarwal
9529513f18 HADOOP-14503. Make RollingAverages a mutable metric. Contributed by Hanisha Koneru. 2017-06-16 16:41:08 -07:00
Xiao Chen
2afe9722af HADOOP-14524. Make CryptoCodec Closeable so it can be cleaned up proactively. 2017-06-16 09:49:41 -07:00
Steve Loughran
4e6348f346
HADOOP-14486 TestSFTPFileSystem#testGetAccessTime test failure using openJDK 1.8.0.
Contributed by Hongyuan Li.

(cherry picked from commit 942ecbbc9876427051965ddd167df5cc1cc253e3)
2017-06-16 09:46:34 +01:00
Akira Ajisaka
12cb3456d7
HADOOP-14289. Move log4j APIs over to slf4j in hadoop-common.
(cherry picked from commit e855cc4ed467d03f4f03e8b3a1ff27654b349a52)
2017-06-16 13:32:16 +09:00
Lei Xu
abac844c90 HADOOP-14394. Provide Builder pattern for DistributedFileSystem.create. (lei)
(cherry picked from commit 5fbec46525d6d49837d934556b59ba77bd2301a8)

    Conflicts:
    hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
    hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/NameNodeConnector.java
    hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
    hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestErasureCodingPolicies.java
2017-06-15 10:59:11 -07:00
Xiao Chen
7d81b0beab HADOOP-14523. OpensslAesCtrCryptoCodec.finalize() holds excessive amounts of memory. Contributed by Misha Dmitriev.
(cherry picked from commit ef8edab930338646551cbe3c7e7cf954e21c0f9a)
2017-06-15 10:41:34 -07:00
Steve Loughran
31446f8e10
HADOOP-14506. Add create() contract test that verifies ancestor dir creation.
Contributed by Sean Mackrory.

(cherry picked from commit d780a67864d2c687d23b69798c19ee865e38cc5a)
2017-06-15 14:51:50 +01:00
Jonathan Eagles
f901132a8a HADOOP-14501. Switch from aalto-xml to woodstox to handle odd XML features (jeagles) 2017-06-12 17:19:46 -05:00
Mingliang Liu
ae2457e1dd HADOOP-14465. LdapGroupsMapping - support user and group search base. Contributed by Shwetha G S and Mingliang Liu
(cherry picked from commit a2121cb0d907be439d19cd1165a0371b37a5fe68)
2017-06-09 16:26:10 -07:00
Xiao Chen
ffaf24e308 HADOOP-13174. Add more debug logs for delegation tokens and authentication.
(cherry picked from commit 4a56bde6ba1f72588a25cd96acc76089706cb786)

Conflicts:
	hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/delegation/web/DelegationTokenAuthenticationHandler.java
2017-06-08 21:34:09 -07:00
John Zhuge
87f4428de0 HADOOP-14511. WritableRpcEngine.Invocation#toString NPE on null parameters. Contributed by John Zhuge. 2017-06-08 21:26:02 -07:00
John Zhuge
2448d84572 HDFS-11861. ipc.Client.Connection#sendRpcRequest should log request name. Contributed by John Zhuge.
(cherry picked from commit 5672ae7b37ce75086a1cb5bb9a388288fc913eb7)
2017-06-07 15:54:08 -07:00
Kihwal Lee
f7e597b56d HADOOP-14035. Reduce fair call queue backoff's impact on clients. Contributed by Daryn Sharp. 2017-06-06 12:19:44 -05:00
Brahma Reddy Battula
e889c826d7 HADOOP-14431. ModifyTime of FileStatus returned by SFTPFileSystem's getFileStatus method is wrong. Contributed by Hongyuan Li.
(cherry picked from commit 66c6fd831497944f4f49c5ce42c69a302b7d7bc0)
2017-06-06 12:32:37 +08:00