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
1
vote
1 answer

Job submit fails in Spark Job Server with NullPointerException

I'm using Spark Job Server 0.6.2 with Spark 1.6.0 and in some of job submit attempts I get the following exception: [ERROR] 2016-11-16 08:01:59,595 spark.jobserver.context.DefaultSparkContextFactory$$anon$1 logError - Error initializing…
Boris
  • 443
  • 8
  • 15
1
vote
1 answer

Java program in Spark Job Server throws scala.MatchError

I am using DSE Spark Job Server. The task I am attempting to accomplish is as follows: The spark job which i have created in Java is expected to fetch some datas from cassandra db and this will be deployed in DSE Analytics cluster. The code as…
1
vote
1 answer

'JavaPackage' object is not callable

My use case is as follows. I need to be able to call java methods from within python code from py spark this seems to be very easy I start the py spark like this ./pyspark --driver-class-path /path/to/app.jar and from pyspark shell do…
codemugal
  • 81
  • 1
  • 1
  • 4
1
vote
1 answer

How do I pass key/value config settings when submitting a Job to Snappy Job Server?

I have a job that loads a data file from a different location each time. I'd like to submit the same job JAR and just pass a different location to it using the Config.java parameter of the runJavaJob() API. I do not see a way to pass key/value…
Jason
  • 2,006
  • 3
  • 21
  • 36
1
vote
1 answer

Spark job server for spark 1.6.0

Is there any specific Spark Job Server version matching with Spark 1.6.0 ? As per the version information in https://github.com/spark-jobserver/spark-jobserver, I see SJS is available only for 1.6.1 not for 1.6.0. Our CloudEra hosted Spark is…
Shakeel
  • 31
  • 1
  • 3
1
vote
0 answers

Stackoverflow error on running spark job via job server

I have a long running spark context via spark job server. The batch jobs are triggered periodically, In some scenario the batch job got exception with following stack trace. There is not much clue with the stack trace to see where the exception…
Knight71
  • 2,927
  • 5
  • 37
  • 63
1
vote
1 answer

How to run Spark Jobserver on Mesosphere's DC/OS

There is a lot I clearly don't understand about Spark, Spark Jobserver, and Mesosphere's DC/OS. But I very much like the Jobserver project, and also very much like our DC/OS cluster, and would really like to get them running together. Throwing the…
Nandan Rao
  • 333
  • 2
  • 10
1
vote
1 answer

Many spark jobs in one jar file

I'm using Spark job-server for working with job management. I need to create 10 jobs e.g.. I can create 10 separate jars for it and call it next way: curl -d ""…
Cortwave
  • 4,747
  • 2
  • 25
  • 42
1
vote
2 answers

Using Sparksql and SparkCSV with SparkJob Server

Am trying to JAR a simple scala application which make use of SparlCSV and spark sql to create a Data frame of the CSV file stored in HDFS and then just make a simple query to return the Max and Min of specific column in CSV file. I am getting error…
1
vote
1 answer

spark jobserver not starting on multiple nodes in cluster

we have installed a spark-jobserver that is launched on a spark cluster using server_start.sh, however no matter how we go about it we cannot make it launch on multiple workers. We can manage to get it to run with several cores and more memory, but…
1
vote
1 answer

How to make a cached from a finished Spark Job still accessible for the other job?

My project is implement a interaction query for user to discover that data. Like we have a list of columns user can choose then user add to list and press view data. The current data store in Cassandra and we use Spark SQL to query from it. The Data…
giaosudau
  • 2,211
  • 6
  • 33
  • 64
1
vote
1 answer

Context error on spark-jobserver cluster

we are working on launching a spark-jobserver on a spark cluster. To deploy the server we follow the documentation at github.com/spark-jobserver/spark-jobserver#deployment. We deploy with by running ./server_deploy.sh local. I've uploaded our…
1
vote
1 answer

Spark flattening out dataframes

getting started with spark I would like to know how to flatmap or explode a dataframe. It was created using df.groupBy("columName").count and has the following structure if I collect it: [[Key1, count], [Key2, count2]] But I would rather like to…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
1
vote
0 answers

Spark Job Server No Such Process while starting the job server

I have issue while trying to start the job server. Im getting the below error, ./server_start.sh ./server_start.sh: line 41: kill: (113865) - No such process Please help me on this.
franyfpk
  • 11
  • 3
1
vote
1 answer

Running a Java-based Spark Job on spark-jobserver

I need to run an aggregation Spark job using spark-jobserver using low-latency contexts. I have this Scala runner to run a job on using a Java method from a Java class. object AggregationRunner extends SparkJob { def main(args: Array[String]) { …
pashupati
  • 87
  • 2
  • 7