class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader

ignite 在启动的时候出现下面的错误信息:

2016-11-01 13:29:26:838  INFO IgniteKernal:475 - 
>>>    __________  ________________  
>>>   /  _/ ___/ |/ /  _/_  __/ __/  
>>>  _/ // (7 7    // /  / / / _/    
>>> /___/\___/_/|_/___/ /_/ /___/   
>>> 
>>> ver. 1.7.0#20160801-sha1:383273e3
>>> 2016 Copyright(C) Apache Software Foundation
>>> 
>>> Ignite documentation: http://ignite.apache.org
2016-11-01 13:29:26:838  INFO IgniteKernal:475 - Config URL: file:/D:/intelliJWork/main/service/quantservice/quant-data/target/classes/ignite/ignite-config.xml
2016-11-01 13:29:26:838  INFO IgniteKernal:475 - Daemon mode: off
2016-11-01 13:29:26:838  INFO IgniteKernal:475 - OS: Windows 7 6.1 amd64
2016-11-01 13:29:26:839  INFO IgniteKernal:475 - OS user: junmeng.xu
2016-11-01 13:29:26:839  INFO IgniteKernal:475 - Language runtime: Java Platform API Specification ver. 1.8
2016-11-01 13:29:26:839  INFO IgniteKernal:475 - VM information: Java(TM) SE Runtime Environment 1.8.0_45-b14 Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 25.45-b02
2016-11-01 13:29:26:839  INFO IgniteKernal:475 - VM total memory: 1.7GB
2016-11-01 13:29:26:839  INFO IgniteKernal:475 - Remote Management [restart: off, REST: on, JMX (remote: off)]
2016-11-01 13:29:26:840  INFO IgniteKernal:475 - IGNITE_HOME=null
2016-11-01 13:29:26:840  INFO IgniteKernal:475 - VM arguments: [-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:59049,suspend=y,server=n, -Dfile.encoding=UTF-8]
2016-11-01 13:29:26:840  INFO IgniteKernal:475 - Configured caches ['ignite-marshaller-sys-cache', 'ignite-sys-cache', 'ignite-atomics-sys-cache', 'cache_factor_hist', 'cache_factor_latest', 'cache_event_hist', 'cache_event_latest', 'cache_bts_hq_price_latest', 'cache_bts_hq_price_hist', 'cache_bts_price_arr_hist', 'cache_bts_price_arr_latest']
2016-11-01 13:29:26:840  WARN IgniteKernal:480 - Peer class loading is enabled (disable it in production for performance and deployment consistency reasons)
2016-11-01 13:29:26:857  WARN GridDiagnostic:480 - Initial heap size is 126MB (should be no less than 512MB, use -Xms512m -Xmx512m).
2016-11-01 13:29:28:285  INFO IgniteKernal:475 - Non-loopback local IPs: 192.168.1.43, 192.168.56.1, fe80:0:0:0:0:5efe:c0a8:12b%net4, fe80:0:0:0:0:5efe:c0a8:3801%net5, fe80:0:0:0:54e1:8d11:4e46:79b8%eth3, fe80:0:0:0:d5bc:d3ed:8287:44e0%eth5
2016-11-01 13:29:28:286  INFO IgniteKernal:475 - Enabled local MACs: 00000000000000E0, 08002700C481, 408D5C2903E8
2016-11-01 13:29:28:300  INFO IgnitePluginProcessor:475 - Configured plugins:
2016-11-01 13:29:28:300  INFO IgnitePluginProcessor:475 -   ^-- None
2016-11-01 13:29:28:300  INFO IgnitePluginProcessor:475 - 
2016-11-01 13:29:28:357  INFO TcpCommunicationSpi:475 - Successfully bound to TCP port [port=47100, locHost=0.0.0.0/0.0.0.0]
2016-11-01 13:29:29:489  WARN NoopCheckpointSpi:480 - Checkpoints are disabled (to enable configure any GridCheckpointSpi implementation)
2016-11-01 13:29:29:516  WARN GridCollisionManager:480 - Collision resolution is disabled (all jobs will be activated upon arrival).
2016-11-01 13:29:29:520  WARN NoopSwapSpaceSpi:480 - Swap space is disabled. To enable use FileSwapSpaceSpi.
2016-11-01 13:29:29:521  INFO IgniteKernal:475 - Security status [authentication=off, tls/ssl=off]
2016-11-01 13:29:29:792  INFO GridTcpRestProtocol:475 - Command protocol successfully started [name=TCP binary, host=0.0.0.0/0.0.0.0, port=11212]

