hadoop中filesystem无法显示( Can't browse the DFS since there are no live nodes available to redirect to.)
来源:互联网 发布:人工智能 硅基生命 编辑:程序博客网 时间:2024/06/05 06:40
2.2.0版本中通过filesystem进入
http://192.168.211.128:50070/nn_browsedfscontent.jsp
界面显示如下:
HTTP ERROR 500
Problem accessing /nn_browsedfscontent.jsp. Reason:
Can't browse the DFS since there are no live nodes available to redirect to.
Caused by:
java.io.IOException: Can’t browse the DFS since there are no live nodes available to redirect to.
at org.apache.hadoop.hdfs.server.namenode.NamenodeJspHelper.redirectToRandomDataNode(NamenodeJspHelper.java:646)
at org.apache.hadoop.hdfs.server.namenode.nn_005fbrowsedfscontent_jsp._jspService(nn_005fbrowsedfscontent_jsp.java:70)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler
at org.mortbay.jetty.servlet.ServletHandler
at org.mortbay.jetty.servlet.ServletHandler
at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)
at org.mortbay.jetty.servlet.ServletHandler
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Powered by Jetty://
导致这种错误的原因是使用2.2.0版本就废弃的hadoop -namenode -format进行hdfs初始化,应该使用hdfs namenode
-format进行。
解决办法为先停止所有hadoop相关进程,然后使用hdfs namenode -format格式化再重启服务。
重启后产生了新的问题,使用jps查看hadoop进程发现datanode没有启动。以前也遇到过,是因为在配置文件中dfs.name.dir的路径下的/current/VERSION中每次格式化VERSION的clusterID会产生一个新的ID。
解决办法为:
查看hadoop目录下log目录下datanode相关的log文件,
找到namenode下面的clusterID,
修改dfs.name.dir/current/VERSION 里面的clusterID使二者一致。修改后保存重启服务即可。
- hadoop中filesystem无法显示( Can't browse the DFS since there are no live nodes available to redirect to.)
- There are currently no logon servers available to service the logon
- 关于Download failed. There are no HTTP transports available which can complete the requested request
- Android eclipse unable to launch:The selection can not be launched,and there are no recent launches
- hadoop常见问题Browse the filesystem链接打不开
- Hadoop遇到Browse the filesystem链接打不开
- Can't resolve reference to bean 'dataSource' in parent factory: no parent factory available
- Can't resolve reference to bean 'dataSource' in parent factory: no parent factory available
- Hadoop: File could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanod
- The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available...
- laravel 下载报错:Unable to guess the mime type as no guessers are available
- There are no packages available for installation
- There are no packages available for installation
- No live SolrServers available to handle this request
- no project are available for deployment to this server
- Myeclipse:No projects are available for deployment to this server!
- no project are available for deployment to this server&n
- no projects are available for deployment to this server
- LeetCode[347] Top K Frequent Elements
- 【杭电1222】互质
- javascript权威指南--表达式
- PMP学习笔记(二)常见合同类型
- Static关键字
- hadoop中filesystem无法显示( Can't browse the DFS since there are no live nodes available to redirect to.)
- 生成json及xml接口
- Android常用程序总结-----/*自己编写*/
- WEB重点总结
- python列表基本操作(python2x版本)
- Linux权限管理(基本权限、默认权限、
- linux 下目录的操作
- 2016 UESTC Training for Data Structures C -> 卿学姐与诡异村庄 CDOJ 1328 并查集
- 【杭电1722】Cake