Commit Graph

12309 Commits

Author SHA1 Message Date
Kihwal Lee c586b7ab7d HADOOP-13933. Add haadmin -getAllServiceState option to get the HA state of all the NameNodes/ResourceManagers. Contributed by Surendra Singh Lilhore.
(cherry picked from commit e407449ddb)
(cherry picked from commit 2d6be7ea23)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java
2017-07-26 14:15:39 -05:00
Kihwal Lee e15a08fc9a HADOOP-14578. Bind IPC connections to kerberos UPN host for proxy users.
Contributed by Daryn Sharp.
2017-07-26 13:29:07 -05:00
Kihwal Lee 38c56bbb46 HDFS-12171. Reduce IIP object allocations for inode lookup. Contributed by Daryn Sharp.
(cherry picked from commit 3d8c7d701b)
2017-07-25 11:08:57 -05:00
Jitendra Pandey c0e294ffc8 HADOOP-10829. Iteration on CredentialProviderFactory.serviceLoader is thread-unsafe. Contributed by Benoy Antony and Rakesh R.
(cherry picked from commit b82485d6fe)
2017-07-25 09:04:49 -07:00
Kihwal Lee 7be52c9c79 HDFS-12143. Improve performance of getting and removing inode features. Contributed by Daryn Sharp.
(cherry picked from commit 1a79dcfc45)
2017-07-25 10:33:09 -05:00
Jason Lowe db0bc8fafa YARN-6768. Improve performance of yarn api record toString and fromString. Contributed by Jonathan Eagles
(cherry picked from commit 24853bf32a)
2017-07-24 10:25:04 -05:00
Allen Wittenauer 02ef086824
HADOOP-13178. TestShellBasedIdMapping.testStaticMapUpdate doesn't work on OS X (Kai Sasaki via aw)
(cherry picked from commit d8c1fd1944)
(cherry picked from commit daa7685344)
2017-07-24 12:03:40 +09:00
Brahma Reddy Battula a1421de70e HADOOP-13867. FilterFileSystem should override rename(.., options) to take effect of Rename options called via FilterFileSystem implementations. Contributed By Vinayakumar B.
(cherry picked from commit 0ef796174e)
(cherry picked from commit 6f445408022f210e01f826499d447d4e7792b429)
2017-07-23 16:09:29 +08:00
Brahma Reddy Battula 587d47cfec HDFS-8312. Trash does not descent into child directories to check for permissions. Contributed By Weiwei Yang via Eric Yang.
(cherry picked from commit 820496fbbc)
2017-07-23 16:09:10 +08:00
Jason Lowe 4fc070ac59 YARN-4731. container-executor should not follow symlinks in recursive_unlink_children. Contributed by Colin Patrick McCabe
(cherry picked from commit c58a6d53c5)

Conflicts:
	hadoop-yarn-project/CHANGES.txt
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/test-container-executor.c
2017-07-21 14:46:18 -05:00
Jason Lowe 293ac4c18b YARN-4594. container-executor fails to remove directory tree when chmod required. Contributed by Colin Patrick McCabe
(cherry picked from commit fa328e2d39)

Conflicts:
	hadoop-yarn-project/CHANGES.txt
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/test-container-executor.c
2017-07-21 14:33:34 -05:00
Eric Payne 95be843851 YARN-6450. TestContainerManagerWithLCE requires override for each new test added to ContainerManagerTest? Contributed by Jason Lowe.
(cherry picked from commit a16ab2be91)

Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestContainerManagerWithLCE.java
2017-07-21 10:32:35 -05:00
Kihwal Lee e229ffee64 HDFS-11742. Improve balancer usability after HDFS-8818. Contributed by Kihwal Lee
(cherry picked from commit 8e3a992ecc)
2017-07-21 09:22:28 -05:00
Brahma Reddy Battula f65dc6ee95 HDFS-12177. NameNode exits due to setting BlockPlacementPolicy loglevel to Debug. Contributed by Jiandan Yang. 2017-07-21 21:13:20 +08:00
Konstantin V Shvachko f3bf1a6eb9 HDFS-11472. Fix inconsistent replica size after a data pipeline failure. Contributed by Erik Krogen and Wei-Chiu Chuang.
(cherry picked from commit 2a5a313539)
2017-07-20 16:09:56 -07:00
Kihwal Lee 5d58ba0e3d HADOOP-14659. UGI getShortUserName does not need to search the Subject. Contributed by Daryn Sharp.
(cherry picked from commit b3269f7cc1)
2017-07-20 16:22:11 -05:00
Jason Lowe 6e45c543cb YARN-6837. Null LocalResource visibility or resource type can crash the nodemanager. Contributed by Jinjiang Ling
(cherry picked from commit c8df3668ec)

Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/api/records/impl/pb/TestApplicationClientProtocolRecords.java
2017-07-20 11:11:41 -05:00
Wangda Tan a39617df63 YARN-6775. CapacityScheduler: Improvements to assignContainers, avoid unnecessary canAssignToUser/Queue calls. (Nathan Roberts via wangda)
Change-Id: I5951f0997547de7d2e4a30b4ad87ab0a59b3066a
2017-07-19 15:29:45 -07:00
Anu Engineer 6ed569df21 HDFS-12158. Secondary Namenode's web interface lack configs for X-FRAME-OPTIONS protection. Contributed by Mukul Kumar Singh.
(cherry picked from commit 413b23eb04)
(cherry picked from commit e0297ffbc8)
2017-07-19 10:46:21 -07:00
Rohith Sharma K S 4daf5741e0 YARN-5920. Fix deadlock in TestRMHA.testTransitionedToStandbyShouldNotHang. Contributed by Varun Saxena.
(cherry picked from commit e15c20edba)
2017-07-17 14:52:06 -05:00
Brahma Reddy Battula 6039a2a55f HDFS-12112. TestBlockManager#testBlockManagerMachinesArray sometimes fails with NPE. Contributed by Wei-Chiu Chuang.
(cherry picked from commit b778887af5)
2017-07-15 11:12:56 +08:00
Xiao Chen 8b7d1df766 HADOOP-14521. KMS client needs retry logic. Contributed by Rushabh S Shah. 2017-07-14 22:23:13 -07:00
Kihwal Lee e28c74102d HDFS-12140. Remove BPOfferService lock contention to get block pool id. Contributed by Daryn Sharp.
(cherry picked from commit e7d187a1b6)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BPOfferService.java
2017-07-14 16:17:44 -05:00
Kihwal Lee 561b72970f HDFS-12137. DN dataset lock should be fair. Contributed by Daryn Sharp.
(cherry picked from commit a47820d72a)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
2017-07-14 15:50:18 -05:00
Jason Lowe 1edc16ee54 YARN-3260. AM attempt fail to register before RM processes launch event. Contributed by Bibin A Chundatt
(cherry picked from commit a5ae5ac50e)
2017-07-14 15:06:31 -05:00
Ravi Prakash d6228fbebd MAPREDUCE-6910. MapReduceTrackingUriPlugin can not return the right URI of history server with HTTPS. Contributed by Lantao Jin
(cherry picked from commit 43f0503286)
(cherry picked from commit 756a068143)
2017-07-13 22:57:44 -07:00
Jason Lowe 8c69b040ac YARN-6805. NPE in LinuxContainerExecutor due to null PrivilegedOperationException exit code. Contributed by Jason Lowe
(cherry picked from commit a77fb561ef)

Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java
2017-07-13 18:00:05 -05:00
Jason Lowe 9cff53fed9 YARN-6654. RollingLevelDBTimelineStore backwards incompatible after fst upgrade. Contributed by Jonathan Eagles
(cherry picked from commit 5f1ee72b0e)
2017-07-13 17:30:57 -05:00
Akira Ajisaka c180005fcf MAPREDUCE-6697. Concurrent task limits should only be applied when necessary. Contributed by Nathan Roberts.
(cherry picked from commit a5c0476a99)
2017-07-13 13:30:33 -07:00
Masatake Iwasaki 7c8d4a1b3f HADOOP-14646. FileContextMainOperationsBaseTest#testListStatusFilterWithSomeMatches never runs. Contributed by Andras Bokor.
(cherry picked from commit b61ab8573e)
2017-07-13 21:52:34 +09:00
Xiaoyu Yao c9adca70e6 HDFS-11502. Datanode UI should display hostname based on JMX bean instead of window.location.hostname. Contributed by Jeffrey E Rodriguez and Yuanbo Liu.
(cherry picked from commit e15e2713e1)
2017-07-12 16:39:22 -07:00
Jason Lowe 4f1dfcc118 YARN-6797. TimelineWriter does not fully consume the POST response. Contributed by Jason Lowe
(cherry picked from commit 655110393b)
2017-07-12 15:54:49 -05:00
Junping Du 28be69ae6d MAPREDUCE-5621. mr-jobhistory-daemon.sh doesn't have to execute mkdir and chown all the time. Contributed by Shinichi Yamashita.
(cherry picked from commit ea3dba37cd)
2017-07-12 12:54:35 -07:00
Akira Ajisaka ebb66d2038
YARN-6809. Fix typo in ResourceManagerHA.md. Contributed by Yeliang Cang.
(cherry picked from commit b628d0da51)
(cherry picked from commit 3419381e98)
2017-07-12 19:39:29 +09:00
Akira Ajisaka d1fb4948d2
HADOOP-14629. Improve exception checking in FileContext related JUnit tests. Contributed by Andras Bokor.
(cherry picked from commit 9144fd9e9b)
(cherry picked from commit 2653cf4466)
2017-07-12 11:44:15 +09:00
Xiao Chen 83eacccc17 HADOOP-14044. Synchronization issue in delegation token cancel functionality. Contributed by Hrishikesh Gadre.
(cherry picked from commit ba75bc7593)
(cherry picked from commit 05ed48b75a)
2017-07-10 13:48:12 -07:00
Naganarasimha 0f9f7bb0c6 YARN-6770. A small mistake in the example of TimelineClient. Contributed by Jinjiang Ling.
(cherry picked from commit ba5b056e8a)
2017-07-09 21:40:16 +05:30
Naganarasimha ad70e929b2 YARN-6428. Queue AM limit is not honored in CS always. Contributed by Bibin A Chundutt. 2017-07-09 17:34:47 +05:30
Junping Du 5ad710bc7a MAPREDUCE-6246. DBOutputFormat.java appending extra semicolon to query which is incompatible with DB2. Contributed by ramtin and Gergely Novák.
(cherry picked from commit f484a6ff60)
(cherry picked from commit f823f9fd78)
2017-07-07 13:32:21 -07:00
Wei-Chiu Chuang d657c05177 HADOOP-14563. LoadBalancingKMSClientProvider#warmUpEncryptedKeys swallows IOException. Contributed by Rushabh S Shah.
(cherry picked from commit 8153fe2bd3)
(cherry picked from commit 730b21e9f9)
2017-07-07 06:14:32 -07:00
Eric Payne 8949a9d541 YARN-2113. Add cross-user preemption within CapacityScheduler's leaf-queue. (Contributed by Sunil G) 2017-07-06 10:53:47 -05:00
Jason Lowe cd895d0586 YARN-6708. Nodemanager container crash after ext3 folder limit. Contributed by Bibin A Chundatt
(cherry picked from commit 7576a688ea)

Conflicts:
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ContainerLocalizer.java
	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestContainerLocalizer.java
2017-07-06 09:53:13 -05:00
Jason Lowe c8e6012f62 MAPREDUCE-6911. TestMapreduceConfigFields.testCompareXmlAgainstConfigurationClass fails consistently. Contributed by Eric Badger
(cherry picked from commit f0435db089)
2017-07-06 09:24:01 -05:00
Mingliang Liu db6e8ff747 HDFS-12089. Fix ambiguous NN retry log message in WebHDFS. Contributed by Eric Badger
(cherry picked from commit 6436768baf)
2017-07-05 11:12:41 -07:00
Vinayakumar B cd6ee04274 HADOOP-13414. Hide Jetty Server version header in HTTP responses. Contributed by Surendra Singth Lilhore.
(cherry picked from commit 1e8301b215)
2017-07-05 16:07:18 +05:30
Akira Ajisaka 71f49406f2
MAPREDUCE-6909. LocalJobRunner fails when run on a node from multiple users. Contributed by Jason Lowe.
(cherry picked from commit ac333155fb)
2017-07-04 15:26:46 +09:00
Akira Ajisaka 9f9d554edf
HDFS-12078. Add time unit to the description of property dfs.namenode.stale.datanode.interval in hdfs-default.xml. Contributed by Weiwei Yang.
(cherry picked from commit 186650d21d)
(cherry picked from commit 063f2132ef)
2017-07-04 14:53:02 +09:00
Naganarasimha acc504dc58 MAPREDUCE-6905. HADOOP_JOB_HISTORY_OPTS should be HADOOP_JOB_HISTORYSERVER_OPTS in mapred-config.sh. Contributed by LiXin Ge.
(cherry picked from commit bf1f59937d)
2017-07-02 16:18:30 +05:30
Naganarasimha 69480ba686 YARN-6681. Eliminate double-copy of child queues in canAssignToThisQueue. Contributed by Daryn Sharp. 2017-07-01 12:58:36 +05:30
Wei-Chiu Chuang 8027246306 HDFS-12042. Lazy initialize AbstractINodeDiffList#diffs for snapshots to reduce memory consumption. Contributed by Misha Dmitriev.
(cherry picked from commit bcba844d11)
(cherry picked from commit 94bc5cdbb3)
2017-06-30 11:43:41 -07:00