You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/08 13:45:00 UTC

[jira] [Commented] (IGNITE-9814) JDK11: HadoopClassLoader#nativeLibraries fails because has invalid assumption for ClassLoader type

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

ASF GitHub Bot commented on IGNITE-9814:
----------------------------------------

GitHub user tledkov-gridgain opened a pull request:

    https://github.com/apache/ignite/pull/4925

    IGNITE-9814: JDK11: HadoopClassLoader#nativeLibraries fails because has invalid assumption for ClassLoader type

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-9814

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/4925.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4925
    
----
commit d1ae537821df250905da63e2195c18d730059fc7
Author: tledkov-gridgain <tl...@...>
Date:   2018-10-08T13:43:28Z

    IGNITE-9814: : HadoopClassLoader#nativeLibraries fails because has invalid assumption for ClassLoader type

----


> JDK11: HadoopClassLoader#nativeLibraries fails because has invalid assumption for ClassLoader type
> --------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-9814
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9814
>             Project: Ignite
>          Issue Type: Bug
>          Components: hadoop
>    Affects Versions: 2.6
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>            Priority: Major
>              Labels: Java11
>             Fix For: 2.7
>
>
> Error:
> {code}
> [2018-10-08 08:43:40,204][ERROR][main][IgniteKernal%grid_secondary] Exception during start processors, node will be stopped and close connections
> java.lang.ClassCastException: class java.util.concurrent.ConcurrentHashMap cannot be cast to class java.util.Vector (java.util.concurrent.ConcurrentHashMap and java.util.Vector are in module java.base of loader 'bootstrap')
>     at org.apache.ignite.internal.processors.hadoop.HadoopClassLoader.nativeLibraries(HadoopClassLoader.java:270)
>     at org.apache.ignite.internal.processors.hadoop.HadoopClassLoader.initializeNativeLibraries0(HadoopClassLoader.java:216)
>     at org.apache.ignite.internal.processors.hadoop.HadoopClassLoader.initializeNativeLibraries(HadoopClassLoader.java:172)
>     at org.apache.ignite.internal.processors.hadoop.HadoopClassLoader.<init>(HadoopClassLoader.java:141)
>     at org.apache.ignite.internal.processors.hadoop.HadoopHelperImpl.commonClassLoader(HadoopHelperImpl.java:78)
>     at org.apache.ignite.internal.processors.hadoop.jobtracker.HadoopJobTracker.start(HadoopJobTracker.java:163)
>     at org.apache.ignite.internal.processors.hadoop.HadoopProcessor.start(HadoopProcessor.java:90)
>     at org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1692)
>     at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1022)
>     at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:2033)
>     at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1728)
>     at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1156)
>     at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:676)
>     at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:601)
>     at org.apache.ignite.Ignition.start(Ignition.java:323)
>     at org.apache.ignite.internal.processors.igfs.IgfsAbstractBaseSelfTest.startGridWithIgfs(IgfsAbstractBaseSelfTest.java:394)
>     at org.apache.ignite.internal.processors.hadoop.impl.igfs.Hadoop1DualAbstractTest.startUnderlying(Hadoop1DualAbstractTest.java:118)
>     at org.apache.ignite.internal.processors.hadoop.impl.igfs.Hadoop1DualAbstractTest.createSecondaryFileSystemStack(Hadoop1DualAbstractTest.java:84)
>     at org.apache.ignite.internal.processors.igfs.IgfsAbstractBaseSelfTest.beforeTestsStarted(IgfsAbstractBaseSelfTest.java:272)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.setUp(GridAbstractTest.java:621)
>     at org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.setUp(GridCommonAbstractTest.java:494)
>     at junit.framework.TestCase.runBare(TestCase.java:139)
>     at junit.framework.TestResult$1.protect(TestResult.java:122)
>     at junit.framework.TestResult.runProtected(TestResult.java:142)
>     at junit.framework.TestResult.run(TestResult.java:125)
>     at junit.framework.TestCase.run(TestCase.java:129)
>     at junit.framework.TestSuite.runTest(TestSuite.java:255)
>     at junit.framework.TestSuite.run(TestSuite.java:250)
>     at junit.framework.TestSuite.runTest(TestSuite.java:255)
> {code}



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