[jira] [Commented] (HADOOP-16446) Rolling upgrade to Hadoop 3.2.0 breaks due to backward in-compatible change

2019-07-23 Thread Steve Loughran (JIRA)


[ 
https://issues.apache.org/jira/browse/HADOOP-16446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16890839#comment-16890839
 ] 

Steve Loughran commented on HADOOP-16446:
-

yeah, commons-lang is a pain. The good news: it's easier to handle than guava. 
We have upgraded commons lang; the JIRA for that was first filed in 2014, and 
finally did it because its required for more recent versions of Java: 
HADOOP-10783

if you add commons-lang as a dependency, then you get it back: commons-lang3 
and commons-lang will coexist

> Rolling upgrade to Hadoop 3.2.0 breaks due to backward in-compatible change
> ---
>
> Key: HADOOP-16446
> URL: https://issues.apache.org/jira/browse/HADOOP-16446
> Project: Hadoop Common
>  Issue Type: Bug
>Affects Versions: 3.2.0
>Reporter: xia0c
>Priority: Major
>
> Hi,
> When I try to update Hadoop-common to the last version 3.2.0, it breaks 
> backward compatibility due to compile dependency change in commons.lang. This 
> also breaks rolling upgrades since any client implementing this - like Apache 
> Crunch. 
> -The following code will fail to run with the error 
> "java.lang.NoClassDefFoundError: 
> org/apache/commons/lang/SerializationException":
>   
> {code:java}
> public void Demo(){
> PCollection data = MemPipeline.typedCollectionOf(strings(), "a"); 
> }
> {code}
> Thanks a lot.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Commented] (HADOOP-16446) Rolling upgrade to Hadoop 3.2.0 breaks due to backward in-compatible change

2019-07-22 Thread Eric Yang (JIRA)


[ 
https://issues.apache.org/jira/browse/HADOOP-16446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16890529#comment-16890529
 ] 

Eric Yang commented on HADOOP-16446:


[~lingchao] The root cause is the same as HADOOP-16444.

> Rolling upgrade to Hadoop 3.2.0 breaks due to backward in-compatible change
> ---
>
> Key: HADOOP-16446
> URL: https://issues.apache.org/jira/browse/HADOOP-16446
> Project: Hadoop Common
>  Issue Type: Bug
>Affects Versions: 3.2.0
>Reporter: xia0c
>Priority: Major
>
> Hi,
> When I try to update Hadoop-common to the last version 3.2.0, it breaks 
> backward compatibility due to compile dependency change in commons.lang. This 
> also breaks rolling upgrades since any client implementing this - like Apache 
> Crunch. 
> -The following code will fail to run with the error 
> "java.lang.NoClassDefFoundError: 
> org/apache/commons/lang/SerializationException":
>   
> {code:java}
> public void Demo(){
> PCollection data = MemPipeline.typedCollectionOf(strings(), "a"); 
> }
> {code}
> Thanks a lot.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org