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

wangxiyuan commented on FLINK-13449:
------------------------------------

Take 
[testBlockingPartitionIsConsumableMultipleTimesIfNotReleasedOnConsumption|https://github.com/apache/flink/blob/master/flink-runtime/src/test/java/org/apache/flink/runtime/io/network/partition/ResultPartitionTest.java#L122]
 as an exmaple:

Since aarch64 is not supported, the 
[BoundedBlockingType|https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/ResultPartitionFactory.java#L197]
 will be *FILE* instead of *FILE_MMAP*. Then 
when read the 
[Buffer|https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/BoundedBlockingSubpartitionReader.java#L71],
 it try to [get 4 
bit|https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/BufferReaderWriterUtil.java#L159],
 but the segment is only 1 bit, then *IndexOutOfBoundsException* error raised.


Just explained from code layer, since I'm still a newbie for Flink, Sorry that 
I don't know the deep Flink concept at this moment.
 

> Add ARM architecture to MemoryArchitecture
> ------------------------------------------
>
>                 Key: FLINK-13449
>                 URL: https://issues.apache.org/jira/browse/FLINK-13449
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Stephan Ewen
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, {{Memoryarchitecture}} recognizes only various versions of x86 and 
> amd64 / ia64.
> We should add aarch64 for ARM to the known architectures.



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

Reply via email to