hadoop-single-node-standalone-setup grep示例崩溃

ogq8wdun  于 2021-06-03  发布在  Hadoop
关注(0)|答案(0)|浏览(191)

作为一个尝试hadoop的初学者,我参考这篇文章来设置一个单节点独立hadoop示例。我相信我的路径变量都设置得很好,但是当我尝试运行

$ bin/hadoop jar hadoop-examples-*.jar grep input output 'dfs[a-z.]+'

jvm崩溃。

[root@test hadoop-1.2.1]# ./bin/hadoop jar hadoop-examples-1.2.1.jar grep input output 'dfs[a-z.]+'

# 

# An unexpected error has been detected by Java Runtime Environment:

# 

# SIGFPE (0x8) at pc=0x0052b9fc, pid=3918, tid=3086961568

# 

# Java VM: Java HotSpot(TM) Server VM (10.0-b22 mixed mode linux-x86)

# Problematic frame:

# C  [ld-linux.so.2+0x89fc]

# 

# An error report file with more information is saved as:

# /data1/ajayn/hadoop-setup/hadoop-1.2.1/hs_err_pid3918.log

# 

# If you would like to submit a bug report, please visit:

# http://java.sun.com/webapps/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

# 

Aborted

我不是一个Maven来分析错误日志,但如果有任何细节,将需要我可以提供相关的细节。
如果打印版本指示路径设置正常:

[root@test hadoop-1.2.1]# ./bin/hadoop -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)

我正在一台linux机器上工作,该机器运行在intel xeon处理器上,内存为2gb。除了确保java路径之外,还需要进行其他配置吗?
编辑:上传这个链接文本文件在这里,因为我不知道什么部分的日志将是有用的。我还尝试了另一个java版本,但结果相同

[root@f4mail hadoop-1.2.1]# ./bin/hadoop -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) Server VM (build 20.6-b01, mixed mode)

暂无答案!

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

相关问题