Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/1715#discussion_r15727017
--- Diff: bin/beeline ---
@@ -17,29 +17,14 @@
# limitations under the License.
#
-# Figure out where Spark is installed
--- End diff --
My bad, you're right. I should update the PR description.
While working on #1620, the `beeline` script had once been implemented with
`spark-submit` to avoid duplicated `java` check and computing classpath, but
then reverted because of the issue this PR is trying to fix (`beeline --help`
shows `spark-submit` usage message).
And while working on this PR, I realized that `beeline` is only a JDBC
client, and unrelated to Spark, I can just start it with `spark-class`. That's
the reason why this change appear here.
---
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.
---