You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vasilisa Sidorova (JIRA)" <ji...@apache.org> on 2015/10/23 15:39:27 UTC

[jira] [Created] (IGNITE-1782) IgniteKernal get wrong message in the log about set marshaller

Vasilisa  Sidorova created IGNITE-1782:
------------------------------------------

             Summary: IgniteKernal get wrong message in the log about set marshaller
                 Key: IGNITE-1782
                 URL: https://issues.apache.org/jira/browse/IGNITE-1782
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 1.5
         Environment: Ubuntu 14.04, Apache Ignite 1.5.0 build #42, rev. 0bc1d6f42e637e5bfc45aa99fdcb68fc7896ef4e
            Reporter: Vasilisa  Sidorova
             Fix For: 1.5


---------------------------------------------
DESCRIPTION
---------------------------------------------
This issue have funny essence: when marshaller set into optimized IgniteKernal doesn't get any message about marshaller into log. But when marshaller set into another type IgniteKernal get message "set 'marshaller' to OptimizedMarshaller"
---------------------------------------------
STEPS FOR REPRODUCE
---------------------------------------------
# Build examples project
# Run, for example, ExampleNodeStartup with VM option "-DIGNITE_QUIET=false"  
# Actual result: there isn't any message about type of marshaller (Is it expected result?)
# Stop node
# In the example-ignite.xml change property from:
{noformat}
<property name="marshaller">
            <bean class="org.apache.ignite.marshaller.optimized.OptimizedMarshaller"> -->
                <!-- Set to false to allow non-serializable objects in examples, default is true. -->
                <!-- <property name="requireSerializable" value="false"/>
            </bean>
        </property>
{noformat}
to (for example)
{noformat}
<property name="marshaller">
            <bean class=" org.apache.ignite.internal.portable.api.PortableMarshaller"/>
        </property>
{noformat}
# Start node VM option "-DIGNITE_QUIET=false"  once again
---------------------------------------------
ACTUAL RESULT
---------------------------------------------
There is message in the log:
{noformat}
[15:57:45,260][INFO ][main][IgniteKernal]   ^-- Enable optimized marshaller (set 'marshaller' to OptimizedMarshaller)
{noformat}
---------------------------------------------
EXPECTED RESULT
---------------------------------------------
Undefined: there is shoudln't be any message in the log about marshaller? Or there is should be message about optimized marshaller is disabled? Or something else?



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