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

Cannot upload Jar file using LivyClientBuilder in Scala

    XMLWordPrintableJSON

Details

    • Question
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • Batch
    • None

    Description

      I am using Livy on Docker and then I submit Spark job to Livy server from Scala:

      scalaClient = new LivyClientBuilder()
      {{ .setURI("http://0.0.0.0:8998").  // checked localhost as well}}
      {{ .build()}}

      println("> Uploading Jar file")
      scalaClient.uploadJar(new File(myLocalJarPath)).get()

       

      The step "Uploading Jar file" takes forever.

      How can I figure out what's happening?

       

      I checked that http://localhost:8998 outputs the following. So, Apache Livy seems to be up and running. Spark master and workers are up as well.

      Operational Menu

      Attachments

        Activity

          People

            Unassigned Unassigned
            LianaN Liana Napalkova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: