completed". So I
agree that we can add `ssc.stop` as a the shutdown hook. But stopGracefully
should be false.
Best Regards,
Shixiong Zhu
2015-05-20 21:59 GMT-07:00 Dibyendu Bhattacharya <
dibyendu.bhattach...@gmail.com>:
> Thanks Tathagata for making this change..
>
> Diby
How about other jobs? Is it an executor log, or a driver log? Could you
post other logs near this error, please? Thank you.
Best Regards,
Shixiong Zhu
2015-06-02 17:11 GMT+08:00 Anders Arpteg :
> Just compiled Spark 1.4.0-rc3 for Yarn 2.2 and tried running a job that
> worked fine for Spa
xception in thread "Spark Context Cleaner"
java.lang.NoClassDefFoundError: 0
at
org.apache.spark.ContextCleaner$$anonfun$org$apache$spark$ContextCleaner$$keepCleaning$1.apply$mcV$sp(ContextCleaner.scala:149)"
Best Regards,
Shixiong Zhu
2015-06-03 0:08 GMT+08:00 Ryan Will
Could you set "spark.shuffle.io.preferDirectBufs" to false to turn off the
off-heap allocation of netty?
Best Regards,
Shixiong Zhu
2015-06-03 11:58 GMT+08:00 Ji ZHANG :
> Hi,
>
> Thanks for you information. I'll give spark1.4 a try when it's released.
>
&
You should not call `jssc.stop(true);` in a StreamingListener. It will
cause a dead-lock: `jssc.stop` won't return until `listenerBus` exits. But
since `jssc.stop` blocks `StreamingListener`, `listenerBus` cannot exit.
Best Regards,
Shixiong Zhu
2015-06-04 0:39 GMT+08:00 dgoldenberg :
communication
between driver and executors? Because this is an ongoing work, there is no
blog now. But you can find more details in this umbrella JIRA:
https://issues.apache.org/jira/browse/SPARK-5293
Best Regards,
Shixiong Zhu
2015-06-10 20:33 GMT+08:00 huangzheng <1106944...@qq.com>:
&g
You can set "spark.ui.enabled" to "false" to disable the Web UI.
Best Regards,
Shixiong Zhu
2015-07-06 17:05 GMT+08:00 :
> Hello there,
>
>I heard that there is some way to shutdown Spark WEB UI, is there a
> configuration to s
Before running your script, could you confirm that "
/data/software/spark-1.3.1-bin-2.4.0/applications/pss.am.core-1.0-SNAPSHOT-shaded.jar"
exists? You might forget to build this jar.
Best Regards,
Shixiong Zhu
2015-07-06 18:14 GMT+08:00 bit1...@163.com :
> Hi,
> I have follow
DStream must be Serializable, it's metadata checkpointing. But you can use
KryoSerializer for data checkpointing. The data checkpointing uses
RDD.checkpoint which can be set by spark.serializer.
Best Regards,
Shixiong Zhu
2015-07-08 3:43 GMT+08:00 Chen Song :
> In Spark Streaming, wh
MemoryStore.ensureFreeSpace for details.
Best Regards,
Shixiong Zhu
2015-07-09 19:17 GMT+08:00 Dibyendu Bhattacharya <
dibyendu.bhattach...@gmail.com>:
> Hi ,
>
> Just would like to clarify few doubts I have how BlockManager behaves .
> This is mostly in regards to Spark Streaming C
directly. E.g.,
val r1 = context.wholeTextFiles(...)
val r2 = r1.flatMap(s -> ...)
r2.persist(StorageLevel.MEMORY)
val r3 = r2.filter(...)...
r3.saveAsTextFile(...)
val r4 = r2.map(...)...
r4.saveAsTextFile(...)
See
http://spark.apache.org/docs/latest/programming-guide.html#rdd-persistence
Best R
It doesn't guarantee that. E.g.,
scala> sc.parallelize(Seq(1.0, 2.0, 3.0, 4.0), 2).filter(_ >
2.0).zipWithUniqueId().collect().foreach(println)
(3.0,1)
(4.0,3)
It only guarantees "unique".
Best Regards,
Shixiong Zhu
2015-12-13 10:18 GMT-08:00 Sourav Mazumder :
> H
l#comment-14506806
Best Regards,
Shixiong Zhu
2015-12-17 4:39 GMT-08:00 Bartłomiej Alberski :
> I prepared simple example helping in reproducing problem:
>
> https://github.com/alberskib/spark-streaming-broadcast-issue
>
> I think that in that way it will be easier for you to under
What's the Scala version of your Spark? Is it 2.10?
Best Regards,
Shixiong Zhu
2015-12-17 10:10 GMT-08:00 Christos Mantas :
> Hello,
>
> I am trying to set up a simple example with Spark Streaming (Python) and
> Kafka on a single machine deployment.
> My Kafka broker/server
Could you check the Scala version of your Kafka?
Best Regards,
Shixiong Zhu
2015-12-18 2:31 GMT-08:00 Christos Mantas :
> Thank you, Luciano, Shixiong.
>
> I thought the "_2.11" part referred to the Kafka version - an unfortunate
> coincidence.
>
> Indeed
>
> s
Looks you have a reference to some Akka class. Could you post your codes?
Best Regards,
Shixiong Zhu
2015-12-17 23:43 GMT-08:00 Pankaj Narang :
> I am encountering below error. Can somebody guide ?
>
> Something similar is one this link
> https://github.com/elastic/elasticsearch-h
You are right. "checkpointInterval" is only for data checkpointing.
"metadata checkpoint" is done for each batch. Feel free to send a PR to add
the missing doc.
Best Regards,
Shixiong Zhu
2015-12-18 8:26 GMT-08:00 Lan Jiang :
> Need some clarification about the documentat
Looks you need to add an "driver" option to your codes, such as
sqlContext.read.format("jdbc").options(
Map("url" -> "jdbc:oracle:thin:@:1521:xxx",
"driver" -> "oracle.jdbc.driver.OracleDriver",
"dbtable&q
Just replace `localhost` with a host name that can be accessed by Yarn
containers.
Best Regards,
Shixiong Zhu
2015-12-22 0:11 GMT-08:00 prasadreddy :
> How do we achieve this on yarn-cluster mode
>
> Please advice.
>
> Thanks
> Prasad
>
>
>
> --
> View this me
Hye Rachana, could you provide the full jstack outputs? Maybe it's same as
https://issues.apache.org/jira/browse/SPARK-11104
Best Regards,
Shixiong Zhu
2016-01-04 12:56 GMT-08:00 Rachana Srivastava <
rachana.srivast...@markmonitor.com>:
> Hello All,
>
>
>
> I am runni
You can use JavaSparkContext.setLogLevel to set the log level in your codes.
Best Regards,
Shixiong Zhu
2015-09-28 22:55 GMT+08:00 Ashish Soni :
> I am not running it using spark submit , i am running locally inside
> Eclipse IDE , how i set this using JAVA Code
>
> Ashish
>
&
Which version are you using? Could you take a look at the new Streaming UI
in 1.4.0?
Best Regards,
Shixiong Zhu
2015-09-29 7:52 GMT+08:00 Siva :
> Hi,
>
> Could someone recommend the monitoring tools for spark streaming?
>
> By extending StreamingListener we can dump the delay i
have enough space.
Best Regards,
Shixiong Zhu
2015-09-29 1:04 GMT+08:00 swetha :
>
> Hi,
>
> I see a lot of data getting filled locally as shown below from my streaming
> job. I have my checkpoint set to hdfs. But, I still see the following data
> filling my local nodes. Any idea if
"count" Spark jobs will run in parallel.
Moreover, "spark.streaming.concurrentJobs" is an internal configuration and
it may be changed in future.
Best Regards,
Shixiong Zhu
2015-09-26 3:34 GMT+08:00 Atul Kulkarni :
> Can someone please help either by explaining or pointing
I mean JavaSparkContext.setLogLevel. You can use it like this:
JavaStreamingContext jssc = new JavaStreamingContext(sparkConf,
Durations.seconds(2));
jssc.sparkContext().setLogLevel(...);
Best Regards,
Shixiong Zhu
2015-09-29 22:07 GMT+08:00 Ashish Soni :
> I am using Java Streaming cont
Right, you can use SparkContext and SQLContext in multiple threads. They
are thread safe.
Best Regards,
Shixiong Zhu
2015-10-01 4:57 GMT+08:00 :
> Hi all,
>
> I have a process where I do some calculations on each one of the columns
> of a dataframe.
> Intrinsecally, I run acr
Do you have the log file? It may be because of wrong settings.
Best Regards,
Shixiong Zhu
2015-10-01 7:32 GMT+08:00 markluk :
> I setup a new Spark cluster. My worker node is dying with the following
> exception.
>
> Caused by: java.util.concurrent.TimeoutException: Futures tim
Do you have the log? Looks like some exceptions in your codes make
SparkContext stopped.
Best Regards,
Shixiong Zhu
2015-09-30 17:30 GMT+08:00 tranan :
> Hello All,
>
> I have several Spark Streaming applications running on Standalone mode in
> Spark 1.5. Spark is currently set up
Do you have the full stack trace? Could you check if it's same as
https://issues.apache.org/jira/browse/SPARK-10422
Best Regards,
Shixiong Zhu
2015-10-01 17:05 GMT+08:00 Eyad Sibai :
> Hi
>
> I am trying to call .persist() on a dataframe but once I execute the next
>
Which mode are you using? For standalone, it's
org.apache.spark.deploy.worker.Worker. For Yarn and Mesos, Spark just
submits its request to them and they will schedule processes for Spark.
Best Regards,
Shixiong Zhu
2015-10-12 20:12 GMT+08:00 Muhammad Haseeb Javed <11besemja...@seec
Could you show how did you set the configurations? You need to set these
configurations before creating SparkContext and SQLContext.
Moreover, the history sever doesn't support SQL UI. So
"spark.eventLog.enabled=true" doesn't work now.
Best Regards,
Shixiong Zhu
2015-
Each ReceiverInputDStream will create one Receiver. If you only use
one ReceiverInputDStream, there will be only one Receiver in the cluster.
But if you create multiple ReceiverInputDStreams, there will be multiple
Receivers.
Best Regards,
Shixiong Zhu
2015-10-12 23:47 GMT+08:00 Something
You don't need to care about this sleep. It runs in a separate thread and
usually won't affect the performance of your application.
Best Regards,
Shixiong Zhu
2015-10-09 6:03 GMT+08:00 yael aharon :
> Hello,
> I am working on improving the performance of our Spark on Yar
Could you print the content of RDD to check if there are multiple values
for a key in a batch?
Best Regards,
Shixiong Zhu
2015-10-12 18:25 GMT+08:00 Sathiskumar :
> I'm running a Spark Streaming application for every 10 seconds, its job is
> to
> consume data from kafka, transfor
Is your query very complicated? Could you provide the output of `explain`
your query that consumes an excessive amount of memory? If this is a small
query, there may be a bug that leaks memory in SQLListener.
Best Regards,
Shixiong Zhu
2015-10-13 11:44 GMT+08:00 Nicholas Pritchard
In addition, you cannot turn off JobListener and SQLListener now...
Best Regards,
Shixiong Zhu
2015-10-13 11:59 GMT+08:00 Shixiong Zhu :
> Is your query very complicated? Could you provide the output of `explain`
> your query that consumes an excessive amount of memory? If this is a
Thanks for reporting it Terry. I submitted a PR to fix it:
https://github.com/apache/spark/pull/9132
Best Regards,
Shixiong Zhu
2015-10-15 2:39 GMT+08:00 Reynold Xin :
> +dev list
>
> On Wed, Oct 14, 2015 at 1:07 AM, Terry Hoo wrote:
>
>> All,
>>
>> Does anyo
Scala 2.10 REPL javap doesn't support Java7 or Java8. It was fixed in Scala
2.11. See https://issues.scala-lang.org/browse/SI-4936
Best Regards,
Shixiong Zhu
2015-10-15 4:19 GMT+08:00 Robert Dodier :
> Hi,
>
> I am working with Spark 1.5.1 (official release), with Oracle Java
"trackStateByKey" is about to be added in 1.6 to resolve the performance
issue of "updateStateByKey". You can take a look at
https://issues.apache.org/jira/browse/SPARK-2629 and
https://github.com/apache/spark/pull/9256
You should use `SparkConf.set` rather than `SparkConf.setExecutorEnv`. For
driver configurations, you need to set them before starting your
application. You can use the `--conf` argument before running
`spark-submit`.
Best Regards,
Shixiong Zhu
2015-11-04 15:55 GMT-08:00 William Li :
> Hi
x27;s hard for us to find similar
issues in the PR build.
Best Regards,
Shixiong Zhu
2015-11-09 18:47 GMT-08:00 Ted Yu :
> Created https://github.com/apache/spark/pull/9585
>
> Cheers
>
> On Mon, Nov 9, 2015 at 6:39 PM, Josh Rosen
> wrote:
>
>> When we remove this
In addition, if you have more than two text files, you can just put them
into a Seq and use "reduce(_ ++ _)".
Best Regards,
Shixiong Zhu
2015-11-11 10:21 GMT-08:00 Jakob Odersky :
> Hey Jeff,
> Do you mean reading from multiple text files? In that case, as a
> workaround,
Het Eyal, I just checked the couchbase spark connector jar. The target
version of some of classes are Java 8 (52.0). You can create a ticket in
https://issues.couchbase.com/projects/SPARKC
Best Regards,
Shixiong Zhu
2015-11-26 9:03 GMT-08:00 Ted Yu :
> StoreMode is from Couchbase connec
Which version are you using? Could you post these thread names here?
Best Regards,
Shixiong Zhu
2015-12-07 14:30 GMT-08:00 Richard Marscher :
> Hi,
>
> I've been running benchmarks against Spark in local mode in a long running
> process. I'm seeing threads leaking each
Could you send a PR to fix it? Thanks!
Best Regards,
Shixiong Zhu
2015-12-08 13:31 GMT-08:00 Richard Marscher :
> Alright I was able to work through the problem.
>
> So the owning thread was one from the executor task launch worker, which
> at least in local mode runs the task and
Could you clarify how you measure the Spark time cost? Is it the total time
of running the query? If so, it's possible because the overhead of
Spark dominates for small queries.
Best Regards,
Shixiong Zhu
2015-07-26 15:56 GMT+08:00 Jerrick Hoang :
> how big is the dataset? how compli
Oh, I see. That's the total time of executing a query in Spark. Then the
difference is reasonable, considering Spark has much more work to do, e.g.,
launching tasks in executors.
Best Regards,
Shixiong Zhu
2015-07-26 16:16 GMT+08:00 Louis Hust :
> Look at the given url:
>
> Code c
file. Could you convert your
data to String using "map" and use "saveAsTextFile" or other "save" methods?
Best Regards,
Shixiong Zhu
2015-08-14 11:02 GMT+08:00 kale <805654...@qq.com>:
>
>
>
>
main/scala/org/apache/spark/sql/execution/SparkPlan.scala#L185
Best Regards,
Shixiong Zhu
2015-08-25 8:11 GMT+08:00 Jeff Zhang :
> Hi Cheng,
>
> I know that sqlContext.read will trigger one spark job to infer the
> schema. What I mean is DataFrame#show cost 2 spark jobs. So overall
Hao,
I can reproduce it using the master branch. I'm curious why you cannot
reproduce it. Did you check if the input HadoopRDD did have two partitions?
My test code is
val df = sqlContext.read.json("examples/src/main/resources/people.json")
df.show()
Best Regards,
Shixiong Zhu
That's two jobs. `SparkPlan.executeTake` will call `runJob` twice in this
case.
Best Regards,
Shixiong Zhu
2015-08-25 14:01 GMT+08:00 Cheng, Hao :
> O, Sorry, I miss reading your reply!
>
>
>
> I know the minimum tasks will be 2 for scanning, but Jeff is talking about
&
The folder is in "/tmp" by default. Could you use "df -h" to check the free
space of /tmp?
Best Regards,
Shixiong Zhu
2015-09-05 9:50 GMT+08:00 shenyan zhen :
> Has anyone seen this error? Not sure which dir the program was trying to
> write to.
>
> I am runni
tream(i)
i1.readObject()
Could you provide the "explain" output? It would be helpful to find the
circular references.
Best Regards,
Shixiong Zhu
2015-09-05 0:26 GMT+08:00 Jeff Jones :
> We are using Scala 2.11 for a driver program that is running Spark SQL
> queries in a sta
BTW, did you already update your standalone cluster to use the same Spark
package?
Best Regards,
Shixiong Zhu
2015-09-07 0:02 GMT+08:00 Shixiong Zhu :
> Looks there are some circular references in SQL making the immutable List
> serialization fail in 2.11.
>
> In 2.11, Scala immutab
You can change "spark.sql.broadcastTimeout" to increase the timeout. The
default value is 300 seconds.
Best Regards,
Shixiong Zhu
2015-09-24 15:16 GMT+08:00 Eyad Sibai :
> I am trying to join two tables using dataframes using python 3.4 and I am
> getting the following error
&
Looks like you have an incompatible hbase-default.xml in some place. You
can use the following code to find the location of "hbase-default.xml"
println(Thread.currentThread().getContextClassLoader().getResource("hbase-default.xml"))
Best Regards,
Shixiong Zhu
2015-09-21
compute: this will run in the executor and the location is not
guaranteed. E.g.,
DStream.foreachRDD(rdd => rdd.foreach { v =>
println(v)
})
"println(v)" is called in the executor.
Best Regards,
Shixiong Zhu
2015-09-17 3:47 GMT+08:00 Renyi Xiong :
> Hi,
>
> I want to d
Looks like you returns a "Some(null)" in "compute". If you don't want to
create a RDD, it should return None. If you want to return an empty RDD, it
should return "Some(sc.emptyRDD)".
Best Regards,
Shixiong Zhu
2015-09-15 2:51 GMT+08:00 Juan Rodríguez Hortalá
It's because you committed the job in Windows to a Hadoop cluster running
in Linux. Spark has not yet supported it. See
https://issues.apache.org/jira/browse/SPARK-1825
Best Regards,
Shixiong Zhu
2015-01-28 17:35 GMT+08:00 Marco :
> I've created a spark app, which runs fine
It's a bug that has been fixed in https://github.com/apache/spark/pull/4258
but not yet been merged.
Best Regards,
Shixiong Zhu
2015-02-02 10:08 GMT+08:00 Arun Lists :
> Here is the relevant snippet of code in my main program:
>
> ===
>
The unit of "spark.akka.frameSize" is MB. The max value is 2047.
Best Regards,
Shixiong Zhu
2015-02-05 1:16 GMT+08:00 sahanbull :
> I am trying to run a spark application with
>
> -Dspark.executor.memory=30g -Dspark.kryoserializer.buffer.max.mb=2000
> -Dspark.akka.frame
Could you clarify why you need a 10G akka frame size?
Best Regards,
Shixiong Zhu
2015-02-05 9:20 GMT+08:00 Shixiong Zhu :
> The unit of "spark.akka.frameSize" is MB. The max value is 2047.
>
> Best Regards,
> Shixiong Zhu
>
> 2015-02-05 1:16 GMT+08:00 sahanbull :
>
Rdd.foreach runs in the executors. You should use `collect` to fetch data
to the driver. E.g.,
myRdd.collect().foreach {
node => {
mp(node) = 1
}
}
Best Regards,
Shixiong Zhu
2015-02-25 4:00 GMT+08:00 Vijayasarathy Kannan :
> Thanks, but it still doesn't s
RDD is not thread-safe. You should not use it in multiple threads.
Best Regards,
Shixiong Zhu
2015-02-27 23:14 GMT+08:00 rok :
> I'm seeing this java.util.NoSuchElementException: key not found: exception
> pop up sometimes when I run operations on an RDD from multiple threads in
.
Best Regards,
Shixiong Zhu
2015-03-13 9:37 GMT+08:00 Soila Pertet Kavulya :
> Does Spark support skewed joins similar to Pig which distributes large
> keys over multiple partitions? I tried using the RangePartitioner but
> I am still experiencing failures because some keys are too large
ost of our cases are the second one, we set
"spark.scheduler.executorTaskBlacklistTime" to 3 to solve such "No
space left on device" errors. So if a task runs unsuccessfully in some
executor, it won't be scheduled to the same executor in 30 seconds.
Best Regards,
Shixi
It's a random port to avoid port conflicts, since multiple AMs can run in
the same machine. Why do you need a fixed port?
Best Regards,
Shixiong Zhu
2015-03-26 6:49 GMT+08:00 Manoj Samel :
> Spark 1.3, Hadoop 2.5, Kerbeors
>
> When running spark-shell in yarn client mode, it s
There is no configuration for it now.
Best Regards,
Shixiong Zhu
2015-03-26 7:13 GMT+08:00 Manoj Samel :
> There may be firewall rules limiting the ports between host running spark
> and the hadoop cluster. In that case, not all ports are allowed.
>
> Can it be a range of ports
LGTM. Could you open a JIRA and send a PR? Thanks.
Best Regards,
Shixiong Zhu
2015-03-28 7:14 GMT+08:00 Manoj Samel :
> I looked @ the 1.3.0 code and figured where this can be added
>
> In org.apache.spark.deploy.yarn ApplicationMaster.scala:282 is
>
>
Could you paste the whole stack trace here?
Best Regards,
Shixiong Zhu
2015-03-31 2:26 GMT+08:00 sparkdi :
> I have the same problem, i.e. exception with the same call stack when I
> start
> either pyspark or spark-shell. I use spark-1.3.0-bin-hadoop2.4 on ubuntu
> 14.10.
&
Thanks for the log. It's really helpful. I created a JIRA to explain why it
will happen: https://issues.apache.org/jira/browse/SPARK-6640
However, will this error always happens in your environment?
Best Regards,
Shixiong Zhu
2015-03-31 22:36 GMT+08:00 sparkdi :
> This is the whole out
Could you see something like this in the console?
---
Time: 142905487 ms
---
Best Regards,
Shixiong(Ryan) Zhu
2015-04-15 2:11 GMT+08:00 Shushant Arora :
> Hi
>
> I am running a spark streaming application but o
0 ms strings gets printed on console.
> No output is getting printed.
> And timeinterval between two strings of form ( time:ms)is very less
> than Streaming Duration set in program.
>
> On Wed, Apr 15, 2015 at 5:11 AM, Shixiong Zhu wrote:
>
>> Could you s
Forgot this one: I cannot find any issue about creating
OutputCommitCoordinator. The order of creating OutputCommitCoordinato looks
right.
Best Regards,
Shixiong(Ryan) Zhu
2015-04-17 16:57 GMT+08:00 Shixiong Zhu :
> I just checked the codes about creating OutputCommitCoordinator. Could
I just checked the codes about creating OutputCommitCoordinator. Could you
reproduce this issue? If so, could you provide details about how to
reproduce it?
Best Regards,
Shixiong(Ryan) Zhu
2015-04-16 13:27 GMT+08:00 Canoe :
> 13119 Exception in thread "main" akka.actor.ActorNotFound: Actor not
The problem is the code you use to test:
sc.parallelize(List(1, 2, 3)).map(throw new
SparkException("test")).collect();
is like the following example:
def foo: Int => Nothing = {
throw new SparkException("test")
}
sc.parallelize(List(1, 2, 3)).map(foo).collect();
So actually the Spark jobs do
skEnd(e: SparkListenerTaskEnd) = println(">>>>
> onTaskEnd");
> });
>
> sc.parallelize(List(1, 2, 3)).map(i => throw new
> SparkException("test")).collect();
> }
> }
>
> I'm running it from Eclipse on local[*].
>
>
The configuration key should be "spark.akka.askTimeout" for this timeout.
The time unit is seconds.
Best Regards,
Shixiong(Ryan) Zhu
2015-04-26 15:15 GMT-07:00 Deepak Gopalakrishnan :
> Hello,
>
>
> Just to add a bit more context :
>
> I have done that in the code, but I cannot see it change fro
http://spark.apache.org/docs/latest/running-on-yarn.html
Best Regards,
Shixiong Zhu
2015-04-30 1:00 GMT-07:00 xiaohe lan :
> Hi Madhvi,
>
> If I only install spark on one node, and use spark-submit to run an
> application, which are the Worker nodes? Any where are the executors ?
>
> Than
"spark.history.fs.logDirectory" is for the history server. For Spark
applications, they should use "spark.eventLog.dir". Since you commented out
"spark.eventLog.dir", it will be "/tmp/spark-events". And this folder does
not exits.
Best Regards,
Shixiong Zh
You are using Scala 2.11 with 2.10 libraries. You can change
"org.apache.spark" % "spark-streaming_2.10" % "1.3.1"
to
"org.apache.spark" %% "spark-streaming" % "1.3.1"
And sbt will use the corresponding libraries according to your S
The history server may need several hours to start if you have a lot of
event logs. Is it stuck, or still replaying logs?
Best Regards,
Shixiong Zhu
2015-05-07 11:03 GMT-07:00 Marcelo Vanzin :
> Can you get a jstack for the process? Maybe it's stuck somewhere.
>
> On Thu, May 7,
SPARK-5522 is really cool. Didn't notice it.
Best Regards,
Shixiong Zhu
2015-05-07 11:36 GMT-07:00 Marcelo Vanzin :
> That shouldn't be true in 1.3 (see SPARK-5522).
>
> On Thu, May 7, 2015 at 11:33 AM, Shixiong Zhu wrote:
>
>> The history server may need several
Could your provide the full driver log? Looks like a bug. Thank you!
Best Regards,
Shixiong Zhu
2015-05-13 14:02 GMT-07:00 Giovanni Paolo Gibilisco :
> Hi,
> I'm trying to run an application that uses a Hive context to perform some
> queries over JSON files.
> The code of t
You can use "JavaPairRDD.saveAsHadoopFile/saveAsNewAPIHadoopFile".
Best Regards,
Shixiong Zhu
2014-06-20 14:22 GMT+08:00 abhiguruvayya :
> Any inputs on this will be helpful.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.
+ m(0))
r2.toArray
Best Regards,
Shixiong Zhu
2014-08-14 22:11 GMT+08:00 Christopher Nguyen :
> Hi Hoai-Thu, the issue of private default constructor is unlikely the
> cause here, since Lance was already able to load/deserialize the model
> object.
>
> And on that side topic, I wish a
I think in the following case
class Foo { def foo() = Array(1.0) }
val t = new Foo
val m = t.foo
val r1 = sc.parallelize(List(1, 2, 3))
val r2 = r1.map(_ + m(0))
r2.toArray
Spark should not serialize "t". But looks it will.
Best Regards,
Shixiong Zhu
2014-08-14 23:22 GMT+08:00 l
es for a special key and these values cannot fit
into memory. Spilling data to disk helps nothing because cogroup needs to
read all values for a key into memory.
Any suggestion to solve these OOM cases? Thank you,.
Best Regards,
Shixiong Zhu
check if anyone has similar problem and
better solution.
Best Regards,
Shixiong Zhu
2014-10-28 0:13 GMT+08:00 Holden Karau :
>
>
> On Monday, October 27, 2014, Shixiong Zhu wrote:
>
>> We encountered some special OOM cases of "cogroup" when the data in one
>>
Are you using spark standalone mode? If so, you need to
set "spark.io.compression.codec" for all workers.
Best Regards,
Shixiong Zhu
2014-10-28 10:37 GMT+08:00 buring :
> Here is error log,I abstract as follows:
> INFO [binaryTest---main]: before
I mean updating the spark conf not only in the driver, but also in the
Spark Workers.
Because the driver configurations cannot be read by the Executors, they
still use the default spark.io.compression.codec to deserialize the tasks.
Best Regards,
Shixiong Zhu
2014-10-28 16:39 GMT+08:00 buring
Or "def getAs[T](i: Int): T"
Best Regards,
Shixiong Zhu
2014-10-29 13:16 GMT+08:00 Zhan Zhang :
> Can you use row(i).asInstanceOf[]
>
> Thanks.
>
> Zhan Zhang
>
>
>
> On Oct 28, 2014, at 5:03 PM, Mohammed Guller
> wrote:
>
> Hi –
>
> The Spa
the data is not persisted, Spark needs to
load the data again. You can call RDD.cache to persist the RDD in the
memory.
Best Regards,
Shixiong Zhu
2014-11-06 11:35 GMT+08:00 nsareen :
> I noticed a behaviour where it was observed that, if i'm using
> val temp = sc.parallelize ( 1 t
Two limitations we found here:
http://apache-spark-user-list.1001560.n3.nabble.com/OutOfMemory-in-quot-cogroup-quot-td17349.html
Best Regards,
Shixiong Zhu
2014-11-06 2:04 GMT+08:00 Yangcheng Huang :
> Hi
>
>
>
> One question about the power of spark.shuffle.spill –
>
>
alization error.
Best Regards,
Shixiong Zhu
2014-11-06 7:56 GMT+08:00 ankits :
> In my spark job, I have a loop something like this:
>
> bla.forEachRdd(rdd => {
> //init some vars
> rdd.forEachPartition(partiton => {
> //init some vars
> partition.
Will this work even with Kryo Serialization ?
Now spark.closure.serializer must be
org.apache.spark.serializer.JavaSerializer. Therefore the serialization
closure functions won’t be involved with Kryo. Kryo is only used to
serialize the data.
Best Regards,
Shixiong Zhu
2014-11-07 12:27 GMT+08
e it? Is there
a SparkContext field in the outer class?
Best Regards,
Shixiong Zhu
2014-10-28 0:28 GMT+08:00 octavian.ganea :
> I am also using spark 1.1.0 and I ran it on a cluster of nodes (it works
> if I
> run it in local mode! )
>
> If I put the accumulator inside the for loop, every
Now it doesn't support such query. I can easily reproduce it. Created a
JIRA here: https://issues.apache.org/jira/browse/SPARK-4296
Best Regards,
Shixiong Zhu
2014-11-07 16:44 GMT+08:00 Tridib Samanta :
> I am trying to group by on a calculated field. Is it supported on spark
>
Could you provide the code of hbaseQuery? It maybe doesn't support to
execute in parallel.
Best Regards,
Shixiong Zhu
2014-11-12 14:32 GMT+08:00 qiaou :
> Hi:
> I got a problem with using the union method of RDD
> things like this
> I get a function like
> def hb
You need to create a new configuration for each RDD. Therefore, "val
hbaseConf = HBaseConfigUtil.getHBaseConfiguration" should be changed to "val
hbaseConf = new Configuration(HBaseConfigUtil.getHBaseConfiguration)"
Best Regards,
Shixiong Zhu
2014-11-12 14:53 GMT+08:00 qiaou
1 - 100 of 131 matches
Mail list logo