Python 2.6.6 (r266:84292, Feb 222013, 00:00:18)
[GCC 4.4.720120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits"or"license"for more information.
/home/q/www/spark/python/pyspark/sql/context.py:477: DeprecationWarning: HiveContext is deprecated in Spark 2.0.0. Please use SparkSession.builder.enableHiveSupport().getOrCreate() instead.
DeprecationWarning)
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
Setting default log level to"WARN".
To adjust logging level use sc.setLogLevel(newLevel).
16/11/2211:57:29 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/__ / .__/\_,_/_/ /_/\_\ version 2.0.0
/_/
Using Python version 2.6.6 (r266:84292, Feb 22201300:00:18)
SparkSession available as'spark'.
>>>