hadoop報:could only be replicated to 0 nodes, instead of 1
hadoop可以ls,rm但是執行put報如下錯:
<p class="indent">[root@CephMDS bin]# Hadoop fs -put file1 books/ 11/03/24 18:01:24 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000 11/03/24 18:01:25 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id 11/03/24 18:01:26 WARN hdfs.DFSClient: DataStreamer Exception: java.io.IOException: File /user/root/books/file1 could only be replicated to 0 nodes, instead of 1 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1448) at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:690) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1350) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1346) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:742) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1344) at org.apache.hadoop.ipc.Client.call(Client.java:905) at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:198) at $Proxy0.addBlock(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) at $Proxy0.addBlock(Unknown Source) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:928) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:811) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:427) put: File /user/root/books/file1 could only be replicated to 0 nodes, instead of 1 11/03/24 18:01:26 ERROR hdfs.DFSClient: Exception closing file /user/root/books/file1 : java.io.IOException: File /user/root/books/file1 could only be replicated to 0 nodes, instead of 1 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1448) at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:690) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1350) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1346) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:742) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1344) java.io.IOException: File /user/root/books/file1 could only be replicated to 0 nodes, instead of 1 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1448) at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:690) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:342) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1350) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1346) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:742) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1344) at org.apache.hadoop.ipc.Client.call(Client.java:905) at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:198) at $Proxy0.addBlock(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59) at $Proxy0.addBlock(Unknown Source) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:928) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:811) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:427) <p class="indent">[root@CephMDS bin]# <p class="indent">[root@CephMDS bin]# <p class="indent"> |
相關文章
- hadoop報錯:could only be replicated to 0 nodes, instead of 1Hadoop
- hadoop報:jobtracker.info could only be replicated to 0 nodes, instead of 1Hadoop
- Error:map.xml could only be replicated to 0 nodes instead of minReplication (=1)ErrorXML
- hadoop叢集篇--從0到1搭建hadoop叢集Hadoop
- mysql 5.7啟動報錯"Expected to open undo tablespaces but was able to find only 0"MySql
- Hadoop MapReduce進階 使用分散式快取進行replicated joinHadoop分散式快取
- hadoop啟動時,報ssh: Could not resolve hostname xxx: NamHadoop
- Hadoop 從 0 到 1 學習 ——第一章 Hadoop 介紹Hadoop
- 報錯-only final is permittedMIT
- Inhomogeneous deployment for replicated sessions is not allowed.Session
- Swap Nodes in PairsAI
- MySQL案例04:Cause: java.sql.SQLException: Could not retrieve transaction read-only status from serverMySqlJavaExceptionServer
- su的時候報:could not open sessionSession
- pg_basebackup 報錯could not create directory
- oracle RAC dbca的時候報錯提示cluster nodes are not accessibleOracle
- 【轉】RAC安裝時,報The specified nodes are not clusterable 的解決方法
- raid1+0 and raid0+1AI
- hadoop 調優1Hadoop
- Hadoop學習筆記——————1、Hadoop概述Hadoop筆記
- 解決Android 8 0的Only fullscreen opaque activities can request orientatioAndroidOpaque
- ORACLE ORA-00600之[kkoipt:incorrect pwj], [0], [0], [0], [2], [1], [1]Oracle
- cmake報錯CMake Error: Could not find CMAKE_ROOTError
- WebLogic啟動報Could not get the server file lockWebServer
- MySQL 報錯'Variable 'XXX' is a read only variable'MySql
- 作業系統報:read-only file system作業系統
- 保姆級教程,帶你認識大資料,從0到1搭建 Hadoop 叢集大資料Hadoop
- Codeforces Beta Round #76 (Div. 1 Only) A. Frames
- 13-Architecture-nodes
- 024,Swap Nodes in PairsAI
- 24. Swap Nodes in PairsAI
- The best LeetCode NodesLeetCode
- Hadoop筆記HDFS(1)Hadoop筆記
- SQL on Hadoop 的真相(1)SQLHadoop
- SlZORk9SMkRMSVpUR1VDQ0tWTUZDTVNNSkZHVU1WS0hJTk5GSVRLTklaS0ZRTVI1SFU2UQ==VR
- Python3類方法報錯takes 0 positional arguments but 1 was givenPython
- Hadoop日記Day1---Hadoop介紹Hadoop
- Swift代理報錯Optional can only be applied to members of an @objc protocolSwiftAPPOBJProtocol
- 解決報錯error the @annotation pointcut expression is only supported at Java 5ErrorExpressJava