服務器是一個云服務器,內存為1G,CPU為1核。然后執行一個Hadoop本身自帶的example報錯的。報錯信息如下:There is insufficient memory for the Java Runtime Environment to continue.Native memory allocation (mmap) failed to map 12288 bytes for committing reserved memory.執行的命令是:hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.6.5.jar grep /input/hadoop/core-site.xml /user/test1 'dfs[a-z.]+'
添加回答
舉報
0/150
提交
取消