You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Kozlov (JIRA)" <ji...@apache.org> on 2015/12/16 21:07:46 UTC

[jira] [Comment Edited] (IGNITE-2158) Null values in output of CacheDummyStoreExample, CacheJdbcStoreExample and CacheSpringStoreExample

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

Sergey Kozlov edited comment on IGNITE-2158 at 12/16/15 8:07 PM:
-----------------------------------------------------------------

Yakov, I got failure when tried to build examples project w/o scala profile:
{noformat}
/usr/local/BuildAgent/work/b1f08d39c96b68d1/ggtest/var/apache-ignite-fabric-1.5.0-b2-bin/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/CacheJdbcStoreExample.java:[34,37] package org.apache.ignite.scalar.lang does not exist
[23:00:30][exec] [INFO] 1
{noformat}



was (Author: skozlov):
Yakov, I got failure when tried to buid examples project:
{noformat}
/usr/local/BuildAgent/work/b1f08d39c96b68d1/ggtest/var/apache-ignite-fabric-1.5.0-b2-bin/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/CacheJdbcStoreExample.java:[34,37] package org.apache.ignite.scalar.lang does not exist
[23:00:30][exec] [INFO] 1
{noformat}


> Null values in output of CacheDummyStoreExample, CacheJdbcStoreExample and CacheSpringStoreExample
> --------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-2158
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2158
>             Project: Ignite
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 1.5
>         Environment: OS X 10.10.2
> jdk 1.7
>            Reporter: Ilya Suntsov
>            Assignee: Yakov Zhdanov
>             Fix For: 1.5
>
>
> In output of the following examples there are fields that have 'null' or zero values (salary, orgId, resume ):
> 1.CacheDummyStoreExample
> {noformat}
> [16:48:47] Ignite node started OK (id=64a079ad)
> [16:48:47] Topology snapshot [ver=9, servers=3, clients=0, CPUs=8, heap=8.0GB]
> >>> Cache store example started.
> >>> Store loadCache for entry count: 100000
> >>> Loaded 100000 keys with backups in 971ms.
> Read value: null
> Overwrote old value: null
> Read value: Person [id=7754401276845136764, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> >>> Store put [key=7754401276845136764, val=Person [id=7754401276845136764, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null], xid=ab2b0c0a151-03aba62c-0000-0009-0000-0151a0c0307a]
> Read value after commit: Person [id=7754401276845136764, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> [16:48:48] Ignite node stopped OK [uptime=00:00:01:38]
> {noformat}
> 2. CacheJdbcStoreExample
> {noformat}
> [16:49:36] Ignite node started OK (id=f662db78)
> [16:49:36] Topology snapshot [ver=11, servers=3, clients=0, CPUs=8, heap=8.0GB]
> >>> Cache store example started.
> >>> Loaded 0 values into cache.
> >>> Loaded 1 keys with backups in 26ms.
> >>> Store load [key=8980561285181288706]
> Read value: null
> Overwrote old value: null
> Read value: Person [id=8980561285181288706, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> >>> Store write [key=8980561285181288706, val=Person [id=8980561285181288706, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]]
> Read value after commit: Person [id=8980561285181288706, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> [16:49:36] Ignite node stopped OK [uptime=00:00:00:182]
> {noformat}
> 3. CacheSpringStoreExample
> {noformat}
> [16:50:16] Ignite node started OK (id=670dd40a)
> [16:50:16] Topology snapshot [ver=13, servers=3, clients=0, CPUs=8, heap=8.0GB]
> >>> Cache store example started.
> >>> Loaded 0 values into cache.
> >>> Loaded 0 keys with backups in 33ms.
> Read value: null
> Overwrote old value: null
> Read value: Person [id=8312945083421167351, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> >>> Store write [key=8312945083421167351, val=Person [id=8312945083421167351, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]]
> Read value after commit: Person [id=8312945083421167351, orgId=null, lastName=Newton, firstName=Isaac, salary=0.0, resume=null]
> [16:50:16] Ignite node stopped OK [uptime=00:00:00:469]
> {noformat}



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