eclipse远程连接hbase错误
来源:互联网 发布:汕头澄海有淘宝代运营 编辑:程序博客网 时间:2024/04/30 08:36
java.net.ConnectException: Connection refused: no further information
java.net.UnknownHostException: unknown host: iZ25yj2xxi1Z
解决办法:查看linux主机名字 hostname知linux主机名字为iZ25yj2xxi1Z
修改win7 C:\Windows\System32\drivers\etc下hosts文件,添加xx.xx.xx.xx iZ25yj2xxi1Z #linux的ip和对应的主机名
又出现错误
java.net.ConnectException: Connection refused: no further information
org.apache.hadoop.hbase.ipc.HBaseClient$FailedServerException: This server is in the failed servers list: iZ25yj2xxi1Z /xxxxx:60000
查看linux进程 netstat -nlp | grep java
发现60000端口的ip并不是linux主机的ip(我在hbase-site.xml里面配置的hbase.master为主机ip:60000)
查看/etc/hosts文件发现iZ25yj2xxi1Z对应ip并非本机IP,将其更改为本机ip
重启hbase发现bin/stop-hbase.sh无法停止,可能是因为修改了什么文件的缘故,强制将其停止,jps查看hbase对应几个进程的进程号(HMaster,HQuorumPeer,HRegionServer),kill -9 xx
重新尝试连接,成功
感觉hostname太难看,想修改hostname
查看用hostname命令
1,暂时修改使用hostname new_name
2,需重启的修改在/etc/hostname里面修改成new_name
两者结合即可永久修改
重启network /etc/init.d/networking restart
远程ubuntu连接服务器,两端都需下载ssh,命令 apt-get install openssh-clientopenssh-server
用/etc/init.d/ssh start启动ssh,停止和重启命令是/etc/init.d/ssh stop , /etc/init.d/ssh restart
ssh的配置文件位于/etc/ssh/sshd_config 修改完了记得重启一下sshd服务才能生效
- eclipse远程连接hbase错误
- eclipse远程连接hbase遇到的问题
- Windows 远程连接Hbase常见错误
- eclipse远程hbase 无法连接 org.apache.hadoop.hbase.MasterNotRunningException
- Windows下eclipse连接远程Hadoop+Hbase+zookeeper
- eclipse 远程Debug Hbase
- eclipse连接hbase
- python操作hbase 远程连接
- hadoop+hbase+zookeeper 分布式集群搭建 + eclipse远程连接hdfs 完美运行
- hadoop+hbase+zookeeper 分布式集群搭建 + eclipse远程连接hdfs 完美运行
- 局域网内任何一台pc上windows下eclipse远程连接hbase数据库
- win7系统eclipse远程连接虚拟机中的centos6.5,对hbase进行操作
- win下Eclipse远程连接Hbase的配置及程序示例(create、insert、get、delete)
- eclipse 远程连接hive
- Eclipse远程连接Hadoop
- eclipse远程连接Hadoop
- eclipse连接远程服务器
- mysql 远程连接错误
- 自定义View 应用于用户头像背景圆框
- Effective Java读书笔记 第二部分(第7章-第11章)
- PackageManager 和 ActivityManager
- CSS 框模型(Box Model)
- Android drawable中的一些细节
- eclipse远程连接hbase错误
- 使用Thinkphp自带HTTP类的功能实现文件下载
- poj3264 线段树求最大值,最小值
- #HDU 1698 Just a Hook 【线段树板题】
- Android TextUtils类介绍
- xcode快捷创建控件
- 数据结构与算法目录
- C#的EF中使用数据库事务和并发隔离级别
- iOS collectionView的使用