I am getting this "ERROR actor.OneForOneStrategy: key not found:" exception
when I run my code and I'm not sure where it is looking for a key. My set
up is I send packets to a third party service which then uses a webhook to
hit one of our servers, which then logs it using kafka. I am just trying
I think I have found my answers but if anyone has thoughts please share.
After testing for a while I think the error doesn't have any effect on the
process.
I think it is the case that there must be elements left in the window from
last run otherwise my system is completely whack.
Please let me
I have been trying to write to RabbitMQ in my Spark Streaming app and I
receive the below exception:
java.io.NotSerializableException: com.rabbitmq.client.impl.ChannelN
Does anyone have experience sending their data to rabbit?
I am using the basicpublish call like so -> SQLChannel.basicPublish(""
You are correct in that I am trying to publish inside of a foreachRDD loop.
I am currently refactoring and will try publishing inside the
foreachPartition loop. Below is the code showing the way it is currently
written, thanks!
object myData {
def main(args: Array[String]) {
val ssc = ne
I am running into a different problem relating to this spark app right now
and I'm thinking it may be due to the fact that I am publishing to RabbitMQ
inside of a foreachPartition loop. I would like to publish once for each
window and the app is publishing a lot more than that (it varies sometimes
Well, it looks like I can use the .repartition(1) method to stuff everything
in one partition so that gets rid of the duplicate messages I send to
RabbitMQ but that seems like a bad idea perhaps. Wouldn't that hurt
scalability?
--
View this message in context:
http://apache-spark-user-list.1
Thanks for the quick and clear response! I now have a better understanding
of what is going on regarding the driver and worker nodes which will help me
greatly.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Writing-to-RabbitMQ-tp11283p12386.html
Sent from
I am having a problem trying to figure out how to solve a problem. I would
like to stream events from Kafka to my Spark Streaming app and write the
contents of each RDD out to a HDFS directory. Each event that comes into
the app via kafka will be JSON and have an event field with the name of the
I reworked my app using your idea of throwing the data in a map. It looks
like it should work but I'm getting some strange errors and my job gets
terminated. I get a
"WARN TaskSchedulerImpl: Initial job has not accepted any resources; check
your cluster UI to ensure that workers are registered
UPDATE
I have removed and added things systematically to the job and have figured
that the inclusion of the construction of the SparkContext object is what is
causing it to fail.
The last run contained the code below.
I keep losing executors apparently and I'm not sure why. Some of the
relevan
Yes, thank you for suggestion. The error I found below was in the worker
logs.
AssociationError [akka.tcp://sparkwor...@cloudera01.local.company.com:7078]
-> [akka.tcp://sparkexecu...@cloudera01.local.company.com:33329]: Error
[Association failed with
[akka.tcp://sparkexecu...@cloudera01.local.co
11 matches
Mail list logo