spark-Shell 启动报错的坑

部署spark版本2.4.1(包为spark-2.4.1-bin-without-hadoop.tgz)时,启动spark-shell报错

错误信息是:Exception in thread "main" java.lang.NoSuchMethodError: jline.console.completer.CandidateListCompletionHandler.setPrintSpaceAfterFullCompletion(Z)V,查了一下午,发现可能是spark2.4.1的bug

详细看:

http://mail-archives.apache.org/mod_mbox/spark-issues/201810.mbox/%3CJIRA.13192953.1539979697000.165392.1540166400377@Atlassian.JIRA%3E

 

解决办法:换到spark2.3.3版本,启动正常

 

 

 

你可能感兴趣的:(大数据,编程,python基础,hadoop,spark)