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

Takanobu Asanuma commented on ORC-436:
--------------------------------------

Thanks [~owen.omalley], [~ozawa], [~ajisakaa] for closing this issue.

This is a Hadoop bug which is resolved from 2.7.4. So upgrading Hadoop that ORC 
depends on would be good. (Spark had the same problem. See: 
[https://github.com/apache/spark/pull/23101] )

Anyway, as discussed 
[here|https://mail-archives.apache.org/mod_mbox/hadoop-common-dev/201811.mbox/%3CCAAZYQvYsAYHHJRqxij_Xbdnw9MHRxgPF%2B1VdH-s7VOQE8vouNQ%40mail.gmail.com%3E],
 I think Hadoop can focus on supporting JDK 11. I'll organize the jiras on 
Hadoop side later.

> A test failure of TestHadoopShimsPre2_7 with OpenJDK 11  
> ---------------------------------------------------------
>
>                 Key: ORC-436
>                 URL: https://issues.apache.org/jira/browse/ORC-436
>             Project: ORC
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ozawa
>            Priority: Major
>
> Reproduced a test failure Owen said in [Hadoop 
> ML|http://mail-archives.apache.org/mod_mbox/hadoop-common-dev/201811.mbox/%3CCAHfHakGjmu2LuZ%2BU%3DF4-MVq7UL0vi4sPKno-ozBpvgig6SyWJg%40mail.gmail.com%3E?fbclid=IwAR18ZSzet969mHzrr9fk_q1a02c0T4qPiI-zZrglfYfI6BKytoIFsAqTj_M]
> {quote}
> $ java -version
> openjdk version "11" 2018-09-25
> OpenJDK Runtime Environment (build 11+24-Ubuntu-118.04)
> OpenJDK 64-Bit Server VM (build 11+24-Ubuntu-118.04, mixed mode, sharing)
> $ mvn test
> [INFO] Running org.apache.orc.impl.TestHadoopShimsPre2_7
> [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.207 
> s <<< FAILURE! - in org.apache.orc.impl.TestHadoopShimsPre2_7
> [ERROR] testHadoopKeyProvider(org.apache.orc.impl.TestHadoopShimsPre2_7)  
> Time elapsed: 0.101 s  <<< ERROR!
> java.lang.ExceptionInInitializerError
>       at 
> org.apache.orc.impl.TestHadoopShimsPre2_7.testHadoopKeyProvider(TestHadoopShimsPre2_7.java:77)
> Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 2
>       at 
> org.apache.orc.impl.TestHadoopShimsPre2_7.testHadoopKeyProvider(TestHadoopShimsPre2_7.java:77)
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to