Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16586

spark-class crash with "[: too many arguments" instead of displaying the correct error message

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.1, 2.1.0
    • None
    • None

    Description

      When trying to run spark on a machine that cannot provide enough memory for java to use, instead of printing the correct error message, spark-class will crash with spark-class: line 83: [: too many arguments

      Simple shell commands to trigger this problem are:

      ulimit -v 100000
      ./sbin/start-master.sh
      

      Attachments

        Activity

          People

            vanzin Marcelo Masiero Vanzin
            zasdfgbnm Xiang Gao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: