Unable to determine local hostname -falling back to "localhost"
来源:互联网 发布:java酒店管理系统 课本 编辑:程序博客网 时间:2024/05/16 12:02
hadoop2.6.5伪分布式安装的时候,报错:Unable to determine local hostname -falling back to "localhost",
由于更改了虚拟机的hostname
vi /etc/sysconfig/network
而/etc/hosts 下的文件没有修改
解决方法
vi /etc/hosts
添加红框里面的内容: ip 后面跟上虚拟机名,虚拟机名称和上图一样
0 0
- Unable to determine local hostname -falling back to "localhost"
- initImageAppleJPEG:1512: falling back to libJPEG
- Terminal initialization failed; falling back to unsupported
- Terminal initialization failed; falling back to unsupported
- Terminal initialization failed; falling back to unsupported
- mwactl: Unable to determine MWA_TOP.
- OracleDBControl启动失败Unable to determine local host from URL REPOSITORY_URL=http://
- 服务器hostname解析错误,ERROR [Cache] Unable to set localhost. 解决
- Unable to determine default Pin/Port configuration!
- Unable to determine name from existing gemspec
- pi4j 出错: Unable to determine hardware version
- [ERROR] Terminal initialization failed; falling back to unsupported
- No active profile set, falling back to default profiles: default
- No active profile set, falling back to default profiles: default
- "INFO metrics.MetricsUtil: Unable to obtain hostName"
- OracleDBControl启动失败Unable to determine local host from URL REPOSITORY_URL=http://your-url.co 解决方法
- OracleDBControl启动失败Unable to determine local host from URL REPOSITORY_URL=http://your-url.co 解决方法
- ios unable to determine simulator device to boot
- JavaScript学习笔记13-赋值操作
- 打印二叉树
- opencv︱图像的色彩空間cvtColor(HSV、HSL、HSB )及相关色彩学
- supermap desktop叠加天地图wmts服务偏差问题解决办法
- 从面试的角度诠释Java工程师
- Unable to determine local hostname -falling back to "localhost"
- 从HTTP和FTP上获取单个文件的大小
- Linq to Entity-执行存储过程
- POJ2534 Ubiquitous Religions
- HTTP报文-请求头部
- Linux下安装xgBoost
- Sprin mvc 出现 No mapping found for HTTP request with URI,解决方案之一
- 100道前端面试题系列01
- BigDecimal 加减乘除