You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Borisa Zivkovic (JIRA)" <ji...@apache.org> on 2015/06/22 12:02:00 UTC

[jira] [Created] (SPARK-8524) JVM crashed when mesos URL is in wrong format

Borisa Zivkovic created SPARK-8524:
--------------------------------------

             Summary: JVM crashed when mesos URL is in wrong format
                 Key: SPARK-8524
                 URL: https://issues.apache.org/jira/browse/SPARK-8524
             Project: Spark
          Issue Type: Bug
          Components: Mesos
    Affects Versions: 1.4.0, 1.3.1
         Environment: java version "1.8.0_45" - Oracle

mesos version 0.22.1

OS ubuntu 15.04
            Reporter: Borisa Zivkovic


when mesos URL is in wrong format JVM crashes

If I try to execute this everything works perfectly

./spark-submit --class SomeApp --driver-memory 1G --executor-memory 1G --master mesos://127.0.0.1:5050 /path/to/my/jar/app.jar

but if I make mistake and execute command like this (notice http://)

./spark-submit --class SomeApp --driver-memory 1G --executor-memory 1G --master mesos://http://127.0.0.1:5050 /path/to/my/jar/app.jar

then JVM crashes

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fa4c62dfee0, pid=24006, tid=140343493449472
#
# JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libc.so.6+0xefee0]  freeaddrinfo+0x10
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/borisa/Programs/spark-1.4.0-bin-hadoop2.6/bin/hs_err_pid24006.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

I would expect more sensible error to be reported. Took me few  hours to figure out what was the problem - I thought my native mesos libraries were not built properly



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org