You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ivan Veselovsky (JIRA)" <ji...@apache.org> on 2015/03/17 15:32:40 UTC

[jira] [Commented] (IGNITE-482) org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.finalize() sometimes throws Exception

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

Ivan Veselovsky commented on IGNITE-482:
----------------------------------------

With Hadoop 2.4.1 (BigTop 0.8.0) these exceptions sometimes have message like "org.apache.hadoop.HadoopIllegalArgumentException: Cannot close proxy - is not Closeable or does not provide closeable invocation handler class com.sun.proxy.$Proxy68 "

[17:29:44,555][ERROR][Finalizer][RPC] RPC.stopProxy called on non proxy: class=com.sun.proxy.$Proxy68
java.lang.IllegalArgumentException: not a proxy instance
        at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:811)
        at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:624)
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.close(ClientNamenodeProtocolTranslatorPB.java:205)
        at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:621)
        at org.apache.hadoop.hdfs.DFSClient.closeConnectionToNamenode(DFSClient.java:816)
        at org.apache.hadoop.hdfs.DFSClient.close(DFSClient.java:871)
        at org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.java:857)
        at org.apache.ignite.internal.util.IgniteUtils.closeQuiet(IgniteUtils.java:3411)
        at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.close0(IgniteHadoopFileSystem.java:370)
        at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.finalize(IgniteHadoopFileSystem.java:338)
        at java.lang.System$2.invokeFinalize(System.java:1213)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
[17:29:44,556][ERROR][Finalizer][RPC] RPC.stopProxy called on non proxy: class=org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB
org.apache.hadoop.HadoopIllegalArgumentException: Cannot close proxy - is not Closeable or does not provide closeable invocation handler class com.sun.proxy.$Proxy68
        at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:639)
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.close(ClientNamenodeProtocolTranslatorPB.java:205)
        at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:621)
        at org.apache.hadoop.hdfs.DFSClient.closeConnectionToNamenode(DFSClient.java:816)
        at org.apache.hadoop.hdfs.DFSClient.close(DFSClient.java:871)
        at org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.java:857)
        at org.apache.ignite.internal.util.IgniteUtils.closeQuiet(IgniteUtils.java:3411)
        at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.close0(IgniteHadoopFileSystem.java:370)
        at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.finalize(IgniteHadoopFileSystem.java:338)
        at java.lang.System$2.invokeFinalize(System.java:1213)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)


> org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.finalize() sometimes throws Exception
> -------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-482
>                 URL: https://issues.apache.org/jira/browse/IGNITE-482
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Veselovsky
>            Assignee: Ivan Veselovsky
>            Priority: Minor
>
> Though, this does not seem to affect any functionality.
> Observed while running terasort sample on Hortonworks Hadoop with a secondary HDFS filesystem.
> [18:55:52,070][ERROR][Finalizer][RPC] RPC.stopProxy called on non proxy: class=com.sun.proxy.$Proxy75
> java.lang.IllegalArgumentException: not a proxy instance
>         at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:811)
>         at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:658)
>         at org.apache.hadoop.hdfs.DFSClient.closeConnectionToNamenode(DFSClient.java:904)
>         at org.apache.hadoop.hdfs.DFSClient.close(DFSClient.java:960)
>         at org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.java:902)
>         at org.apache.ignite.internal.util.IgniteUtils.closeQuiet(IgniteUtils.java:3411)
>         at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.close0(IgniteHadoopFileSystem.java:370)
>         at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.finalize(IgniteHadoopFileSystem.java:338)
>         at java.lang.System$2.invokeFinalize(System.java:1213)
>         at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
>         at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
>         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
> [18:55:52,079][ERROR][Finalizer][RPC] RPC.stopProxy called on non proxy: class=com.sun.proxy.$Proxy67
> java.lang.IllegalArgumentException: not a proxy instance
>         at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:811)
>         at org.apache.hadoop.ipc.RPC.stopProxy(RPC.java:658)
>         at org.apache.hadoop.hdfs.DFSClient.closeConnectionToNamenode(DFSClient.java:904)
>         at org.apache.hadoop.hdfs.DFSClient.close(DFSClient.java:960)
>         at org.apache.hadoop.hdfs.DistributedFileSystem.close(DistributedFileSystem.java:902)
>         at org.apache.ignite.internal.util.IgniteUtils.closeQuiet(IgniteUtils.java:3411)
>         at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.close0(IgniteHadoopFileSystem.java:370)
>         at org.apache.ignite.hadoop.fs.v1.IgniteHadoopFileSystem.finalize(IgniteHadoopFileSystem.java:338)
>         at java.lang.System$2.invokeFinalize(System.java:1213)
>         at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:98)
>         at java.lang.ref.Finalizer.access$100(Finalizer.java:34)
>         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:210)
> [18:55:52,274][INFO ][Hadoop-task-9a3aa1f2-887a-49fd-88b0-4c0263486069_3-REDUCE-0-0-#152%null%][FileOutputCommitter] Saved output of task 'attempt_9a3aa1f2-887a-49fd-88b0-4c0263486069_0003_r_000000_0' to igfs://igfs@localhost/tmp/terasort/_temporary/0/task_9a3aa1f2-887a-49fd-88b0-4c0263486069_0003_r_000000



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