[ https://issues.apache.org/jira/browse/PIG-5218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15984656#comment-15984656 ]
Adam Szita commented on PIG-5218: --------------------------------- [~rohini]: right, although this is a frontend-only problem. I think there is no other way to set this system property than doing it in the launch script since the Logger initialisation happens static. Please take a look at the new patch: [^PIG-5218.1.patch] > Jyhton_Checkin_3 fails with spark exec type > ------------------------------------------- > > Key: PIG-5218 > URL: https://issues.apache.org/jira/browse/PIG-5218 > Project: Pig > Issue Type: Sub-task > Components: spark > Reporter: Adam Szita > Assignee: Adam Szita > Fix For: spark-branch > > Attachments: PIG-5218.0.patch, PIG-5218.1.patch > > > Exception observed: > {code} > Caused by: java.lang.ClassCastException: > org.apache.commons.logging.impl.SLF4JLocationAwareLog cannot be cast to > org.apache.commons.logging.impl.Log4JLogger > at > org.apache.hadoop.test.GenericTestUtils.setLogLevel(GenericTestUtils.java:107) > at > org.apache.hadoop.fs.FileContextCreateMkdirBaseTest.<clinit>(FileContextCreateMkdirBaseTest.java:60) > ... 29 more > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)