Re: Caused by: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type: UserAppInfo

2017-12-02 Thread kcheng.mvp
by the way, here is my maven dependency. the unit test starts two server node local and a client node. org.apache.ignite ignite-core ${ignite.version} org.apache.ignite ignite-spring ${ignite.version}

Caused by: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type: UserAppInfo

2017-12-02 Thread kcheng.mvp
I run into this issue, cache.put/cache.get works well. here is my configuration. http://www.springframework.org/schema/beans; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd

Re: Are there any access control for ignite rest api

2017-12-08 Thread kcheng.mvp
Thank you, I will have a try -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: Caused by: class org.apache.ignite.internal.processors.query.IgniteSQLException: Failed to find SQL table for type: UserAppInfo

2017-12-08 Thread kcheng.mvp
thank you very much. as I had the settings as below, ignite should have enough information to figure out key and value type,right? @QuerySqlField(index = true) private String appId; @QuerySqlField(index = true) private String uid; -- Sent from:

is these correct?

2018-06-29 Thread kcheng.mvp
here is the environment : 1 server node + 1 client node executed below code === IgniteCache igniteCache = igniteSpringBean.getOrCreateCache("HappyFlow"); igniteCache.put("hello", "hello1"); Assert.assertEquals("hello1",igniteCache.get("hello"));

Re: Please Subscribe me

2018-06-29 Thread kcheng.mvp
Thank you very much! I can see my post now. by the way, can you take a look about my question? http://apache-ignite-developers.2346864.n4.nabble.com/is-these-correct-td32111.html -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Add cluster (de)activation events IGNITE-8376

2018-07-02 Thread kcheng.mvp
Dear igniters,I am going to pick up https://issues.apache.org/jira/browse/IGNITE-8376, and did some research based on the comments.based on my understanding, if we want to know this action is triggered by which way(rest, mbean, auto or visocmd) then we need to change the core method's signature.I

Re: is these correct?

2018-07-02 Thread kcheng.mvp
Hi dkarachentsev, oh, my fault. I did not notice this part when I look through the document. I am supposed to post such question to user mail list. Thank you very much. -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: MTCGA: new failures in builds [1485687] needs to be handled

2018-07-16 Thread kcheng.mvp
I checked the source code and found that this issue may be caused by this line org.apache.ignite.internal.processors.cache.GridCacheProcessor #1452 CacheEvictionManager evictMgr = (nearEnabled || cfg.isOnheapCacheEnabled()) ? new GridCacheEvictionManager() : new CacheOffheapEvictionManager();

Why GridCacheEvictionManager always use cfg.getEvictionPolicy/cfg.getEvictionPolicyFactory even there is NearEvictionPolicy configured?

2018-07-04 Thread kcheng.mvp
As the method *org.apache.ignite.internal.processors.cache.GridCacheAdapter#isNear* always returns false, it will make the near cache eviction policy don't take effect. Here is the code from *org.apache.ignite.internal.processors.cache.GridCacheEvictionManager#start0*. is this an expected behavior

Re: PR for https://issues.apache.org/jira/browse/IGNITE-8956

2018-07-08 Thread kcheng.mvp
Dear igniters, does anyone can help do the code review? As this ticket is created by myself, I need someone else to help me do the code review. Thanks, kcmvp -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: Platform .NET (Core Linux) Exit code 1 (new) On TeamCity

2018-07-06 Thread kcheng.mvp
In the console of TeamCity, I noticed some message Some dependencies of this build are hanging: … Platform .NET (Core Linux), build #1094 it's hanging about 20 hours. is there anyway to cancel or stop it? -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

PR Reivew https://github.com/apache/ignite/pull/4300

2018-07-10 Thread kcheng.mvp
Dear igniters, please help do the code review for jira https://issues.apache.org/jira/browse/IGNITE-8776 https://github.com/apache/ignite/pull/4300 Thanks, kcheng.mvp -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: Platform .NET (Core Linux) Exit code 1 (new) On TeamCity

2018-07-06 Thread kcheng.mvp
Eventually, everything is green! https://ci.ignite.apache.org/viewLog.html?buildId=1462771=buildResultsDiv=IgniteTests24Java8_RunBasicTests thank you all very much! -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

PR for https://issues.apache.org/jira/browse/IGNITE-8956

2018-07-07 Thread kcheng.mvp
Hi Dmitriy Govorukhin, I have fixed the javadoc error, can you please review the PR? -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Platform .NET (Core Linux) Exit code 1 (new) On TeamCity

2018-07-05 Thread kcheng.mvp
I have triggered my tests many times on TeamCity. every time I get the same result. Platform .NET (Core Linux) pull/4300/head #1109 Exit code 1 (new) https://ci.ignite.apache.org/viewLog.html?buildId=1460429=buildResultsDiv=IgniteTests24Java8_RunBasicTests. I checked the history of

Re: PR Reivew https://github.com/apache/ignite/pull/4300

2018-07-12 Thread kcheng.mvp
Here is the latest TC result The high-lighted part shows as "no changes", which mean my changes would not cause the failure, right? https://ci.ignite.apache.org/viewLog.html?buildId=1480732=buildResultsDiv=IgniteTests24Java8_RunAll

Re: Add cluster (de)activation events IGNITE-8376

2018-07-09 Thread kcheng.mvp
I left a comments on jira. can you clarify it,please? -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: DiscoverySpi based on Apache ZooKeeper

