[ 
https://issues.apache.org/jira/browse/OOZIE-3071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031509#comment-17031509
 ] 

Andras Salamon commented on OOZIE-3071:
---------------------------------------

[~matijhs] Thanks for the bump. (To repeat [~gezapeti]'s question): What will 
happen with Spark1 if we bump commons-lang3 version? It would be great if you 
could test it.

We already have problems with the different requirements of spark-1 and 
spark-2. It's not too nice, but we already have spark-1 and spark-2 profiles, 
maybe we could try to update commons-lang3 and we could specify the old one in 
spark-1 if it's required.

> Oozie 4.3 Spark sharelib ueses a different version of commons-lang3 than 
> Spark 2.2.0
> ------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3071
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3071
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.3.0
>            Reporter: Ran Gu
>            Assignee: Artem Ervits
>            Priority: Major
>              Labels: patch
>         Attachments: OOZIE-3071-1.patch, OOZIE-3071.patch
>
>
> Currently Oozie 4.3.0 uses commons-lang3 version 3.3.2 in Spark sharelib.
> Spark 2.2.0 uses commons-lang3 version 3.5. 
> This causes Oozie(/Spark) job failures on EMR-5.8.0 clusters.
> Error message:
> 17/08/22 00:22:43 ERROR ApplicationMaster: User class threw exception: 
> java.lang.IllegalArgumentException: Illegal pattern component: XXX
> java.lang.IllegalArgumentException: Illegal pattern component: XXX
> at 
> org.apache.commons.lang3.time.FastDatePrinter.parsePattern(FastDatePrinter.java:282)
> at 
> org.apache.commons.lang3.time.FastDatePrinter.init(FastDatePrinter.java:149)
> at 
> org.apache.commons.lang3.time.FastDatePrinter.<init>(FastDatePrinter.java:142)
> at 
> org.apache.commons.lang3.time.FastDateFormat.<init>(FastDateFormat.java:384)
> at 
> org.apache.commons.lang3.time.FastDateFormat.<init>(FastDateFormat.java:369)
> at 
> org.apache.commons.lang3.time.FastDateFormat$1.createInstance(FastDateFormat.java:91)
> at 
> org.apache.commons.lang3.time.FastDateFormat$1.createInstance(FastDateFormat.java:88)
> at org.apache.commons.lang3.time.FormatCache.getInstance(FormatCache.java:82) 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to