TEZ-4440. When tez app run in yarn fed cluster, may throw NPE#235
TEZ-4440. When tez app run in yarn fed cluster, may throw NPE#235abstractdog merged 1 commit intoapache:masterfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
thanks for this patch @zhengchenyu! can you include a unit test to TestTaskScheduler which confirms that a TaskScheduler returns Resource(0,0) even if the RM client returned null? I'm not familiar with yarn federation, but defaulting to Resource(0,0) makes sense in edge cases |
It happen only in yarn federation, will never happen without yarn federation. For why return null in yarn federation?It is another issue about yarn. |
|
thanks @zhengchenyu, after reading YARN-8933 this definitely makes sense |
…(zhengchenyu reviewed by Laszlo Bodor)
https://issues.apache.org/jira/browse/TEZ-4440