java.net.BindException: 无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries!
来源:互联网 发布:汇编语言用什么软件 编辑:程序博客网 时间:2024/06/15 16:32
在Centos7 中 使用 Intellij IDEA 来 Spark 本地模式启动时,报错:
java.net.BindException: 无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries!16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 WARN Utils: Service ‘sparkDriver’ could not bind on port 0. Attempting port 1. 16/06/27 19:36:34 ERROR SparkContext: Error initializing SparkContext. Java.NET.BindException: 无法指定被请求的地址: Service ‘sparkDriver’ failed after 16 retries!
这是因为我的客户端电脑IP改变了,改过来之后就好了。
例如:
val sparkConf = new SparkConf() .setAppName(jobName) .set("spark.driver.host", "localhost") .setMaster("local[4]")
阅读全文
1 0
- java.net.BindException: 无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries!
- java.net.BindException: 无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries!
- Spark:java.net.BindException: Address already in use: Service 'SparkUI' failed after 16 retries!
- Zookeeper集群模式无法部署云服务器【java.net.BindException: 无法指定被请求的地址 (Bind failed)】的解决
- 解决报错:java.net.BindException: 无法指定被请求的地址
- java.net.BindException: 地址已在使用
- java.net.BindException: 地址已在使用
- java.net.BindException: bind failed: EADDRINUSE (Address already in use)
- java.net.BindException: bind failed: EADDRINUSE (Address already in use)
- java.net.BindException: bind failed: EADDRINUSE (Address already in use)
- java.net.BindException: bind failed: EADDRINUSE (Address already in use)
- java.net.BindException: bind failed: EACCES (Permission denied)
- java.net.BindException: Address already in use (Bind failed)
- httpclient请求报 java.net.BindException: Address already in use
- java.net.BindException java.net.BindException java.net.BindException java.net.BindException
- java.net.bindexception
- java.net.BindException 处理
- ava.net.BindException: Problem binding to [ubuntu-master:9000] java.net.BindException: 地址已在使用; For m
- Solr-6.5.1从mysql数据库全量导入数据
- 自定义圆形、半圆形ProgressBar
- @RequestMapping @ResponseBody 前台 ajax 后台传数据
- 食物链
- js中获取 table节点各tr及td的内容方法
- java.net.BindException: 无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries!
- 点、线导出含高程值的表格
- linux终端下常用的操作快捷键
- 小printf的故事:什么是真正的程序员?
- 欢迎使用CSDN-markdown编辑器
- LeetCode--Remove Nth Node From End of List
- win10安装MDK5时,出现the arm C/C++ compiler已停止工作如何解决
- 分布式和集群的区别
- Java中文件的读写及流向字符串的转化