2016-11-01 13:29:42:067 ERROR TcpDiscoverySpi:495 - Failed to read message [sock=Socket[addr=/192.168.100.42,port=47500,localport=59100], locNodeId=d2d66c62-5da6-42e8-a3dc-7b77d6b8ffab, rmtNodeId=bde475bd-9db1-4a6c-98b2-a175f05a74b8]
class org.apache.ignite.IgniteCheckedException: Failed to deserialize object with given class loader: sun.misc.Launcher$AppClassLoader@14dad5dc
at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:105)
at org.apache.ignite.spi.discovery.tcp.ClientImpl$SocketReader.body(ClientImpl.java:888)
at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2328)
at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3067)
at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2867)
at java.io.ObjectInputStream.readString(ObjectInputStream.java:1639)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1342)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at org.apache.ignite.internal.util.IgniteUtils.readMap(IgniteUtils.java:5012)
at org.apache.ignite.spi.discovery.tcp.internal.TcpDiscoveryNode.readExternal(TcpDiscoveryNode.java:598)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1840)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1799)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at java.util.ArrayList.readObject(ArrayList.java:791)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2564)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2579)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2547)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2579)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2547)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2579)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2579)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2547)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2579)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2579)
at java.util.TreeMap.buildFromSorted(TreeMap.java:2504)
at java.util.TreeMap.readObject(TreeMap.java:2450)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1896)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1993)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1918)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1801)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:371)
at org.apache.ignite.marshaller.jdk.JdkMarshaller.unmarshal(JdkMarshaller.java:102)
... 2 more

原因是:本地的虚拟机虽然关闭了,但是虚拟网卡还是存在的(192.168.56.1),导致一直连接不上ignite集群!!!把虚拟网卡禁掉即可解决这个问题。

还是不行的话,直接就把虚拟机给卸载了!!


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
This book covers a verity of topics, including in-memory data grid, highly available service grid, streaming (event processing for IoT and fast data) and in-memory computing use cases from high-performance computing to get performance gains. The book will be particularly useful for those, who have the following use cases: You have a high volume of ACID transactions in your system. You have database bottleneck in your application and want to solve the problem. You want to develop and deploy Microservices in a distributed fashion. You have an existing Hadoop ecosystem (OLAP) and want to improve the performance of map/reduce jobs without making any changes in your existing map/reduce jobs.. You want to share Spark RDD directly in-memory (without storing the state into the disk), which can dramatically increase the performance of the Spark jobs. You are planning to migrate to microservices and the web session clustering is the problem for you. You are planning to process continuous never-ending streams and complex events of data in a scalable and fault-tolerant fashion. You want to use distributed computations in parallel fashion to gain high performance, low latency, and linear scalability. You want to accelerate applications performance without changing code. What you will learn: In-memory data fabrics use-cases and how it can help you to develop near real-time applications. In-memory data fabrics detail architecture. Caching strategies and how to use In-memory caching to improve the performance of the applications. SQL grid for in-memory caches. How to accelerates the performance of your existing Hadoop ecosystem without changing any code. Sharing Spark RDD states between different Spark applications for improving performance. Processing events & streaming data, integrate Apache Ignite with other frameworks like Storm, Camel, etc. Using distributed computing for building low-latency software. Developing distributed Microservices in fault-tolerant fashion. For every topic, a complete application is delivered, which will help the audience to quick start with the topic. The book is a project-based guide, where each chapter focuses on the complete implementation of a real-world scenario, the commonly occurring challenges in each scenario has also discussed, along with tips and tricks and best practices on how to overcome them. Every chapter is independent and a complete project.
提供的源码资源涵盖了Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码中配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 适合毕业设计、课程设计作业。这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课外项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此外,在求职或创业过程中,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码中的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。 所有源码均经过严格测试,可以直接运行,可以放心下载使用。有任何使用问题欢迎随时与博主沟通,第一时间进行解答!

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值