aboutsummaryrefslogtreecommitdiff
path: root/external/zeromq
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2015-02-16 18:08:02 -0800
committerAndrew Or <andrew@databricks.com>2015-02-16 18:08:08 -0800
commit385a339a2e685e2a985587cf459cd329912946e9 (patch)
tree61d07aeae0d249319b55dba01d1071eb87083a1d /external/zeromq
parentd8c70fb6d2a44d62f3dae33fc77422c37e5ee6b3 (diff)
downloadspark-385a339a2e685e2a985587cf459cd329912946e9.tar.gz
spark-385a339a2e685e2a985587cf459cd329912946e9.tar.bz2
spark-385a339a2e685e2a985587cf459cd329912946e9.zip
[SPARK-5849] Handle more types of invalid JSON requests in SubmitRestProtocolMessage.parseAction
This patch improves SubmitRestProtocol's handling of invalid JSON requests in cases where those requests were parsable as JSON but not as JSON objects (e.g. they could be parsed as ararys or strings). I replaced an unchecked cast with pattern-matching and added a new test case. Author: Josh Rosen <joshrosen@databricks.com> Closes #4637 from JoshRosen/rest-protocol-cast and squashes the following commits: b3f282b [Josh Rosen] [SPARK-5849] Handle more types of invalid JSON in SubmitRestProtocolMessage.parseAction (cherry picked from commit 58a82a7882d7a8a7e4064278c4bf28607d9a42ba) Signed-off-by: Andrew Or <andrew@databricks.com>
Diffstat (limited to 'external/zeromq')
0 files changed, 0 insertions, 0 deletions