You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Saisai Shao (JIRA)" <ji...@apache.org> on 2018/05/02 06:06:00 UTC

[jira] [Resolved] (LIVY-461) Cannot upload Jar file using LivyClientBuilder in Scala

     [ https://issues.apache.org/jira/browse/LIVY-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Saisai Shao resolved LIVY-461.
------------------------------
    Resolution: Cannot Reproduce

> Cannot upload Jar file using LivyClientBuilder in Scala
> -------------------------------------------------------
>
>                 Key: LIVY-461
>                 URL: https://issues.apache.org/jira/browse/LIVY-461
>             Project: Livy
>          Issue Type: Question
>          Components: Batch
>            Reporter: Liana Napalkova
>            Priority: Major
>
> 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|http://localhost:8998/] outputs the following. So, Apache Livy seems to be up and running. Spark master and workers are up as well.
> h1. Operational Menu
>  * [Metrics|http://localhost:8998/metrics?pretty=true]
>  * [Ping|http://localhost:8998/ping]
>  * [Threads|http://localhost:8998/threads]
>  * [Healthcheck|http://localhost:8998/healthcheck?pretty=true]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)