我安装了单节点 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