py4j.protocol.Py4JJavaError错误
来源:互联网 发布:sofifa数据库手机版 编辑:程序博客网 时间:2024/06/03 07:29
py4j.protocol.Py4JJavaError: An error occurred while calling o30.toDebugString.: org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: hdfs://192.168.1.84:9000/user/root/shakespeare.txt
原因:
text = sc.textFile("shakespeare.txt")
spark默认去hdfs寻找,然而我的放在本地,应该改为:
text = sc.textFile("file:///root/shakespeare.txt")
阅读全文
0 0
- py4j.protocol.Py4JJavaError错误
- spark 报错:py4j.protocol.Py4JJavaError
- Py4j
- py4j
- Py4j
- Py4j调研
- : Invalid protocol: null错误
- socket+Protocol buffer 错误
- windows下安装py4j
- no protocol: Files/Apache错误
- No matching authentication protocol错误
- No matching authentication protocol错误
- No matching authentication protocol错误
- Chrome Experimental QUIC Protocol错误
- Py4j原理及简单使用
- 从Pythyon端启动Py4J
- Oozie报错Py4JJavaError Secu…
- protocol buffer出现大量链接错误
- Linux实验二
- eclipse 注释时间显示格式
- 22 谓词推入(pushing predicate) --优化主题系列
- Java8 04 新日期时间API
- 项目中遇到的坑--数据库自动释放连接
- py4j.protocol.Py4JJavaError错误
- 在使用ifconfig命令时出现了无法安装的问题,解决方法
- 朋友勇和他们分公司的致远OA A8v5 6.1的授权注册
- 归并排序的递归以及迭代两种实现和优化
- hibernate进阶(二)
- RPM文件安装时最后加上 --nodeps --force参数是什么意思
- php中引用&的真正理解-变量引用、函数引用、对象引用
- Celery(1):celery简介及安装
- Maven学习笔记(二)