Mobius icon indicating copy to clipboard operation
Mobius copied to clipboard

Need a long running Spark job or a simulation involving Riosock to test memory leak

Open hebinhuang opened this issue 9 years ago • 6 comments

Use a long running Spark job or a simulation involving Riosock to test memory leak

hebinhuang avatar Jul 08 '16 22:07 hebinhuang

@skaarthik @hebinhuang : Seems we can use the testMobius with Socket or Kafka streaming. I can provide some usage example and help if you like.

qualiu avatar Aug 09 '16 04:08 qualiu

you can use one command line to test, more tool and usage follow RIOSocket test and with memory test brief the command lines as following :

qualiu avatar Aug 10 '16 12:08 qualiu

There is an issue in testMobius with RIOSocket. the issue is still in debugging.

hebinhuang avatar Aug 11 '16 16:08 hebinhuang

There is a potential issue in Mobius that cannot keep testMobius with socket on long running.

hebinhuang avatar Aug 23 '16 20:08 hebinhuang

@hebinhuang - can you elaborate on your last comment and also comment if this impacts M3?

skaarthik avatar Aug 23 '16 20:08 skaarthik

@skaarthik , The issue is happened on the testKeyValueStream with a socket data source. The testKeyValueStream starts a loop to test KeyValueStream, the StreamingContext will be started and stopped in each loop iteration. After about 7~10 iterations, the testKeyValueStream gets stuck. The scenario in the testKeyValueStream is not a typical scenario in Spark applications. A typical long running scenario is that a spark application starts only one StreamingContext and stop it when the application exists. So the issue does not impact M3.

Currently, @qualiu is working on the investigation.

hebinhuang avatar Aug 23 '16 21:08 hebinhuang