代码之家  ›  专栏  ›  技术社区  ›  Saffik

JRE核心转储。MapReduce在Docker容器中运行

  •  0
  • Saffik  · 技术社区  · 8 年前

    openjdk:7-jre
    其中,我运行了一个java MapReduce,导致核心转储如下所示:

    mapreduce@mapreduce:~$ cat hs_err_pid15.log 
    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  SIGSEGV (0xb) at pc=0x00007f68a214e687, pid=15, tid=140086747383552
    #
    # JRE version: OpenJDK Runtime Environment (7.0_181-b01) (build 1.7.0_181-b01)
    # Java VM: OpenJDK 64-Bit Server VM (24.181-b01 mixed mode linux-amd64 compressed oops)
    # Derivative: IcedTea 2.6.14
    # Distribution: Debian GNU/Linux 8.10 (jessie), package 7u181-2.6.14-1~deb8u1
    # Problematic frame:
    # V  [libjvm.so+0x417687]
    #
    # Core dump written. Default location: /home/mapreduce/core or core.15
    #
    # If you would like to submit a bug report, please include
    # instructions on how to reproduce the bug and visit:
    #   http://icedtea.classpath.org/bugzilla
    #
    
    ---------------  T H R E A D  ---------------
    
    Current thread (0x00007f67b80e0800):  JavaThread "LocalJobRunner Map Task Executor #0" [_thread_in_vm, id=732, stack(0x00007f687cc0c000,0x00007f687cd0d000)]
    

    要运行MapReduce,我使用:

    VM参数:jvm参数:-XX:-useloppredicate

    current/jars/mapreduce-01.jar启动程序类型:SUN_STANDARD

    JAVA_HOME=/docker JAVA HOME/jre

    路径=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

    你知道是什么引起的还是我应该去哪里找。在hs_err_pid15.log中有很多信息,但我不确定在哪里查找? 使用 -XX:-UseLoopPredicate 没有解决问题。

    0 回复  |  直到 8 年前