GitHub user liu-zhaokun opened a pull request:
https://github.com/apache/spark/pull/18879
[SPARK-21662] modify the appname to [SparkSQL::localHostName] instead of
[SparkSQL::lP]
[https://issues.apache.org/jira/browse/SPARK-21662](https://issues.apache.org/jira/browse/SPARK-21662)
As it says "If user doesn't specify the appName, we want to get
[SparkSQL::localHostName]" in SparkSqlEnv.scala,line 38,appname should be
SparkSQL::localHostName,but it is SparkSQL::lP in fact.So I modify the
localHostName method to get localhost with getCanonicalHostName method.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/liu-zhaokun/spark master0808
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18879.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #18879
----
commit ab2248587d1a761058411c9a7f39e2da13f433bd
Author: liuzhaokun <[email protected]>
Date: 2017-08-08T06:37:35Z
[SPARK-21662] modify the appname to [SparkSQL::localHostName] instead of
[SparkSQL::lP]
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]