错误:jupyter笔记本中不支持的类文件主版本56

时间:2019-08-16 17:32:51

标签: python pyspark jupyter-notebook

我在Jupyter Notebook中运行的代码:

import pyspark
from pyspark import SparkContext
from pyspark.sql import SQLContext
from pyspark.sql import SparkSession
from pyspark.sql.types import Row
from datetime import datetime
sc = SparkContext()
spark = SparkSession(sc)
simple_data = sc.parallelize ([1,2,3])     
simple_data.count()

收到的错误:

IllegalArgumentException: 'Unsupported class file major version 56'

0 个答案:

没有答案