2018-03-07 Thread kcheng.mvp
There is a section in the document https://apacheignite.readme.io/docs/cluster-config#zookeeper-based-discovery. but I found below two tickets. https://issues.apache.org/jira/browse/IGNITE-1203 https://issues.apache.org/jira/browse/IGNITE-7222 I am a bit confused about which version supports

java.lang.ClassCastException: org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl cannot be cast to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryEx

2018-09-23 Thread kcheng.mvp
I ran into this error with below configuration(IgniteSpringBean) I set * defaultDataRegionConfiguration* as * * for unit test. If I set this to true then everything goes well.

Re: java.lang.ClassCastException: org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl cannot be cast to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryEx

2018-09-23 Thread kcheng.mvp
please see the screenshot, I have three data region definition. the default region persistence setting is false, the other two are true. -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: About work around for https://issues.apache.org/jira/browse/IGNITE-5795

2018-09-23 Thread kcheng.mvp
Thank you very much! -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: java.lang.ClassCastException: org.apache.ignite.internal.pagemem.impl.PageMemoryNoStoreImpl cannot be cast to org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryEx

2018-09-23 Thread kcheng.mvp
I am using springboot + ignite. it's very simple. you can reproduce this issue with below code Bean definition - @Bean public CommandLineRunner commandLineRunner(@Autowired ApplicationContext context) { return args -> {

java.lang.IllegalAccessError: tried to access field org.h2.util.LocalDateTimeUtils.LOCAL_DATE from class org.apache.ignite.internal.processors.query.h2.H2DatabaseType

2018-12-09 Thread kcheng.mvp
There are total 82 unite test for my system. this unit test works well in ignite 2.6. when I switch to ignite 2.7, I got below error for my unit tests I logged a ticket here https://issues.apache.org/jira/browse/IGNITE-10612 java.lang.IllegalAccessError: tried to access field

how to use kafka 2.0 in ignite-kafka

2018-09-16 Thread kcheng.mvp
Is there any plan to migrate kafka 2.0 in ignite-kafka? -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

About work around for https://issues.apache.org/jira/browse/IGNITE-5795

2018-09-18 Thread kcheng.mvp
I ran into the same issue as http://apache-ignite-users.70518.x6.nabble.com/SQL-SELECT-with-AffinityKeyMapped-no-results-td23141.html#a24232 from the document https://apacheignite.readme.io/docs/affinity-collocation, there are two ways to achieve *Affinity*. I would like to confirm that use

Re: About work around for https://issues.apache.org/jira/browse/IGNITE-5795

2018-09-18 Thread kcheng.mvp
I checked the source code just now and found *AffinityKey* is using *@AffinityKeyMapped* that's to say *AffinityKey* has the same issue. am I right? -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Re: how to use kafka 2.0 in ignite-kafka

2018-09-17 Thread kcheng.mvp
Thank you very much! I just wondering is there any way to decouple with the kafka version. As right now it was bound tightly api call directly. -- Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

[jira] [Created] (IGNITE-3204) java.lang.NoClassDefFoundError: org/h2/constant/SysProperties

2016-05-26 Thread kcheng.mvp (JIRA)
kcheng.mvp created IGNITE-3204: -- Summary: java.lang.NoClassDefFoundError: org/h2/constant/SysProperties Key: IGNITE-3204 URL: https://issues.apache.org/jira/browse/IGNITE-3204 Project: Ignite

[jira] [Created] (IGNITE-8956) Javadoc Warnings:core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateManager.java:1271: warning - @inheritDoc used but check() does not override or im

2018-07-06 Thread kcheng.mvp (JIRA)
kcheng.mvp created IGNITE-8956: -- Summary: Javadoc Warnings:core/src/main/java/org/apache/ignite/internal/processors/cache/WalStateManager.java:1271: warning - @inheritDoc used but check() does not override or implement any method

[jira] [Created] (IGNITE-10612) java.lang.IllegalAccessError: tried to access field org.h2.util.LocalDateTimeUtils.LOCAL_DATE from class org.apache.ignite.internal.processors.query.h2.H2DatabaseType

2018-12-09 Thread kcheng.mvp (JIRA)
kcheng.mvp created IGNITE-10612: --- Summary: java.lang.IllegalAccessError: tried to access field org.h2.util.LocalDateTimeUtils.LOCAL_DATE from class org.apache.ignite.internal.processors.query.h2.H2DatabaseType Key: IGNITE-10612

[jira] [Created] (IGNITE-10501) javax.cache.CacheException: Failed to execute map query on the node: fddb7640-dc6b-467b-989f-7ea799710a52, class java.lang.ArrayIndexOutOfBoundsException:null

2018-12-01 Thread kcheng.mvp (JIRA)
kcheng.mvp created IGNITE-10501: --- Summary: javax.cache.CacheException: Failed to execute map query on the node: fddb7640-dc6b-467b-989f-7ea799710a52, class java.lang.ArrayIndexOutOfBoundsException:null Key: IGNITE-10501

[jira] [Created] (IGNITE-11817) org.apache.ignite.client.ClientCache#removeAll() and org.apache.ignite.client.ClientCache#clear missed Java Doc

2019-04-26 Thread kcheng.mvp (JIRA)
kcheng.mvp created IGNITE-11817: --- Summary: org.apache.ignite.client.ClientCache#removeAll() and org.apache.ignite.client.ClientCache#clear missed Java Doc Key: IGNITE-11817 URL: https://issues.apache.org/jira