java.lang.ArrayIndexOutOfBoundsException: 1

GitHub | bellemare | 1 month ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Re: Spark Submit - java.lang.IllegalArgumentException: requirement failed

    spark-user | 1 year ago | Jean-Baptiste Onofré
    yarn.Client: Deleting staging directory .sparkStaging/application_1447442727308_0126 Exception in thread "main" java.lang.IllegalArgumentException: requirement failed

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$$anonfun$setEnvFromInputString$1.apply()
    2. Spark Project YARN Stable API
      YarnSparkHadoopUtil$$anonfun$setEnvFromInputString$1.apply
      1. org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$$anonfun$setEnvFromInputString$1.apply(YarnSparkHadoopUtil.scala:264)
      2. org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$$anonfun$setEnvFromInputString$1.apply(YarnSparkHadoopUtil.scala:262)
      2 frames
    3. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)
      2 frames
    4. Spark Project YARN Stable API
      Client$$anonfun$setupLaunchEnv$6.apply
      1. org.apache.spark.deploy.yarn.YarnSparkHadoopUtil$.setEnvFromInputString(YarnSparkHadoopUtil.scala:262)
      2. org.apache.spark.deploy.yarn.Client$$anonfun$setupLaunchEnv$6.apply(Client.scala:640)
      3. org.apache.spark.deploy.yarn.Client$$anonfun$setupLaunchEnv$6.apply(Client.scala:638)
      3 frames
    5. Scala
      Option.foreach
      1. scala.Option.foreach(Option.scala:236)
      1 frame
    6. Spark Project YARN Stable API
      Client.submitApplication
      1. org.apache.spark.deploy.yarn.Client.setupLaunchEnv(Client.scala:638)
      2. org.apache.spark.deploy.yarn.Client.createContainerLaunchContext(Client.scala:726)
      3. org.apache.spark.deploy.yarn.Client.submitApplication(Client.scala:142)
      3 frames
    7. Spark
      SparkContext.<init>
      1. org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend.start(YarnClientSchedulerBackend.scala:57)
      2. org.apache.spark.scheduler.TaskSchedulerImpl.start(TaskSchedulerImpl.scala:144)
      3. org.apache.spark.SparkContext.<init>(SparkContext.scala:530)
      3 frames
    8. io.prediction.workflow
      CreateWorkflow.main
      1. io.prediction.workflow.WorkflowContext$.apply(WorkflowContext.scala:42)
      2. io.prediction.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:57)
      3. io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:247)
      4. io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
      4 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    10. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames