知识大全 unix中Hbase重启之后就无法启动的原因及解决办法
Posted 知
篇首语:捐躯赴国难,视死忽如归。本文由小常识网(cha138.com)小编为大家整理,主要介绍了知识大全 unix中Hbase重启之后就无法启动的原因及解决办法相关的知识,希望对你有一定的参考价值。
unix中Hbase重启之后就无法启动的原因及解决办法 以下文字资料是由(全榜网网www.cha138.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!
Hbase重启之后就无法启动的现象 当我们使用Hbase 的时候 遇到了 个奇怪的问题我们使用了数台机器构建了一个集群 并且按照Hadoop/Hbase的"Getting Started"安装配置了Hadoop和Hbase 之后能够正常启动Hadoop和Hbase 并且创建table和插入数据
不过 当我们访问Master的页面时 我们发现了第一个问题 在regionserver区域 出现了 个 的regionserver 但是我们并没有在conf/regionservers将master设置为regionserver
代码如下 复制代码Region ServersAddress Start Code Load : requests= regions= usedHeap= maxHeap= : requests= regions= usedHeap= maxHeap= WAMDM: requests= regions= usedHeap= maxHeap= WAMDM: requests= regions= usedHeap= maxHeap= WAMDM: requests= regions= usedHeap= maxHeap= WAMDM: requests= regions= usedHeap= maxHeap= ……
但是 虽然出现了以上的怪现象 但是hbase似乎仍然能够正常工作 只是 当我们打算重启hbase的时候 我们发现了第二个问题 我们尝试运行bin/stop hbase sh 之后 又运行启动hbase的脚本 bin/ start hbase sh 这一次 当我们访问master页面的时候 出现了如下的错误
代码如下 复制代码HTTP ERROR: Trying to contact region server null for region row " but failed after attempts Exceptions: apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts=
RequestURI=/master jsp
Caused by: apache hadoop hbase client RetriesExhaustedException: Trying to contact region server null for region row " but failed after attempts Exceptions: apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts=
at apache hadoop hbase client HConnectionManager$TableServers getRegionServerWithRetries(HConnectionManager java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase client HConnectionManager$TableServers listTables(HConnectionManager java: ) at apache hadoop hbase client HBaseAdmin listTables(HBaseAdmin java: ) at apache hadoop hbase generated master master_jsp _jspService(master_jsp java: ) at apache jasper runtime HttpJspBase service(HttpJspBase java: ) at javax servlet (HttpServlet java: ) at mortbay jetty servlet ServletHolder handle(ServletHolder java: ) at mortbay jetty servlet ServletHandler handle(ServletHandler java: ) at mortbay jetty security SecurityHandler handle(SecurityHandler java: ) at mortbay jetty servlet SessionHandler handle(SessionHandler java: ) at mortbay jetty handler ContextHandler handle(ContextHandler java: ) at mortbay jetty webapp WebAppContext handle(WebAppContext java: ) at mortbay jetty handler ContextHandlerCollection handle(ContextHandlerCollection java: ) at mortbay jetty handler HandlerWrapper handle(HandlerWrapper java: ) at mortbay jetty Server handle(Server java: ) at mortbay jetty HttpConnection handleRequest(HttpConnection java: ) at mortbay jetty HttpConnection$RequestHandler headerComplete(HttpConnection java: ) at mortbay jetty HttpParser parseNext(HttpParser java: ) at mortbay jetty HttpParser parseAvailable(HttpParser java: ) at mortbay jetty HttpConnection handle(HttpConnection java: ) at mortbay io nio SelectChannelEndPoint run(SelectChannelEndPoint java: ) at mortbay thread QueuedThreadPool$PoolThread run(QueuedThreadPool java: )
Powered by Jetty://
同时 在master的log中 出现了如下的错误 : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: locateRegionInMeta attempt of failed; retrying after sleep of apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= at apache hadoop hbase ipc HBaseRPC waitForProxy(HBaseRPC java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRootRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegionInMeta(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getRegionLocation(HConnectionManager java: ) at apache hadoop hbase client ServerCallable instantiateServer(ServerCallable java: ) at apache hadoop hbase client ScannerCallable instantiateServer(ScannerCallable java: ) at apache hadoop hbase client HConnectionManager$TableServers getRegionServerWithRetries(HConnectionManager java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase client HConnectionManager$TableServers listTables(HConnectionManager java: ) at apache hadoop hbase client HBaseAdmin listTables(HBaseAdmin java: ) at apache hadoop hbase generated master master_jsp _jspService(master_jsp java: ) at apache jasper runtime HttpJspBase service(HttpJspBase java: ) at javax servlet (HttpServlet java: ) at mortbay jetty servlet ServletHolder handle(ServletHolder java: ) at mortbay jetty servlet ServletHandler handle(ServletHandler java: ) at mortbay jetty security SecurityHandler handle(SecurityHandler java: ) at mortbay jetty servlet SessionHandler handle(SessionHandler java: ) at mortbay jetty handler ContextHandler handle(ContextHandler java: ) at mortbay jetty webapp WebAppContext handle(WebAppContext java: ) at mortbay jetty handler ContextHandlerCollection handle(ContextHandlerCollection java: ) at mortbay jetty handler HandlerWrapper handle(HandlerWrapper java: ) at mortbay jetty Server handle(Server java: ) at mortbay jetty HttpConnection handleRequest(HttpConnection java: ) at mortbay jetty HttpConnection$RequestHandler headerComplete(HttpConnection java: ) at mortbay jetty HttpParser parseNext(HttpParser java: ) at mortbay jetty HttpParser parseAvailable(HttpParser java: ) at mortbay jetty HttpConnection handle(HttpConnection java: ) at mortbay io nio SelectChannelEndPoint run(SelectChannelEndPoint java: ) at mortbay thread QueuedThreadPool$PoolThread run(QueuedThreadPool java: ) : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: locateRegionInMeta attempt of failed; retrying after sleep of apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= at apache hadoop hbase ipc HBaseRPC waitForProxy(HBaseRPC java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRootRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegionInMeta(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers relocateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getRegionLocation(HConnectionManager java: ) at apache hadoop hbase client ServerCallable instantiateServer(ServerCallable java: ) at apache hadoop hbase client ScannerCallable instantiateServer(ScannerCallable java: ) at apache hadoop hbase client HConnectionManager$TableServers getRegionServerWithRetries(HConnectionManager java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase client HConnectionManager$TableServers listTables(HConnectionManager java: ) at apache hadoop hbase client HBaseAdmin listTables(HBaseAdmin java: ) at apache hadoop hbase generated master master_jsp _jspService(master_jsp java: ) at apache jasper runtime HttpJspBase service(HttpJspBase java: ) at javax servlet (HttpServlet java: ) at mortbay jetty servlet ServletHolder handle(ServletHolder java: ) at mortbay jetty servlet ServletHandler handle(ServletHandler java: ) at mortbay jetty security SecurityHandler handle(SecurityHandler java: ) at mortbay jetty servlet SessionHandler handle(SessionHandler java: ) at mortbay jetty handler ContextHandler handle(ContextHandler java: ) at mortbay jetty webapp WebAppContext handle(WebAppContext java: ) at mortbay jetty handler ContextHandlerCollection handle(ContextHandlerCollection java: ) at mortbay jetty handler HandlerWrapper handle(HandlerWrapper java: ) at mortbay jetty Server handle(Server java: ) at mortbay jetty HttpConnection handleRequest(HttpConnection java: ) at mortbay jetty HttpConnection$RequestHandler headerComplete(HttpConnection java: ) at mortbay jetty HttpParser parseNext(HttpParser java: ) at mortbay jetty HttpParser parseAvailable(HttpParser java: ) at mortbay jetty HttpConnection handle(HttpConnection java: ) at mortbay io nio SelectChannelEndPoint run(SelectChannelEndPoint java: ) at mortbay thread QueuedThreadPool$PoolThread run(QueuedThreadPool java: ) : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: locateRegionInMeta attempt of failed; retrying after sleep of apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= at apache hadoop hbase ipc HBaseRPC waitForProxy(HBaseRPC java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRootRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegionInMeta(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers locateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers relocateRegion(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getRegionLocation(HConnectionManager java: ) at apache hadoop hbase client ServerCallable instantiateServer(ServerCallable java: ) at apache hadoop hbase client ScannerCallable instantiateServer(ScannerCallable java: ) at apache hadoop hbase client HConnectionManager$TableServers getRegionServerWithRetries(HConnectionManager java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase clientaScan(MetaScanner java: ) at apache hadoop hbase client HConnectionManager$TableServers listTables(HConnectionManager java: ) at apache hadoop hbase client HBaseAdmin listTables(HBaseAdmin java: ) at apache hadoop hbase generated master master_jsp _jspService(master_jsp java: ) at apache jasper runtime HttpJspBase service(HttpJspBase java: ) at javax servlet (HttpServlet java: ) at mortbay jetty servlet ServletHolder handle(ServletHolder java: ) at mortbay jetty servlet ServletHandler handle(ServletHandler java: ) at mortbay jetty security SecurityHandler handle(SecurityHandler java: ) at mortbay jetty servlet SessionHandler handle(SessionHandler java: ) at mortbay jetty handler ContextHandler handle(ContextHandler java: ) at mortbay jetty webapp WebAppContext handle(WebAppContext java: ) at mortbay jetty handler ContextHandlerCollection handle(ContextHandlerCollection java: ) at mortbay jetty handler HandlerWrapper handle(HandlerWrapper java: ) at mortbay jetty Server handle(Server java: ) at mortbay jetty HttpConnection handleRequest(HttpConnection java: ) at mortbay jetty HttpConnection$RequestHandler headerComplete(HttpConnection java: ) at mortbay jetty HttpParser parseNext(HttpParser java: ) at mortbay jetty HttpParser parseAvailable(HttpParser java: ) at mortbay jetty HttpConnection handle(HttpConnection java: ) at mortbay io nio SelectChannelEndPoint run(SelectChannelEndPoint java: ) at mortbay thread QueuedThreadPool$PoolThread run(QueuedThreadPool java: ) : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Root region location changed Sleeping : : INFO apache hadoop hbase master ServerManager: region servers dead average load : : DEBUG apache hadoop hbase client HConnectionManager$TableServers: Wake Retry finding root region : : DEBUG apache hadoop hbase zookeeper ZooKeeperWrapper: Read ZNode /hbase/root region server got : : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : INFO apache hadoop hbase master BaseScanner: RegionManager rootScanner scanning meta region server: : regionname: ROOT startKey: <> : : INFO apache hadoop hbase master BaseScanner: All META region(s) scanned : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : WARN apache hadoop hbase master BaseScanner: Scan ROOT region apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= at apache hadoop hbase ipc HBaseRPC waitForProxy(HBaseRPC java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase master BaseScanner scanRegion(BaseScanner java: ) at apache hadoop hbase master RootScanner scanRoot(RootScanner java: ) at apache hadoop hbase master RootScanner maintenanceScan(RootScanner java: ) at apache hadoop hbase master BaseScanner chore(BaseScanner java: ) at apache hadoop hbase Chore run(Chore java: ) : : INFO apache hadoop hbase master ServerManager: region servers dead average load : : INFO apache hadoop hbase master BaseScanner: RegionManager rootScanner scanning meta region server: : regionname: ROOT startKey: <> : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : WARN apache hadoop hbase master BaseScanner: Scan ROOT region apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= at apache hadoop hbase ipc HBaseRPC waitForProxy(HBaseRPC java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase master BaseScanner scanRegion(BaseScanner java: ) at apache hadoop hbase master RootScanner scanRoot(RootScanner java: ) at apache hadoop hbase master RootScanner maintenanceScan(RootScanner java: ) at apache hadoop hbase master BaseScanner chore(BaseScanner java: ) at apache hadoop hbase Chore run(Chore java: ) : : INFO apache hadoop hbase master BaseScanner: All META region(s) scanned : : INFO apache hadoop hbase master ServerManager: region servers dead average load : : INFO apache hadoop hbase master BaseScanner: RegionManager rootScanner scanning meta region server: : regionname: ROOT startKey: <> : : INFO apache hadoop ipc HbaseRPC: Server at / : could not be reached after tries giving up : : WARN apache hadoop hbase master BaseScanner: Scan ROOT region apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= at apache hadoop hbase ipc HBaseRPC waitForProxy(HBaseRPC java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase master BaseScanner scanRegion(BaseScanner java: ) at apache hadoop hbase master RootScanner scanRoot(RootScanner java: ) at apache hadoop hbase master RootScanner maintenanceScan(RootScanner java: ) at apache hadoop hbase master BaseScanner chore(BaseScanner java: ) at apache hadoop hbase Chore run(Chore java: )
此时 Hbase能够进入shell 但是无法执行任何操作 于是再次试图关闭hbase的时候 却发现无法停止master 那个"stop master"后面的“ ”出现了许许多多 仍然无法停止master节点 于是我们不得不强制kill掉master Hbase就这样挂掉了
Hbase重启之后就无法启动的原因分析 经过多方排查 最后我在尝试使用netstat an查看端口占用情况的时候发现 在WAMDM 节点上 regionserver占用的 端口占用为 : 而在WAMDM 节点上 regionserver占用的 端口占用为 : 我感觉颇为蹊跷 之后便检查/etc/hosts文件 果然发现在WAMDM 和WAMDM 下的hosts文件不同 在WAMDM 的hosts文件中的内容为
代码如下 复制代码WAMDM localhost localdomain localhost WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM
大家注意第一行 我们在使用配置Hadoop/Hbase的时候 常常使用主机名来代替IP使用 但是在WAMDM 的机器上 WAMDM 被映射为 于是master和regionserver之间的通信就出错 这也就是为什么我们经常在日志中以及错误提示中看到如下信息
代码如下 复制代码Server at / : could not be reached after tries giving up
apache hadoop hbase client RetriesExhaustedException: Failed setting up proxy to / : after attempts= at apache hadoop hbase ipc HBaseRPC waitForProxy(HBaseRPC java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase client HConnectionManager$TableServers getHRegionConnection(HConnectionManager java: ) at apache hadoop hbase master BaseScanner scanRegion(BaseScanner java: ) at apache hadoop hbase master RootScanner scanRoot(RootScanner java: ) at apache hadoop hbase master RootScanner maintenanceScan(RootScanner java: ) at apache hadoop hbase master BaseScanner chore(BaseScanner java: ) at apache hadoop hbase Chore run(Chore java: )
Hbase重启之后就无法启动的解决办法 于是 我将所有机器的/etc/hosts文件 都改为了如下配置
代码如下 复制代码localhost WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM WAMDM # The following lines are desirable for IPv capable hosts:: localhost ip localhost ip loopbackfe :: ip localnetff :: ip mcastprefixff :: ip allnodesff :: ip allroutersff :: ip allhosts
同时 为了保险起见 我在stop hbase sh中 也加入停止regionservers的命令(虽然在网上查不到停止regionservers的必要性 以及这个脚本存在bug的证据 但是这样改经过测试是没有问题的)
代码如下 复制代码"$bin"/hbase daemons sh config "$HBASE_CONF_DIR" hosts "$HBASE_REGIONSERVERS" stop regionserver
这个命令需要加在stop master之前 至于不加入这个停止regionservers的命令是否可行 在未来我会进一步测试
cha138/Article/program/Java/gj/201405/30822相关参考
知识大全 用大白菜制作好了启动U盘,之后只要重启电脑进入BOIS设置USB启动就可以装系统了吗
用大白菜制作好了启动U盘,之后只要重启电脑进入BOIS设置USB启动就可以装系统了吗? 以下文字资料是由(本站网www.cha138.com)小编为大家搜集整理后发布的
知识大全 将安装好系统的优盘插入电脑,重启后进入bios,设定优盘为电脑第一启动顺序是什么意
将安装好系统的优盘插入电脑,重启后进入bios,设定优盘为电脑第一启动顺序是什么意就是让你电脑优先从U盘启动。不然的话电脑会从硬碟启动,硬碟没系统就提示无法引导等等。硬碟有系统就直接进入硬碟的系统,不
知识大全 为什么每次电脑开机后五分钟之内 突然蓝屏 然后就一大串英文字母 之后我把电脑关机重启才行 重启后又会显
为什么每次电脑开机后五分钟之内突然蓝屏然后就一大串英文字母之后我把电脑关机重启才行重启后又会显您好!蓝屏的主要原因:一般由硬件内存及软件系统引起。多数是因系统软件原因造成,其中由【病毒】引起居多。检查
知识大全 u盘启动后无法进入pe,有u盘启动选项,但是打开后直接进入原系统。怎么回事,用的戴尔灵越笔记本
u盘启动后无法进入pe,有u盘启动选项,但是打开后直接进入原系统。怎么回事,用的戴尔灵越笔记本在bios里的boot启动项中选择好U盘启动后,再保存退出,然后插入U盘后重启笔记本就能进入U盘启动,另外
1台8t级挖掘机配装4TNV94L型洋马发动机,在进行河堤修整作业的爬坡过程中,排气管突然冒出一股白烟,然后熄火。再次启动时,只听到沉闷的“嗡嗡”声而发动机不能启动。该发动机刚做过1000h保养,按标
1台8t级挖掘机配装4TNV94L型洋马发动机,在进行河堤修整作业的爬坡过程中,排气管突然冒出一股白烟,然后熄火。再次启动时,只听到沉闷的“嗡嗡”声而发动机不能启动。该发动机刚做过1000h保养,按标
知识大全 安卓手机里的捕鱼达人为什么在关掉之后在后台仍自动重启一个进程和一个服务,怎么都关不掉
安卓手机里的捕鱼达人为什么在关掉之后在后台仍自动重启一个进程和一个服务,怎么都关不掉那是软件自身的问题,要是你的手机已获得最高权限的话,就设置一下开机启动项!那个软件不是很好,有些手机还会搞不好后台自
hbase的存储是排序存储的吗hbase是非关系型的,你可以把xml父子节点解析的结果存入hbasehbasebigdecimal怎么存储的果用户输入5,那么number就等于5.0。变量来源于数学,
我用大白菜装系统!电脑重启后又回到大白菜界面?系统既然已经被装到了硬盘上了,就不要再设置成U盘第一启动了,要更改成硬盘第一启动;另外进入大白菜的启动画面时应该会有选择项可以从硬盘启动操作系统的,选择那
知识大全 电脑玩游戏老卡屏幕然后就鼠标就不动了只能重启什么原因呀
电脑玩游戏老卡屏幕然后就鼠标就不动了只能重启什么原因呀方案一:游戏加速方案二:更新显卡驱动1.打开360软件管家在搜索栏中输入驱动人生进行搜索,点击下载,完成后点击安装键,按照提示完成安装2.运行驱动