Skip to content

Instantly share code, notes, and snippets.

@Hyvi
Created December 14, 2011 05:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hyvi/1475358 to your computer and use it in GitHub Desktop.
Save Hyvi/1475358 to your computer and use it in GitHub Desktop.
问题:
hadoop能正常的启动,但是在mapreduce的时候出现
Lost tracker错误。datanode进程中只有一个hadoop进程。
err信息 :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGFPE (0x8) at pc=0xf7ef81fb, pid=10497, tid=2945989536
#
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) Server VM (21.1-b02 mixed mode linux-x86 )
# Problematic frame:
# C [ld-linux.so.2+0x91fb] do_lookup_x+0xab
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
查看机器是多少位的
方法1:
查看linux是不是64位的命令! file /sbin/init
结果会出来 xx bit
方法二:
# getconf LONG_BIT
32
getconf命令还可以获取系统的基本配置信息,比如操作系统位数,内存大小,磁盘大小等。
$getconf -a
查看jdk 是多少位的。
String arch = System.getProperty("sun.arch.data.model");
System.out.println(arch);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment