分享

零基础学习hadoop到上手工作线路指导(编程篇)

 
pink_in_Paris 发表于 2016-3-21 09:36:26
学习中,多谢分享!
回复

使用道具 举报

asd5851135 发表于 2016-7-5 14:27:42
很不错,学习了,谢谢楼主
回复

使用道具 举报

jiadianyan 发表于 2016-7-8 15:29:14
内容好丰富呀,感谢楼主分享。
回复

使用道具 举报

zkk2011 发表于 2016-8-22 10:57:35
够详细 多谢
回复

使用道具 举报

ggw0122 发表于 2016-8-22 11:47:09
谢谢了,不错了
回复

使用道具 举报

ggw0122 发表于 2016-9-5 00:43:02
不错,很实用,谢谢了
回复

使用道具 举报

about-hadoop 发表于 2016-9-5 23:50:44
努力向前辈们学习学习
回复

使用道具 举报

yd812841013 发表于 2016-9-19 14:13:14
楼主辛苦了,这几篇文档很不错
回复

使用道具 举报

是饭饭 发表于 2016-9-26 17:00:20
好资源谢谢分享~感谢楼主,么么哒~
回复

使用道具 举报

Kevin517 发表于 2016-10-16 17:50:14
楼主能帮忙分析以下我这个是什么情况吗??

2016-10-15 08:04:32,059 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:04:32,060 INFO org.apache.hadoop.hdfs.server.namenode.FSEditLog: Number of transactions: 26 Total time for transactions(ms): 1 Number of transactions batched in Syncs: 0 Number of syncs: 18 SyncTimes(ms): 482
2016-10-15 08:04:32,099 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:04:39,188 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:04:39,214 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:04:39,215 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* allocate blk_1073741843_1019{UCState=UNDER_CONSTRUCTION, truncateBlock=null, primaryNodeIndex=-1, replicas=[ReplicaUC[[DISK]DS-20957220-9bf2-463a-88aa-88ed2446fd42:NORMAL:10.0.0.7:50010|RBW], ReplicaUC[[DISK]DS-a461d256-df88-473f-b0f8-08c7221a794b:NORMAL:10.0.0.8:50010|RBW]]} for /input/word.txt
2016-10-15 08:05:00,252 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:05:00,280 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:05:00,281 WARN org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Failed to place enough replicas, still in need of 1 to reach 2 (unavailableStorages=[], storagePolicy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]}, newBlock=true) For more information, please enable DEBUG log level on org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy
2016-10-15 08:05:00,281 WARN org.apache.hadoop.hdfs.protocol.BlockStoragePolicy: Failed to place enough replicas: expected size is 1 but only 0 storage types can be selected (replication=2, selected=[], unavailable=[DISK], removed=[DISK], policy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]})
2016-10-15 08:05:00,281 WARN org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Failed to place enough replicas, still in need of 1 to reach 2 (unavailableStorages=[DISK], storagePolicy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]}, newBlock=true) All required storage types are unavailable:  unavailableStorages=[DISK], storagePolicy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]}
2016-10-15 08:05:00,282 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* allocate blk_1073741844_1020{UCState=UNDER_CONSTRUCTION, truncateBlock=null, primaryNodeIndex=-1, replicas=[ReplicaUC[[DISK]DS-a461d256-df88-473f-b0f8-08c7221a794b:NORMAL:10.0.0.8:50010|RBW]]} for /input/word.txt
2016-10-15 08:05:21,298 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:05:21,320 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user Kevin
2016-10-15 08:05:21,321 WARN org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Failed to place enough replicas, still in need of 2 to reach 2 (unavailableStorages=[], storagePolicy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]}, newBlock=true) For more information, please enable DEBUG log level on org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy
2016-10-15 08:05:21,321 WARN org.apache.hadoop.hdfs.protocol.BlockStoragePolicy: Failed to place enough replicas: expected size is 2 but only 0 storage types can be selected (replication=2, selected=[], unavailable=[DISK], removed=[DISK, DISK], policy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]})
2016-10-15 08:05:21,321 WARN org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Failed to place enough replicas, still in need of 2 to reach 2 (unavailableStorages=[DISK], storagePolicy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]}, newBlock=true) All required storage types are unavailable:  unavailableStorages=[DISK], storagePolicy=BlockStoragePolicy{HOT:7, storageTypes=[DISK], creationFallbacks=[], replicationFallbacks=[ARCHIVE]}
2016-10-15 08:05:21,321 INFO org.apache.hadoop.ipc.Server: IPC Server handler 4 on 9000, call org.apache.hadoop.hdfs.protocol.ClientProtocol.addBlock from 192.168.100.8:9029 Call#33 Retry#0
java.io.IOException: File /input/word.txt could only be replicated to 0 nodes instead of minReplication (=1).  There are 2 datanode(s) running and 2 node(s) are excluded in this operation.
        at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1550)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3067)
        at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:722)
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:492)
        at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2049)
        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2045)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2043)

[root@master logs]#

=============


Eclipse上传文件到HDFS为空

http://www.aboutyun.com/forum.php?mod=viewthread&tid=20035
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条