diff options
author | GuoQiang Li <witgo@qq.com> | 2014-09-06 15:08:43 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@apache.org> | 2014-09-06 15:08:43 -0700 |
commit | 21a1e1bb893512b2f68598ab0c0ec8c33e8d9909 (patch) | |
tree | 3f54ef947532e66a8d1c525e9cc40522a5aa399a /python | |
parent | 607ae39c22947dad8e65cbcec310367925f62eba (diff) | |
download | spark-21a1e1bb893512b2f68598ab0c0ec8c33e8d9909.tar.gz spark-21a1e1bb893512b2f68598ab0c0ec8c33e8d9909.tar.bz2 spark-21a1e1bb893512b2f68598ab0c0ec8c33e8d9909.zip |
[SPARK-3273][SPARK-3301]We should read the version information from the same place
Author: GuoQiang Li <witgo@qq.com>
Closes #2175 from witgo/SPARK-3273 and squashes the following commits:
cf9c65a [GuoQiang Li] We should read the version information from the same place
2a44e2f [GuoQiang Li] The spark version in the welcome message of pyspark is not correct
Diffstat (limited to 'python')
-rw-r--r-- | python/pyspark/shell.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/pyspark/shell.py b/python/pyspark/shell.py index fde3c29e5e..89cf76920e 100644 --- a/python/pyspark/shell.py +++ b/python/pyspark/shell.py @@ -49,9 +49,9 @@ print("""Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ - /__ / .__/\_,_/_/ /_/\_\ version 1.0.0-SNAPSHOT + /__ / .__/\_,_/_/ /_/\_\ version %s /_/ -""") +""" % sc.version) print("Using Python version %s (%s, %s)" % ( platform.python_version(), platform.python_build()[0], |