Questions tagged [spark-jobserver]

spark-jobserver provides a RESTful interface for submitting and managing Apache Spark jobs, jars, and job contexts.

Reference: https://github.com/spark-jobserver/spark-jobserver

RealTime Example: https://nishutayaltech.blogspot.com/2016/05/how-to-run-spark-job-server-and-spark.html

165 questions
0
votes
0 answers

pyspark job to existing context

I'm wondering how to go about submitting spark "jobs" to a single application (allowing for sharing of RDD work but also code/execution independence of modules). I've seen this spark-jobserver formally at ooyala, but I noticed it doesn't yet support…
retrocookie
  • 319
  • 2
  • 10
0
votes
2 answers

Error when using SparkJob with NamedRddSupport

Goal is to create the following on a local instance of Spark JobServer: object foo extends SparkJob with NamedRddSupport Question: How can I fix the following error which happens on every job: { "status": "ERROR", "result": { "message":…
Jan Janiszewski
  • 432
  • 3
  • 14
0
votes
1 answer

spark-jobserver - managing multiple EMR clusters

I have a production environment that consists of several (persistent and ad-hoc) EMR Spark clusters. I would like to use one instance of spark-jobserver to manage the job JARs for this environment in general, and be able to specify the intended…
Gilad
  • 643
  • 1
  • 7
  • 20
0
votes
0 answers

Exception thrown by Agent Spark Job Server

I am trying to run Spark Job server on a multi node server. I have set master="yarn-client" on the namenode When I run server_start.sh I get an error Error: Exception thrown by the agent : java.lang.NullPointerException The error is not coming due…
Ashmeet Singh
  • 344
  • 1
  • 5
  • 17
0
votes
1 answer

Cache MLlib model on SparkJobServer

Can somebody tell me how I can persist namedObjects on a SparkServer Context? I know there is a possibility for this but I haven't found the solution yet. Thanks a lot in advance!
Jan Janiszewski
  • 432
  • 3
  • 14
0
votes
3 answers

Setting up Spark jobserver on YARN

I am trying to setup spark job server on my YARN I am doing ./bin/server_package.sh ec2 This make a folder in /tmp/jobserver When i try to ./sever_start.sh I receive this error Uncaught error from thread [JobServer-akka.actor.default-dispatcher-2]…
Ashmeet Singh
  • 344
  • 1
  • 5
  • 17
0
votes
2 answers

Spark JobServer JDBC-ClassNotFound error

I have: - Hadoop - Spark JobServer - SQL Database I have created a file to access my SQL Database from a local instance of the Spark JobServer. In order to do this, I first have to load my JDBC-driver with this command:…
Jan Janiszewski
  • 432
  • 3
  • 14
0
votes
1 answer

The error of Spark job "java.lang.NoClassDefFoundError: org/apache/spark/sql/SQLContext" in Spark Job Server

I create a spark job with IntelliJ , and i want it be loaded and run by spark Job-Server. For this i followed the steps in this link : http://github.com/ooyala/spark-jobserver And the version of my spark is 1.4.0. This is the scala code in my…
Robin
  • 43
  • 1
  • 4
0
votes
1 answer

Connect from Spark-JobServer (local instance) to Hadoop

I run a virtual machine with a local instance of Hadoop and of Spark-JobServer on it. I created a file named 'test.txt' on HDFS that I want to open from the Spark-JobServer. I wrote the following code to do this: val test1 =…
Jan Janiszewski
  • 432
  • 3
  • 14
0
votes
1 answer

spark jobserver Missing settings.sh, exiting

I am trying to run ./server_start.sh with spark-jobserver, but it says "Missing /home/spark/spark-jobserver1.5.1/bin/settings.sh, exiting", I also check the details in ./server_start.sh from github where i found this(as the picture below):enter…
Jary zhen
  • 437
  • 6
  • 18
0
votes
3 answers

Spark Job Server HTTP post job configs as JSON

I am running a Spark job with the Spark Job Server in which I pass job parameters with an HTTP post (much like the word count example here: https://github.com/spark-jobserver/spark-jobserver). At the moment I can successfully pass these parameters…
rengenin
  • 1
  • 1
0
votes
1 answer

CONTEXT INIT ERROR when making sparkSQL context with sparkjobserver

when I run curl -d "" 'localhost:8090/contexts/test-context?num-cpu-cores=4&memory-per-node=512m' it makes sparkContext with no problem but when I want to make a sparkSQL context I get an error I used this line to make it curl -d ""…
Milad Qasemi
  • 3,011
  • 3
  • 13
  • 17
0
votes
1 answer

Error when running job that queries against Cassandra via Spark SQL through Spark Jobserver

So I'm trying to run job that simply runs a query against cassandra using spark-sql, the job is submitted fine and the job starts fine. This code works when it is not being run through spark jobserver (when simply using spark submit). Could someone…
0
votes
1 answer

DSE 4.6 to DSE 4.7 Failed to find Spark assembly

I have a problem with job-server-0.5.0 after upgraded DSE 4.6 to 4.7. If I run server_start.sh I'll get error "Failed to find Spark assembly in /usr/share/dse/spark/assembly/target/scala-2.10 You need to build Spark before running this program." I…
0
votes
1 answer

Yarn support on Ooyala Spark JobServer

Just started experimenting with the JobServer and would like to use it in our production environment. We usually run spark jobs individually in yarn-client mode and would like to shift towards the paradigm offered by the Ooyala Spark JobServer. I am…
James Isaac
  • 2,587
  • 6
  • 20
  • 30
1 2 3
10
11