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

Livy Batch job Skiping remote jar from hdfs:

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.4.0
    • 0.9.0
    • Batch
    • None

    Description

      I am trying to submit a Livy batch job.But it gives the following error. Can you please help.

      Looks like the jar is not getting included while creating Livy session.I tried loading the jar from local as well as hdfs.

      For trying from local I updated config to add livy.file.local-dir-whitelist and tried with url as "local:/path/to/file*

      I verifed the files is present in HDFS on the correct location.

       
      "Warning: Skip remote jar hdfs://QuantumHadoopDev/livy_qunatum/SampleSparkProject-0.0.2-SNAPSHOT.jar.",
        "java.lang.ClassNotFoundException: App",
        " at java.net.URLClassLoader.findClass(URLClassLoader.java:381)",
        " at java.lang.ClassLoader.loadClass(ClassLoader.java:424)",
        " at java.lang.ClassLoader.loadClass(ClassLoader.java:357)",
        " at java.lang.Class.forName0(Native Method)",
        " at java.lang.Class.forName(Class.java:348)",
        " at org.apache.spark.util.Utils$.classForName(Utils.scala:175

      Attachments

        Activity

          People

            Unassigned Unassigned
            chrisabyjose@gmail.com Chris aby jose
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: