CHANGES.txt 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. Hadoop YARN Change Log
  2. Trunk - Unreleased
  3. INCOMPATIBLE CHANGES
  4. NEW FEATURES
  5. HADOOP-8562. Enhancements to support Hadoop on Windows Server and Windows
  6. Azure environments. (See breakdown of tasks below for subtasks and
  7. contributors)
  8. IMPROVEMENTS
  9. YARN-84. Use Builder to build RPC server. (Brandon Li via suresh)
  10. OPTIMAZATIONS
  11. BUG FIXES
  12. BREAKDOWN OF HADOOP-8562 SUBTASKS
  13. YARN-158. Yarn creating package-info.java must not depend on sh.
  14. (Chris Nauroth via suresh)
  15. YARN-176. Some YARN tests fail to find winutils. (Chris Nauroth via suresh)
  16. YARN-207. YARN distribution build fails on Windows. (Chris Nauroth via
  17. suresh)
  18. YARN-199. Yarn cmd line scripts for windows. (Ivan Mitic via suresh)
  19. YARN-213. YARN build script would be more readable using abspath.
  20. (Chris Nauroth via suresh)
  21. YARN-233. Added support for running containers in MS Windows to YARN. (Chris
  22. Nauroth via acmurthy)
  23. YARN-234. Added support for process tree and resource calculator in MS Windows
  24. to YARN. (Chris Nauroth via acmurthy)
  25. YARN-259. Fix LocalDirsHandlerService to use Path rather than URIs. (Xuan
  26. Gong via acmurthy)
  27. YARN-316. YARN container launch may exceed maximum Windows command line
  28. length due to long classpath. (Chris Nauroth via suresh)
  29. YARN-359. Fixing commands for container signalling in Windows. (Chris Nauroth
  30. via vinodkv)
  31. Release 2.0.4-beta - UNRELEASED
  32. INCOMPATIBLE CHANGES
  33. NEW FEATURES
  34. IMPROVEMENTS
  35. YARN-365. Change NM heartbeat handling to not generate a scheduler event
  36. on each heartbeat. (Xuan Gong via sseth)
  37. YARN-380. Fix yarn node -status output to be better readable. (Omkar Vinit
  38. Joshi via vinodkv)
  39. YARN-410. Fixed RM UI so that the new lines diagnostics for a failed app on
  40. the per-application page are translated to html line breaks. (Omkar Vinit
  41. Joshi via vinodkv)
  42. OPTIMIZATIONS
  43. BUG FIXES
  44. YARN-383. AMRMClientImpl should handle null rmClient in stop()
  45. (Hitesh Shah via sseth)
  46. YARN-385. Add missing fields - location and #containers to
  47. ResourceRequestPBImpl's toString(). (Sandy Ryza via sseth)
  48. YARN-377. Use the new StringUtils methods added by HADOOP-9252 and fix
  49. TestContainersMonitor. (Chris Nauroth via szetszwo)
  50. YARN-391. Formatting fixes for LCEResourceHandler classes.
  51. (Steve Loughran via sseth)
  52. YARN-390. ApplicationCLI and NodeCLI hard-coded platform-specific line
  53. separator causes test failures on Windows. (Chris Nauroth via suresh)
  54. YARN-406. Fix TestRackResolver to function in networks where "host1"
  55. resolves to a valid host. (Hitesh Shah via sseth)
  56. YARN-376. Fixes a bug which would prevent the NM knowing about completed
  57. containers and applications. (Jason Lowe via sseth)
  58. YARN-429. capacity-scheduler config missing from yarn-test artifact.
  59. (sseth via hitesh)
  60. Release 2.0.3-alpha - 2013-02-06
  61. INCOMPATIBLE CHANGES
  62. NEW FEATURES
  63. YARN-145. Add a Web UI to the fair share scheduler. (Sandy Ryza via tomwhite)
  64. YARN-3. Add support for CPU isolation/monitoring of containers.
  65. (adferguson via tucu)
  66. YARN-230. RM Restart phase 1 - includes support for saving/restarting all
  67. applications on an RM bounce. (Bikas Saha via acmurthy)
  68. YARN-103. Add a yarn AM-RM client module. (Bikas Saha via sseth)
  69. YARN-286. Add a YARN ApplicationClassLoader. (tomwhite)
  70. YARN-2. Enhanced CapacityScheduler to account for CPU alongwith memory for
  71. multi-dimensional resource scheduling. (acmurthy)
  72. YARN-328. Use token request messages defined in hadoop common. (suresh)
  73. YARN-231. RM Restart - Add FS-based persistent store implementation for
  74. RMStateStore (Bikas Saha via hitesh)
  75. IMPROVEMENTS
  76. YARN-223. Update process tree instead of getting new process trees.
  77. (Radim Kolar via llu)
  78. YARN-57. Allow process-tree based resource calculation et al. to be
  79. pluggable to support it on multiple platforms. (Radim Kolar via acmurthy)
  80. YARN-78. Changed UnManagedAM application to use YarnClient. (Bikas Saha via
  81. vinodkv)
  82. YARN-93. Fixed RM to propagate diagnostics from applications that have
  83. finished but failed (Jason Lowe via vinodkv).
  84. YARN-28. Fixed TestCompositeService to not depend on test-order and thus
  85. made it pass on JDK7 (Thomas Graves via vinodkv).
  86. YARN-82. Change the default local and log dirs to be based on
  87. hadoop.tmp.dir and yarn.log.dir. (Hemanth Yamijala via sseth)
  88. YARN-53. Added the missing getGroups API to ResourceManager. (Bo Wang via
  89. vinodkv)
  90. YARN-116. Add the ability to change the RM include/exclude file without
  91. a restart. (xieguiming and Harsh J via sseth)
  92. YARN-23. FairScheduler: FSQueueSchedulable#updateDemand() - potential
  93. redundant aggregation. (kkambatl via tucu)
  94. YARN-127. Move RMAdmin tool to its correct location - the client module.
  95. (vinodkv)
  96. YARN-40. Provided support for missing YARN commands (Devaraj K and Vinod
  97. Kumar Vavilapalli via vinodkv)
  98. YARN-33. Change LocalDirsHandlerService to validate the configured local and
  99. log dirs. (Mayank Bansal via sseth)
  100. YARN-94. Modify DistributedShell to point to main-class by default, clean up
  101. the help message, and hard-code the AM class. (Hitesh Shah via vinodkv)
  102. YARN-146. Add unit tests for computing fair share in the fair scheduler.
  103. (Sandy Ryza via tomwhite)
  104. HADOOP-8911. CRLF characters in source and text files.
  105. (Raja Aluri via suresh)
  106. YARN-136. Make ClientToAMTokenSecretManager part of RMContext (Vinod Kumar
  107. Vavilapalli via sseth)
  108. YARN-183. Clean up fair scheduler code. (Sandy Ryza via tomwhite)
  109. YARN-129. Simplify classpath construction for mini YARN tests. (tomwhite)
  110. YARN-254. Update fair scheduler web UI for hierarchical queues.
  111. (sandyr via tucu)
  112. YARN-315. Using the common security token protobuf definition from hadoop
  113. common. (Suresh Srinivas via vinodkv)
  114. YARN-170. Change NodeManager stop to be reentrant. (Sandy Ryza via vinodkv)
  115. YARN-331. Fill in missing fair scheduler documentation. (sandyr via tucu)
  116. YARN-277. Use AMRMClient in DistributedShell to exemplify the approach.
  117. (Bikas Saha via hitesh)
  118. YARN-360. Allow apps to concurrently register tokens for renewal.
  119. (Daryn Sharp via sseth)
  120. OPTIMIZATIONS
  121. BUG FIXES
  122. YARN-131. Fix incorrect ACL properties in capacity scheduler documentation.
  123. (Ahmed Radwan via sseth)
  124. YARN-102. Move the apache header to the top of the file in MemStore.java.
  125. (Devaraj K via sseth)
  126. YARN-134. ClientToAMSecretManager creates keys without checking for
  127. validity of the appID. (Vinod Kumar Vavilapalli via sseth)
  128. YARN-30. Fixed tests verifying web-services to work on JDK7. (Thomas Graves
  129. via vinodkv)
  130. YARN-150. Fixes AppRejectedTransition does not unregister a rejected
  131. app-attempt from the ApplicationMasterService (Bikas Saha via sseth)
  132. YARN-140. Add capacity-scheduler-default.xml to provide a default set of
  133. configurations for the capacity scheduler. (ahmed via tucu)
  134. YARN-179. Fix some unit test failures. (Vinod Kumar Vavilapalli via sseth)
  135. YARN-181. Fixed eclipse settings broken by capacity-scheduler.xml move via
  136. YARN-140. (Siddharth Seth via vinodkv)
  137. YARN-169. Update log4j.appender.EventCounter to use
  138. org.apache.hadoop.log.metrics.EventCounter (Anthony Rojas via tomwhite)
  139. YARN-184. Remove unnecessary locking in fair scheduler, and address
  140. findbugs excludes. (sandyr via tucu)
  141. YARN-224. Fair scheduler logs too many nodeUpdate INFO messages.
  142. (Sandy Ryza via tomwhite)
  143. YARN-222. Fair scheduler should create queue for each user by default.
  144. (Sandy Ryza via tomwhite)
  145. MAPREDUCE-4778. Fair scheduler event log is only written if directory
  146. exists on HDFS. (Sandy Ryza via tomwhite)
  147. YARN-229. Remove old unused RM recovery code. (Bikas Saha via acmurthy)
  148. YARN-187. Add hierarchical queues to the fair scheduler.
  149. (Sandy Ryza via tomwhite)
  150. YARN-72. NM should handle cleaning up containers when it shuts down.
  151. (Sandy Ryza via tomwhite)
  152. YARN-267. Fix fair scheduler web UI. (Sandy Ryza via tomwhite)
  153. YARN-264. y.s.rm.DelegationTokenRenewer attempts to renew token even
  154. after removing an app. (kkambatl via tucu)
  155. YARN-271. Fair scheduler hits IllegalStateException trying to reserve
  156. different apps on same node. (Sandy Ryza via tomwhite)
  157. YARN-272. Fair scheduler log messages try to print objects without
  158. overridden toString methods. (sandyr via tucu)
  159. YARN-278. Fair scheduler maxRunningApps config causes no apps to make
  160. progress. (sandyr via tucu)
  161. YARN-282. Fair scheduler web UI double counts Apps Submitted.
  162. (sandyr via tucu)
  163. YARN-283. Fair scheduler fails to get queue info without root prefix.
  164. (sandyr via tucu)
  165. YARN-192. Node update causes NPE in the fair scheduler.
  166. (Sandy Ryza via tomwhite)
  167. YARN-288. Fair scheduler queue doesn't accept any jobs when ACLs are
  168. configured. (Sandy Ryza via tomwhite)
  169. YARN-300. After YARN-271, fair scheduler can infinite loop and not
  170. schedule any application. (Sandy Ryza via tomwhite)
  171. YARN-301. Fair scheduler throws ConcurrentModificationException when
  172. iterating over app's priorities. (Sandy Ryza via tomwhite)
  173. YARN-217. Fix RMAdmin protocol description to make it work in secure mode
  174. also. (Devaraj K via vinodkv)
  175. YARN-253. Fixed container-launch to not fail when there are no local
  176. resources to localize. (Tom White via vinodkv)
  177. YARN-330. Fix flakey test: TestNodeManagerShutdown#testKillContainersOnShutdown.
  178. (Sandy Ryza via hitesh)
  179. YARN-335. Fair scheduler doesn't check whether rack needs containers
  180. before assigning to node. (Sandy Ryza via tomwhite)
  181. YARN-336. Fair scheduler FIFO scheduling within a queue only allows 1
  182. app at a time. (Sandy Ryza via tomwhite)
  183. YARN-135. Client tokens should be per app-attempt, and should be
  184. unregistered on App-finish. (vinodkv via sseth)
  185. YARN-302. Fair scheduler assignmultiple should default to false. (sandyr via tucu)
  186. YARN-319. Submitting a job to a fair scheduler queue for which the user
  187. does not have permission causes the client to wait forever.
  188. (shenhong via tomwhite)
  189. YARN-372. Move InlineDispatcher from hadoop-yarn-server-resourcemanager to
  190. hadoop-yarn-common (sseth via hitesh)
  191. YARN-370. Fix SchedulerUtils to correctly round up the resource for
  192. containers. (Zhijie Shen via acmurthy)
  193. YARN-355. Fixes a bug where RM app submission could jam under load.
  194. (Daryn Sharp via sseth)
  195. Release 2.0.2-alpha - 2012-09-07
  196. INCOMPATIBLE CHANGES
  197. YARN-9. Rename YARN_HOME to HADOOP_YARN_HOME. (vinodkv via acmurthy)
  198. NEW FEATURES
  199. YARN-1. Promote YARN to be a sub-project of Apache Hadoop. (acmurthy)
  200. IMPROVEMENTS
  201. YARN-29. Add a yarn-client module. (Vinod Kumar Vavilapalli via sseth)
  202. YARN-10. Fix DistributedShell module to not have a dependency on
  203. hadoop-mapreduce-client-core. (Hitesh Shah via vinodkv)
  204. YARN-80. Add support for delaying rack-local containers in
  205. CapacityScheduler. (acmurthy)
  206. YARN-137. Change the default YARN scheduler to be the CapacityScheduler.
  207. (sseth via acmurthy)
  208. OPTIMAZATIONS
  209. BUG FIXES
  210. YARN-12. Fix findbugs warnings in FairScheduler. (Junping Du via acmurthy)
  211. YARN-22. Fix ContainerLogs to work if the log-dir is specified as a URI.
  212. (Mayank Bansal via sseth)
  213. YARN-37. Change TestRMAppTransitions to use the DrainDispatcher.
  214. (Mayank Bansal via sseth)
  215. YARN-79. Implement close on all clients to YARN so that RPC clients don't
  216. throw exceptions on shut-down. (Vinod Kumar Vavilapalli)
  217. YARN-42. Modify NM's non-aggregating logs' handler to stop properly so that
  218. NMs don't get NPEs on startup errors. (Devaraj K via vinodkv)
  219. YARN-15. Updated default classpath for YARN applications to reflect split of
  220. YARN into a sub-project. (Arun C Murthy via vinodkv)
  221. YARN-75. Modified ResourceManager's RMContainer to handle a valid RELEASE
  222. event at RUNNING state. (Siddharth Seth via vinodkv)
  223. MAPREDUCE-2374. "Text File Busy" errors launching MR tasks. (Andy Isaacson
  224. via atm)
  225. YARN-138. Ensure default values for minimum/maximum container sizes is
  226. sane. (harsh & sseth via acmurthy)
  227. Release 0.23.7 - UNRELEASED
  228. INCOMPATIBLE CHANGES
  229. NEW FEATURES
  230. IMPROVEMENTS
  231. YARN-133 Update web services docs for RM clusterMetrics (Ravi Prakash via
  232. kihwal)
  233. YARN-249. Capacity Scheduler web page should show list of active users per
  234. queue like it used to (in 1.x) (Ravi Prakash via tgraves)
  235. YARN-236. RM should point tracking URL to RM web page when app fails to
  236. start (Jason Lowe via jeagles)
  237. YARN-269. Resource Manager not logging the health_check_script result when
  238. taking it out (Jason Lowe via kihwal)
  239. YARN-227. Application expiration difficult to debug for end-users
  240. (Jason Lowe via jeagles)
  241. OPTIMIZATIONS
  242. YARN-357. App submission should not be synchronized (daryn)
  243. BUG FIXES
  244. YARN-343. Capacity Scheduler maximum-capacity value -1 is invalid (Xuan
  245. Gong via tgraves)
  246. YARN-364. AggregatedLogDeletionService can take too long to delete logs
  247. (jlowe)
  248. YARN-362. Unexpected extra results when using webUI table search (Ravi
  249. Prakash via jlowe)
  250. YARN-400. RM can return null application resource usage report leading to
  251. NPE in client (Jason Lowe via tgraves)
  252. YARN-426. Failure to download a public resource prevents further downloads
  253. (Jason Lowe via bobby)
  254. YARN-448. Remove unnecessary hflush from log aggregation (Kihwal Lee via
  255. bobby)
  256. YARN-345. Many InvalidStateTransitonException errors for ApplicationImpl
  257. in Node Manager (Robert Parker via jlowe)
  258. Release 0.23.6 - UNRELEASED
  259. INCOMPATIBLE CHANGES
  260. NEW FEATURES
  261. IMPROVEMENTS
  262. YARN-285. Added a temporary plugin interface for RM to be able to redirect
  263. to JobHistory server for apps that it no longer tracks. (Derek Dagit via
  264. vinodkv)
  265. OPTIMIZATIONS
  266. BUG FIXES
  267. YARN-188. Coverage fixing for CapacityScheduler (Aleksey Gorshkov via
  268. bobby)
  269. YARN-214. RMContainerImpl does not handle event EXPIRE at state RUNNING
  270. (jeagles via bobby)
  271. YARN-151. Browser thinks RM main page JS is taking too long
  272. (Ravi Prakash via bobby)
  273. YARN-204. test coverage for org.apache.hadoop.tools (Aleksey Gorshkov via
  274. bobby)
  275. YARN-251. Proxy URI generation fails for blank tracking URIs (Tom White
  276. via jlowe)
  277. YARN-258. RM web page UI shows Invalid Date for start and finish times
  278. (Ravi Prakash via jlowe)
  279. YARN-266. RM and JHS Web UIs are blank because AppsBlock is not escaping
  280. string properly (Ravi Prakash via jlowe)
  281. YARN-280. RM does not reject app submission with invalid tokens
  282. (Daryn Sharp via tgraves)
  283. YARN-225. Proxy Link in RM UI thows NPE in Secure mode
  284. (Devaraj K via bobby)
  285. YARN-293. Node Manager leaks LocalizerRunner object for every Container
  286. (Robert Joseph Evans via jlowe)
  287. YARN-50. Implement renewal / cancellation of Delegation Tokens
  288. (Siddharth Seth via tgraves)
  289. YARN-320. RM should always be able to renew its own tokens.
  290. (Daryn Sharp via sseth)
  291. YARN-325. RM CapacityScheduler can deadlock when getQueueInfo() is
  292. called and a container is completing (Arun C Murthy via tgraves)
  293. YARN-334. Maven RAT plugin is not checking all source files (tgraves)
  294. YARN-354. WebAppProxyServer exits immediately after startup (Liang Xie via
  295. jlowe)
  296. Release 0.23.5 - 2012-11-28
  297. INCOMPATIBLE CHANGES
  298. NEW FEATURES
  299. IMPROVEMENTS
  300. YARN-161. Fix multiple compiler warnings for unchecked operations in YARN
  301. common. (Chris Nauroth via vinodkv)
  302. YARN-43. Fix TestResourceTrackerService to not depend on test order and thus
  303. pass on JDK7. (Thomas Graves via vinodkv)
  304. YARN-32. Fix TestApplicationTokens to not depend on test order and thus pass
  305. on JDK7. (vinodkv)
  306. YARN-186. Coverage fixing LinuxContainerExecutor (Aleksey Gorshkov via
  307. bobby)
  308. YARN-216. Remove jquery theming support. (Robert Joseph Evans via jlowe)
  309. OPTIMIZATIONS
  310. BUG FIXES
  311. YARN-163. Retrieving container log via NM webapp can hang with multibyte
  312. characters in log (jlowe via bobby)
  313. YARN-174. Modify NodeManager to pass the user's configuration even when
  314. rebooting. (vinodkv)
  315. YARN-177. CapacityScheduler - adding a queue while the RM is running has
  316. wacky results (acmurthy vai tgraves)
  317. YARN-178. Fix custom ProcessTree instance creation (Radim Kolar via bobby)
  318. YARN-180. Capacity scheduler - containers that get reserved create
  319. container token to early (acmurthy and bobby)
  320. YARN-139. Interrupted Exception within AsyncDispatcher leads to user
  321. confusion. (Vinod Kumar Vavilapalli via jlowe)
  322. YARN-165. RM should point tracking URL to RM web page for app when AM fails
  323. (jlowe via bobby)
  324. YARN-159. RM web ui applications page should be sorted to display last app
  325. first (tgraves via bobby)
  326. YARN-166. capacity scheduler doesn't allow capacity < 1.0 (tgraves via
  327. bobby)
  328. YARN-189. Fixed a deadlock between RM's ApplicationMasterService and the
  329. dispatcher. (Thomas Graves via vinodkv)
  330. YARN-202. Log Aggregation generates a storm of fsync() for namenode
  331. (Kihwal Lee via bobby)
  332. YARN-201. Fix CapacityScheduler to be less conservative for starved
  333. off-switch requests. (jlowe via acmurthy)
  334. YARN-206. TestApplicationCleanup.testContainerCleanup occasionally fails.
  335. (jlowe via jeagles)
  336. YARN-212. NM state machine ignores an APPLICATION_CONTAINER_FINISHED event
  337. when it shouldn't (Nathan Roberts via jlowe)
  338. YARN-219. NM should aggregate logs when application finishes. (bobby)
  339. Release 0.23.4
  340. INCOMPATIBLE CHANGES
  341. NEW FEATURES
  342. IMPROVEMENTS
  343. Change package of YarnClient to org.apache.hadoop. (Bikas Saha via vinodkv)
  344. YARN-108. FSDownload can create cache directories with the wrong
  345. permissions (Jason Lowe via bobby)
  346. OPTIMIZATIONS
  347. BUG FIXES
  348. YARN-88. DefaultContainerExecutor can fail to set proper permissions.
  349. (Jason Lowe via sseth)
  350. YARN-106. Nodemanager needs to set permissions of local directories (jlowe
  351. via bobby)
  352. Release 0.23.3
  353. INCOMPATIBLE CHANGES
  354. NEW FEATURES
  355. IMPROVEMENTS
  356. OPTIMAZATIONS
  357. BUG FIXES
  358. YARN-14. Symlinks to peer distributed cache files no longer work
  359. (Jason Lowe via bobby)
  360. YARN-25. remove old aggregated logs (Robert Evans via tgraves)
  361. YARN-27. Failed refreshQueues due to misconfiguration prevents further
  362. refreshing of queues (Arun Murthy via tgraves)
  363. YARN-58. NM leaks filesystems (Jason Lowe via jeagles)
  364. YARN-39. RM-NM secret-keys should be randomly generated and rolled every
  365. so often. (vinodkv and sseth via sseth)
  366. YARN-31. Fix TestDelegationTokenRenewer to not depend on test order so as to
  367. pass tests on jdk7. (Thomas Graves via vinodkv)
  368. YARN-63. RMNodeImpl is missing valid transitions from the UNHEALTHY state
  369. (Jason Lowe via bobby)
  370. YARN-60. Fixed a bug in ResourceManager which causes all NMs to get NPEs and
  371. thus causes all containers to be rejected. (vinodkv)
  372. YARN-66. aggregated logs permissions not set properly (tgraves via bobby)
  373. YARN-68. NodeManager will refuse to shutdown indefinitely due to container
  374. log aggregation (daryn via bobby)
  375. YARN-87. NM ResourceLocalizationService does not set permissions of local
  376. cache directories (Jason Lowe via tgraves)