ignite-dev mailing list archives

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

             Summary: 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: Ivan Veselovsky
             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