Commit cef2af9
committed
Merge pull request apache#366 from colorant/yarn-dev
More yarn code refactor
Try to retrive common code in yarn alpha/stable for client and workerRunnable to reduce duplicated codes. By put them into a trait in common dir and extends with them.
Same works could be done for the remaining files in alpha/stable , while the remainning files have much more overlapping codes with different API call here and there within functions, and will need much more close review , aslo it might divide functions into too small trifle ones, thus might not deserve to be done in this way.
So just make it run for these two files firstly.6 files changed
Lines changed: 627 additions & 951 deletions
File tree
- yarn
- alpha/src/main/scala/org/apache/spark/deploy/yarn
- common/src/main/scala/org/apache/spark/deploy/yarn
- stable/src/main/scala/org/apache/spark/deploy/yarn
0 commit comments