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

wangxiyuan commented on FLINK-14178:
------------------------------------

Hi [~dian.fu]

I have attached the debug file. You can see that from Line79079 with 
`Dependency-reduced POM written at: 
/home/zuul/flink/flink-table/flink-sql-parser/target/dependency-reduced-pom.xml`,
 after this line, there is an infinite loop forever. The behavior is strange 
and I found a similar 
[bug|https://www.mail-archive.com/dev@htrace.incubator.apache.org/msg00844.html]

 But Apache Spark uses 3.2.1 as well and it works well on ARM. It seems that 
this bug only in flink-sql-parser. Sorry that I'm not sure the deep reason.

I'm agree that downgrading to 3.1.0 is not the best way as you mentioned. How 
about add a new profile section in pom.xml for ARM? It'll not break Flink's 
default action on X86.  And in the future, some ARM specified changes can be 
added there as well.
 

> maven-shade-plugin 3.2.1 doesn't work on ARM for Flink
> ------------------------------------------------------
>
>                 Key: FLINK-14178
>                 URL: https://issues.apache.org/jira/browse/FLINK-14178
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Build System
>    Affects Versions: 2.0.0
>            Reporter: wangxiyuan
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: debug.log
>
>
> recently, maven-shade-plugin  is bumped from 3.0.0 to 3.2.1 by the 
> [commit|https://github.com/apache/flink/commit/e7216eebc846a69272c21375af0f4db8009c2e3e].
>  While with my test locally on ARM, The Flink build process will be jammed. 
> After debugging, I found there is an infinite loop.
> Downgrade maven-shade-plugin to 3.1.0 can solve this problem.



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

Reply via email to