giraph示例shortestpathcompulation报告失败状态

vhipe2zx  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(225)

我使用hadoopYarn配置文件安装并部署了giraph-1.1.0,命令如下

mvn -Phadoop_yarn -Dhadoop.version=2.6.0 -DskipTests clean package

从giraph examples/target文件夹中,我尝试运行shortestpathscomputation示例

hadoop jar giraph-examples-1.1.0-for-hadoop-2.6.0-jar-with-dependencies.jar \
org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsComputation \
-vif org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat \ 
-vip /user/$USER/input/testgraph.txt \
-vof org.apache.giraph.io.formats.IdWithValueTextOutputFormat \
-op /user/$USER/output/shortestpaths -w 1 
-yj giraph-examples-1.1.0-for-hadoop-2.6.0-jar-with-dependencies.jar

运行时出现以下错误
error yarn.giraphyarclient:giraph:org.apache.giraph.examples.simpleshortestpathscomputation reports failed state,diagnostics show:application application\u 1471411023577\u 0001失败2次,原因是appattempt的am container\u 1471411023577\u 0001\u000002退出exitcode:-103 diagnostics:container[pid=30415,containerid=container\u 1471411023577\u 0001\u 02\u000001]运行超出虚拟内存限制。当前使用情况:使用273.2 mb的1 gb物理内存;使用了2.3 gb的2.1 gb虚拟内存。杀人容器。
我需要重建吉拉夫还是问题出在别处?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题