无法运行Apache Hama示例

时间:2018-04-03 20:40:59

标签: java apache hdfs hama

我安装了单节点HDFS和本地模式Apache Hama 0.7.1,安装似乎很成功。

但我无法通过运行任何提供的示例来测试它,例如运行PiEstimator:

$ $HAMA_HOME/bin/hama jar hama-examples-0.7.1.jar pi
18/04/04 01:47:06 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable

除了这个警告,它不会在终端上输出任何内容,也不会在$HAMA_HOME/logs目录中输出任何内容,并且在我按 Ctrl + C 。互联网上的大多数文章都没有解决这个问题,它似乎适合所有人。

如果跟随是相关的话,请将其粘贴(我对所有这些都很新):

$ hdfs dfsadmin -report
2018-04-04 02:04:53,668 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Configured Capacity: 0 (0 B)
Present Capacity: 0 (0 B)
DFS Remaining: 0 (0 B)
DFS Used: 0 (0 B)
DFS Used%: 0.00%
Replicated Blocks:
    Under replicated blocks: 0
    Blocks with corrupt replicas: 0
    Missing blocks: 0
    Missing blocks (with replication factor 1): 0
    Pending deletion blocks: 0
Erasure Coded Block Groups: 
    Low redundancy block groups: 0
    Block groups with corrupt internal blocks: 0
    Missing block groups: 0
    Pending deletion blocks: 0

0 个答案:

没有答案
相关问题