RE: Logging in executors

2016-04-18 Thread Ashic Mahtab
code. That also worked for us, but we went the extraJavaOptions route as it was less invasive on the application side. -Ashic. Date: Mon, 18 Apr 2016 10:32:03 -0300 Subject: Re: Logging in executors From: cma...@despegar.com To: yuzhih...@gmail.com CC: user@spark.apache.org Thanks Ted, already check

Re: Logging in executors

2016-04-18 Thread Ted Yu
og4j/1.2/manual.html >>>>> >>>>> When you specify the log4j.configuration=my_custom.properties, you >>>>> have 2 option: >>>>> >>>>> 1) the my_custom.properties has to be in the jar (or in the >>>>> classpat

Re: Logging in executors

2016-04-18 Thread Carlos Rojas Matas
s, you have >>>> 2 option: >>>> >>>> 1) the my_custom.properties has to be in the jar (or in the classpath). >>>> In your case, since you specify the package path, you need to make sure >>>> they are matched in your jar file >>>> 2) use like log4j.configur

Re: Logging in executors

2016-04-15 Thread Ted Yu
r case, since you specify the package path, you need to make sure >>> they are matched in your jar file >>> 2) use like log4j.configuration=file:///tmp/my_custom.properties. In >>> this way, you need to make sure file my_custom.properties exists in /tmp >>> folder on ALL

Re: Logging in executors

2016-04-15 Thread Carlos Rojas Matas
ke sure >> they are matched in your jar file >> 2) use like log4j.configuration=file:///tmp/my_custom.properties. In this >> way, you need to make sure file my_custom.properties exists in /tmp folder >> on ALL of your worker nodes. >> >> Yong >> >> -

Re: Logging in executors

2016-04-13 Thread Carlos Rojas Matas
my_custom.properties. In this > way, you need to make sure file my_custom.properties exists in /tmp folder > on ALL of your worker nodes. > > Yong > > ---------- > Date: Wed, 13 Apr 2016 14:18:24 -0300 > Subject: Re: Logging in executors > From: c

RE: Logging in executors

2016-04-13 Thread Yong Zhang
sure file my_custom.properties exists in /tmp folder on ALL of your worker nodes. Yong Date: Wed, 13 Apr 2016 14:18:24 -0300 Subject: Re: Logging in executors From: cma...@despegar.com To: yuzhih...@gmail.com CC: user@spark.apache.org Thanks for your response Ted. You're right, there was a typo

Re: Logging in executors

2016-04-13 Thread Carlos Rojas Matas
Thanks for your response Ted. You're right, there was a typo. I changed it, now I'm executing: bin/spark-submit --master spark://localhost:7077 --conf "spark.driver.extraJavaOptions=-Dlog4j.configuration=env/dev/log4j-driver.properties" --conf

Re: Logging in executors

2016-04-13 Thread Ted Yu
bq. --conf "spark.executor.extraJavaOptions=-Dlog4j. configuration=env/dev/log4j-driver.properties" I think the above may have a typo : you refer to log4j-driver.properties in both arguments. FYI On Wed, Apr 13, 2016 at 8:09 AM, Carlos Rojas Matas wrote: > Hi guys, > >