ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-4514) Test HadoopCommandLineTest.testHiveCommandLine fails
Date Fri, 30 Dec 2016 18:50:58 GMT

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

Ivan Veselovsky edited comment on IGNITE-4514 at 12/30/16 6:50 PM:
-------------------------------------------------------------------

https://github.com/apache/ignite/pull/1397 
Tests passed: http://172.25.1.150:8111/viewLog.html?buildTypeId=IgniteTests_IgniteHadoop&buildId=408872&branch_IgniteTests=pull/1397/head



was (Author: iveselovskiy):
https://github.com/apache/ignite/pull/1397 

> Test HadoopCommandLineTest.testHiveCommandLine fails
> ----------------------------------------------------
>
>                 Key: IGNITE-4514
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4514
>             Project: Ignite
>          Issue Type: Test
>          Components: hadoop
>    Affects Versions: 1.8
>            Reporter: Ivan Veselovsky
>            Assignee: Vladimir Ozerov
>             Fix For: 2.0
>
>
> test HadoopCommandLineTest.testHiveCommandLine reproducibly fails due to failed assertion:

> {code} 
> java.lang.AssertionError
>     at org.apache.ignite.internal.processors.hadoop.impl.v2.HadoopV2TaskContext.readExternalSplit(HadoopV2TaskContext.java:505)
>     at org.apache.ignite.internal.processors.hadoop.impl.v2.HadoopV2TaskContext.getNativeSplit(HadoopV2TaskContext.java:483)
>     at org.apache.ignite.internal.processors.hadoop.impl.v1.HadoopV1MapTask.run(HadoopV1MapTask.java:75)
>     at org.apache.ignite.internal.processors.hadoop.impl.v2.HadoopV2TaskContext.run(HadoopV2TaskContext.java:257)
>     at org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopRunnableTask.runTask(HadoopRunnableTask.java:201)
>     at org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopRunnableTask.call0(HadoopRunnableTask.java:144)
>     at org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopRunnableTask$1.call(HadoopRunnableTask.java:116)
>     at org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopRunnableTask$1.call(HadoopRunnableTask.java:114)
>     at org.apache.ignite.internal.processors.hadoop.impl.v2.HadoopV2TaskContext.runAsJobOwner(HadoopV2TaskContext.java:569)
>     at org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopRunnableTask.call(HadoopRunnableTask.java:114)
>     at org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopRunnableTask.call(HadoopRunnableTask.java:46)
>     at org.apache.ignite.internal.processors.hadoop.taskexecutor.HadoopExecutorService$2.body(HadoopExecutorService.java:186)
>     at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
>     at java.lang.Thread.run(Thread.java:745)
> {code} 
> problem is that org.apache.ignite.internal.processors.hadoop.impl.v2.HadoopV2TaskContext
is loaded by the Job class loader if the class loader is "shared" (see org.apache.ignite.internal.processors.hadoop.HadoopJobProperty#JOB_SHARED_CLASSLOADER),
and this is true by default. But the assertion in the test expects this to be task class loader,
what can be true, but is false by default. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message