Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/1686#issuecomment-50845495
Discussed with @chenghao-intel offline. In Shark, `SharkServer` does rely
on `SharkDriver`, but `SharkServer2` doesn't. In the case of Spark SQL, firstly
we don't have a service equivalent to `SharkServer`, and `HiveThriftServer2`,
which is equivalent to `SharkServer2` doesn't depend on `SparkSQLDriver`. And
`SparkSQLCLIService` doesn't crash in front of bad queries, as @scwf has
suggested.
Just added a comment related to error reporting. Otherwise LGTM. This one
is indeed cleaner than #1661. Thanks for working on this @chenghao-intel !
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---