[FIXBUG][common]fix yarn applications status cause NPE(#3645)#3648
[FIXBUG][common]fix yarn applications status cause NPE(#3645)#3648qiaozhanwei merged 3 commits intoapache:devfrom
Conversation
fix get yarn applications status from yarn server,http code return 404, get yarn applications status cause NullPointerException
|
Please retry analysis of this Pull-Request directly on SonarCloud. |
597365581
left a comment
There was a problem hiding this comment.
fix get yarn applications status from yarn server,http code return 404, get yarn applications status cause NullPointerException
597365581
left a comment
There was a problem hiding this comment.
get yarn applications status from yarn server,http code return 404, get yarn applications status cause NullPointerException
|
fix get yarn applications status from yarn server,http code return 404, get yarn applications status cause NullPointerException |
|
Can you describe what happens when volatilization happens? There is a difference between getting a status return exception, such as 404, and a task running status failure. 什么情况下会发生?还有就是获取状态404和获取运行状态是失败的还是有区别的。 |
|
1、yarn http request timeout。2、yarn url is incorrect and so no... |
|
Does this erase any specific exception information in the log? 这样会抹去在日志中的具体的异常信息吗? |
|
felix-thinkingdata
left a comment
There was a problem hiding this comment.
Optimized exceptions when getting information over YARN HTTP.
优化了,在通过yarn http获取信息时的异常情况。
good job
ok,can merge? |
Wait for others to review.I have no authority to merge |
CalvinKirs
left a comment
There was a problem hiding this comment.
+1
but,multiple if nesting does not seem intuitive enough, if it can be modified, it would be better。
|
please change the pr title to [FIXBUG][common]fix yarn applications status cause NPE |
|
please change the pr title to [FIXBUG][common]fix yarn applications status cause NPE 按照要求改下标题。 |
|
@felix-thinkingdata ok, title has changed |
[FIXBUG][common]fix yarn applications status cause NPE
Tips
What is the purpose of the pull request
(For example: This pull request adds checkstyle plugin.)
Brief change log
(for example:)
Verify this pull request
(Please pick either of the following options)
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)