I verified the java version is the same. The interesting thing here is the code runs correctly if I disable persistence.
<property name="persistenceEnabled" value="false"/> I wonder whether there is an issue in enabling persistence or I am doing something wrong here. On Tue, Apr 3, 2018 at 12:12 PM, David Harvey <[email protected]> wrote: > PS. I'm actually remembering it was due to a mismatch of Java7 vs 8, > which does not make that much sense, because we have been running Java7 > clients recently with no issues. > > > > > On Tue, Apr 3, 2018 at 3:05 PM, David Harvey <[email protected]> wrote: > >> I had those "UNKNOWN PAIR" issues early on, and it seemed to be some kind >> of version problem, like the client was not running at the same rev. >> >> On Tue, Apr 3, 2018 at 2:15 PM, Supun Nakandala < >> [email protected]> wrote: >> >>> Hi all, >>> >>> I am trying to setup Apache Ignite with persistence enabled and facing a >>> deserialization failure when executing broadcast method with data storage >>> persistence enabled. >>> >>> The following code will recreate this problem: >>> >>> public static void main(String[] args) throws IOException { >>> final String CONFIG_PATH = "./config/example-ignite.xml"; >>> >>> Ignition.setClientMode(true); >>> try (Ignite ignite = Ignition.start(CONFIG_PATH)) { >>> ignite.active(true); >>> IgniteCompute compute = ignite.compute(ignite.cluster( >>> ).forRemotes()); >>> compute.broadcast(() -> System.out.println("Hello Node: " + >>> ignite.cluster().localNode().id())); >>> } >>> } >>> >>> Persistence configuration used in example-default.xml (everything else >>> is set to default) >>> >>> <!-- Enabling Apache Ignite native persistence. --> >>> <property name="dataStorageConfiguration"> >>> <bean class="org.apache.ignite.confi >>> guration.DataStorageConfiguration"> >>> <property name="defaultDataRegionConfiguration"> >>> <bean class="org.apache.ignite.confi >>> guration.DataRegionConfiguration"> >>> <property name="name" value="Default_Region"/> >>> <property name="persistenceEnabled" >>> value="true"/> >>> >>> <property name="initialSize" value="#{100L * >>> 1024 * 1024}"/> >>> <property name="maxSize" value="#{4L * 1024 * >>> 1024 * 1024}"/> >>> </bean> >>> </property> >>> </bean> >>> </property> >>> >>> I am using Apache Ignite 2.4.0. >>> >>> Your help for fixing this issue is greatly appreciated. >>> >>> Thank You >>> -Supun >>> >> >> > > > *Disclaimer* > > The information contained in this communication from the sender is > confidential. It is intended solely for use by the recipient and others > authorized to receive it. If you are not the recipient, you are hereby > notified that any disclosure, copying, distribution or taking action in > relation of the contents of this information is strictly prohibited and may > be unlawful. > > This email has been scanned for viruses and malware, and may have been > automatically archived by *Mimecast Ltd*, an innovator in Software as a > Service (SaaS) for business. Providing a *safer* and *more useful* place > for your human generated data. Specializing in; Security, archiving and > compliance. To find out more Click Here > <http://www.mimecast.com/products/>. >
