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 context a
I am using Java Streaming context and it doesnt have method setLogLevel and
also i have tried by passing VM argument in eclipse and it doesnt work
JavaStreamingContext jssc = new JavaStreamingContext(sparkConf,
Durations.seconds(2));
Ashish
On Tue, Sep 29, 2015 at 7:23 AM, Adrian Tanase wrote:
You should set exta java options for your app via Eclipse project and specify
something like
-Dlog4j.configuration=file:/tmp/log4j.properties
Sent from my iPhone
On 28 Sep 2015, at 18:52, Shixiong Zhu
mailto:zsxw...@gmail.com>> wrote:
You can use JavaSparkContext.setLogLevel to set the log l
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
>
> On Mon, Sep 28, 20
I am not running it using spark submit , i am running locally inside
Eclipse IDE , how i set this using JAVA Code
Ashish
On Mon, Sep 28, 2015 at 10:42 AM, Adrian Tanase wrote:
> You also need to provide it as parameter to spark submit
>
> http://stackoverflow.com/questions/28840438/how-to-overr
You also need to provide it as parameter to spark submit
http://stackoverflow.com/questions/28840438/how-to-override-sparks-log4j-properties-per-driver
From: Ashish Soni
Date: Monday, September 28, 2015 at 5:18 PM
To: user
Subject: Spark Streaming Log4j Inside Eclipse
I need to turn off the verbo