Clean up app folders in worker nodes

2014-12-29 Thread hutashan
of app id of my application. I tried to get master object in code but it is throwing actor error. 4) Is there any correction required on below configuration SPARK_WORKER_OPTS="-Dspark.worker.cleanup.enabled=true -Dspark.worker.cleanup.interval=10" Thanks in advance Hutashan. --

Re: Spark Streaming

2014-10-14 Thread hutashan
Yes.. I solved this problem using fileStream instead of textfile StreamingContext scc = new StreamingContext(conf, new Duration(1)); ClassTag k = ClassTag$.MODULE$.apply(LongWritable.class); ClassTag v = ClassTag$.MODULE$.apply(Text.class);