Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-636

Unable to create interactive session with additional JAR in spark.driver.extraClassPath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.0
    • 0.9.0
    • None
    • None

    Description

      Command Run: c{{url -H "Content-Type: application/json" -X POST -d '{"kind":"pyspark","conf":{"spark.driver.extraClassPath":"/data/XXX-0.0.1-SNAPSHOT.jar"}}' -i http://<LIVY_SERVER_IP:PORT>/session}}

      The above command fails to create a Spark Session on YARN with Null pointer exception. Stack trace for the same has been attached along-with.

      The JAR file here is present on local driver Path. Also tried using HDFS path in the following mannerĀ hdfs://<NM_IP>:<NM_Port>/data/XXX-0.0.1-SNAPSHOT.jar

      Attachments

        1. test.png
          52 kB
          Jie Wang
        2. stacktrace.txt
          2 kB
          Ishita Virmani
        3. container.log
          4 kB
          Jie Wang
        4. applicationmaster.log
          20 kB
          Jie Wang

        Activity

          People

            Unassigned Unassigned
            ishitavirmani Ishita Virmani
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: