Andrew Wang updated HDFS-10990:
    Attachment: HDFS-10990.004.patch

Doing a little googling, I think this might be related to JDK8 vs. JDK7's 
treatment of anonymous inner classes:


I'm attaching a trivial change to Yiqun's patch that makes numBlocks final. I 
tested compilation on branch-2 locally.

> TestPendingInvalidateBlock should wait for IBRs
> -----------------------------------------------
>                 Key: HDFS-10990
>                 URL: https://issues.apache.org/jira/browse/HDFS-10990
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.8.0, 3.0.0-alpha1
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>            Priority: Minor
>         Attachments: HDFS-10990.001.patch, HDFS-10990.002.patch, 
> HDFS-10990.003.patch, HDFS-10990.004.patch
> After HDFS-10426, the test {{TestPendingInvalidateBlock#testPendingDeletion}} 
> still fails sometimes. As [~iwasakims] commented in 
> HDFS-10426(https://issues.apache.org/jira/browse/HDFS-10426?focusedCommentId=15539826&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15539826),
>  we should add a line {{DFSTestUtil.waitForReplication}} to wait for the IBR 
> and not do the assert opertion first.

This message was sent by Atlassian JIRA

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

Reply via email to