-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-5672][Web UI] Don't return ERROR 500 when have missing args
#4239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can one of the admins verify this patch? |
|
I agree that 5xx means server error, and is not an appropriate response. But assuming a value of -1 doesn't seem like a great solution -- how about returning |
|
Ok, the patch was updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: paramater -> parameter
ab826b4 to
b6066e3
Compare
|
ok to test |
|
Test FAILed. |
|
retest this please |
|
Test build #26436 has started for PR 4239 at commit
|
|
Test build #26436 has finished for PR 4239 at commit
|
|
Test FAILed. |
|
Test build #26623 has started for PR 4239 at commit
|
|
Test build #26623 has finished for PR 4239 at commit
|
|
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These imports were correct where they were I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use Intellij IDEA and this was changed imports.
|
Test build #27004 has started for PR 4239 at commit
|
|
Test build #27004 has finished for PR 4239 at commit
|
|
Test PASSed. |
|
It's looking good to me but can you make a JIRA (https://issues.apache.org/jira/browse/SPARK/) and put it into the title like |
Spark web UI return `HTTP ERROR 500` when GET arguments is missing. Changed it to return a `HTTP ERROR 400`
ERROR 500 when have missing argsERROR 500 when have missing args
|
Test build #27020 has started for PR 4239 at commit
|
|
Test build #27020 has finished for PR 4239 at commit
|
|
Test PASSed. |
Spark web UI return `HTTP ERROR 500` when GET arguments is missing. Author: Kirill A. Korinskiy <[email protected]> Closes #4239 from catap/ui_500 and squashes the following commits: 520e180 [Kirill A. Korinskiy] [SPARK-5672][Web UI] Return `HTTP ERROR 400` when have missing args (cherry picked from commit 23a99da) Signed-off-by: Sean Owen <[email protected]>
Spark web UI return
HTTP ERROR 500when GET arguments is missing.