[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-09-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-1371:


Github user irudyak closed the pull request at:

https://github.com/apache/ignite/pull/172


> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-06-03 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Guys,

I think it makes sense to update "Persistent Store" documentation page 
https://apacheignite.readme.io/v1.6/docs/persistent-store#cachejdbcblobstore to 
include there a link to ignite-cassandra module documentation, cause it's 
actually one more implementation of "Persistent Store".

What do you think?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-06-02 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Guys,

I published all the documentation for the feature on 
https://apacheignite.readme.io. It could be found under "Cassandra integration" 
category. Here is the link to main page: 
https://apacheignite.readme.io/docs/overview

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-31 Thread Anton Vinogradov (JIRA)

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

Anton Vinogradov commented on IGNITE-1371:
--

Igor, 

Have you found some way to solve warning?
As you can see it fails this check:
http://149.202.210.143:8111/viewType.html?buildTypeId=IgniteTests_RatJavadoc&branch_IgniteTests=%3Cdefault%3E&tab=buildTypeStatusDiv

We should have a tool to detect real javadoc warnings without usage of JDK 8.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-30 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

I thought it was just 1.6 release candidate, but not final release. Actually 
things like that is just an improvement of already implemented feature. Anyway, 
I can create a separate issue for this or create a patch for release 1.6. As 
far as cassandra module now in Ingnite source code repository, just want to 
check what's the approach to add such kind of improvements?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-30 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

Igor, ignite-1.6 was released last week. We could include your changes in 
ignite-1.7 release.
But I think a separate issue should be created for this, because this 
particular ignite-1371 was logically finished as we merge cassandra store in 
ignite-1.6.
And now we are doing various improvements and  it will be a mess if we will put 
all in one-never-ending-issue.

What do you think?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-30 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Guys,

I just added AWS bootstrap scripts to spin up Cassandra/Ignite/Load Tests 
infrastructure of any size in Amazon. It also contains Ganglia monitoring for 
Ignite/Cassandra clusters. Changes are available in "ignite-1371" branch here: 
https://github.com/irudyak/ignite/tree/ignite-1371. I already merged all the 
changes with the latest version from upstream.

It would be great to include these changes into Ignite 1.6 release.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-30 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Thanks Anton, now I can run tests

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-30 Thread Anton Vinogradov (JIRA)

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

Anton Vinogradov commented on IGNITE-1371:
--

Igor, I've added you to users group.
Please check you can run tests.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-27 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Anton, my login is: irudyak

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-27 Thread Anton Vinogradov (JIRA)

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

Anton Vinogradov commented on IGNITE-1371:
--

Igor, I can add you to contributors group.
Please register and provide me your login.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-26 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Anton,

I can't login into this TeamCity using my Apache credentials. I assume that 
there should be created some user/password for me, to being able to login.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-26 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Anton,

That's because of "cassandra-all" dependency, cause it compiled using JDK 8. 
It's actually used only for unit tests to run Cassandra instance in the same 
process and is not included in Ignite distribution. Not sure that it's possible 
to fix this without JDK 8. Will try to check this.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-26 Thread Anton Vinogradov (JIRA)

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

Anton Vinogradov commented on IGNITE-1371:
--

Igor, 
I found following at Ignite 1.6 build log:

{code} [WARNING] Javadoc Warnings
 [WARNING] warning: 
/home/teamcity/.m2/repository/org/apache/cassandra/cassandra-all/3.3/cassandra-all-3.3.jar(org/apache/cassandra/service/CassandraDaemon.class):
 major version 52 is newer than 51, the highest major version supported by this 
compiler.
 [WARNING] It is recommended that the compiler be upgraded.{code} 

seems this warning related to this issue.  
Command to gain this is:
{code} mvn clean package -DskipTests{code} 
also you can use this TeamCity task: 
http://149.202.210.143:8111/viewType.html?buildTypeId=IgniteTests_RatJavadoc
Is it possible to fix it without using JDK 8?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-18 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Just opened a new ticket: https://issues.apache.org/jira/browse/IGNITE-3172


> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-18 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


[~irudyak], could you please open new tickets for the work, so [~kuaw26] 
comments are addressed? Thanks everyone for making it happen!

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-18 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

I do one more review, fixed minor problems (like missing ASF headers and typos) 
and merged into ignite-1.6.
But we need:
1) Create issue for refactoring of serializers as I mentioned in previous 
comment.
2) Create a test suite and configure it to run on ci.ignite.apache.org
3) Describe how this module could be manually tested.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-17 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


[~avinogradov] looks like the branch is ready to get merged, as I see it. It is 
rebased, reviewed and looks like no one is objecting the plan to address the 
serializer separation in the consequent JIRA. I can merge it in if you're 
dealing with other priorities. Would be happy to help.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-17 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Could you please clarify, what do you mean by "merge changes to ignite-1.6"?  I 
am not 100% sure about the git process.

I updated my version from the upstream https://github.com/apache/ignite  and 
merged my changes with it. Final result is available in "ignite-1371" branch in 
my github repository: https://github.com/irudyak/ignite/tree/ignite-1371

Is this what you need or there should be some extra steps performed?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-17 Thread Anton Vinogradov (JIRA)

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

Anton Vinogradov commented on IGNITE-1371:
--

Igor, 

Is there any chances to merge changes to ignite-1.6 today?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-16 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Guys, I commited all the latest changes related to performance improvements and 
load tests infrastructure bootstrap for AWS. Also merged them with "upstream" 
and pushed to "ignite-1371" branch: 
https://github.com/irudyak/ignite/tree/ignite-1371

Will add documentation for load tests infrastructure boostrap in AWS a bit 
later.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Fix For: 1.6
>
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-16 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


I believe it is a very good idea! But..., I would suggest to have the 
separation done as a follow up JIRA. This is really an improvement to provide 
for the pluggable compression modules. Clearly, a feature could be improved 
endlessly, but in the interest of progressing forward and avoiding bit-rot it 
would make sense to make smaller, reservable steps. While it won't always be 
perfect, smaller consequent improvements are superior to a single feature, that 
accounts for everything at once.

So, if current implementation is good, let's get it in and work on the 
compression separation in the next iteration. [~irudyak], could you please 
create a new ticket for that? Thanks!

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-16 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

In general I'm OK with current implementation except one thing - I'm not really 
like that ignite-cassandra requires Kryo as third-party dependency.
It is possible to refactor serializers to be pluggable? And introduce one more 
module, with name "ignite-cassandra-kryo"?
What do you think?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-15 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Guys, in a two days I am also going to commit some modifications related to:

1) Cassandra communications performance optimization to reuse already prepared 
statements
2) Better errors handling and retry logic for Cassandra communications under 
high load
3) Bootstrap scripts to automatically spin up load tests environment in AWS, 
run load tests and measure performance characteristics. It will be possible to 
automatically create Cassandra, Ignite and Load Tests clusters of any size in 
Amazon.


> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-05-15 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


Looks lke this JIRA has been silent for almost a month now. And it seems to be 
waiting a feedback from the reviewer. Would be nice to have it get going 
through the final steps of the process and get committed to avoid bit-rotting. 
[~kuaw26], do you mind taking another look to see if all your comments were 
addressed?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-04-20 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Alexey, I merged changes from you review into "ignite-1371" branch. Also made 
some minor refactoring of Unit tests and added comments regarding commented 
lines "CassandraHelper.dropTestKeyspaces()" in Load test classes.

Also added DDL generator utility. Here is documentation for it: 
https://github.com/irudyak/ignite/wiki/DDL-generator

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-04-18 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

Igor, I reviewed your latest changes. Nothing serious was found by be, just 
code style and a couple of suspicious commented lines. 
Compare with branch ignite-1371-review6 and apply changes where appropriate.

Will do deeper review with Val after you apply changes from my review.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-01-08 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Alexey,

I finished with items 4-5 and pushed everything into ignite-1371 branch. 

The only thing which wasn't refactored is the logic related to Serializers. I 
am not sure that fully understood your approach with Binary Marshaller. Are you 
suggesting just to use OptimizedMarshaller to serialize objects to BLOB? How 
about restrictions of Binary Marshaller 
(https://apacheignite.readme.io/docs/binary-marshaller)? How about forward and 
backward compatibility of Binary Marshaller serialization (which is for example 
supported by Kryo)? By the way, one of the useful features of Serializers 
approach - it could be used to secure sensitive data. Thus all the sensitive 
data from in-memory Ignite cache will be persisted into Cassandra in encrypted 
form. For this purpose you just need to implement your custom Serializer which 
implements data encryption/decryption.


> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2016-01-05 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Alexey,

Items 1-3 are done and merged into ignite-1371 branch. Also merged changed from 
your latest review ignite-1371-review4. Will finish with the rest of the items 
in a couple of days. 

According items 6-7:

1) Persistence settings hierarchy was designed to allow persists Ignite Cache 
key and value using different settings. For example key could be persisted as 
BLOB, which will be mapped to appropriate BLOB field in Cassandra table, but 
value could be persisted as POJO, which will be mapped to a set of appropriate 
fields (int, long, string and etc.) in Cassandra table. Thus, depending on the 
use-case there could be different variations of how to persist key and value to 
provide better performance or usability (for reporting tools).

2) PersistenceStrategy specifies how you want to persist you Ignite Cache key 
and value into Cassandra database:
- PRIMITIVE - could be used only for primitive Ignite Cache keys/values having 
simple java type (which could be directly mapped to appropriate Cassandra 
database type: int, long string, time and etc.). Thus Ignite Cache key/value 
will be save to appropriate Cassandra table filed having specific type 
compatible with java type (int, long, string and etc.)
- BLOB - Ignite Cache keys/values will be saved into appropriate Cassandra 
table field having BLOB type. Conversion of key/value into BLOB is controlled 
by serializer which is specified. By default JavaSerializer will be used, which 
just using standard Java serialization to convert object to BLOB.
- POJO - Stores each field of Ignite Cache key/value as a separate column in 
Cassandra table (having type which could be directly mapped to java type). 
Provides ability to utilize Cassandra secondary indexes for object fields. 
Could be used only for POJO objects following Java Beans convention.

Actually I also developed rather detailed documentation for the module (with 
lot's of sampes). You can find it in the wiki: 
https://github.com/irudyak/ignite/wiki

The same wiki URL was also added as a link to ignite-1371 feature and you can 
see it at the top of it.






> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-24 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

Igor,

Valentin Kulichenko reviewed your code and we have following points:

1) First of all please merge with latest master or ignite-1.5. In ignite-1.5 we 
introduced BinaryMarshaller that should be properly handled in store.
2) Please add more javadocs for Cassandra specific code (for example keyspace, 
tblOptions, keyspaceOptions) what for we need them, may be give a link to 
Cassandra docs.
3) KeyValuePersistenceSettings.keyspaceOptions - please describe why such 
default options were selected? And please move defaults to constant 
DFLT_propper_name.
4) CassandraCacheStoreFactory.persistenceSettings lets make these settings not 
transient, but serializable and also move all settings classes from util 
package to same package as store.
5) Also let's refactor persistence settings to be serializable and more simple 
(take a look at JdbsType of CacheJdbcPojoStorefactory) to be just a description 
of metadata. Move all serialization logic inside store.
6) Also persistence settings hierarchy looks a bit over engineered a lot of 
classes: KeyValuePersistenceSettings, KeyPersistenceSettings, 
ValuePersistenceSettings, PojoField, PojoKeyField, PojoValueField ... why we 
need such many classes? Is this cassandra specific? Why we need indexes in 
PojoValueField? Also may be we could rename classes to be looks like same 
classes in JdbcPojoStore? KeyValuePersistenceSettings -> CassandraTypes. 
KeyPersistenceSettings -> CassandraKeyType, and so on
7) What for we need PersistenceStrategy? now in Ignite-1.5 we have Binary 
marshaller as default marshaller and this marshaller already serialize objects 
as bytes, assuming this I think we could drop Serializers that were introduces 
(Java and Kryo).
8) Also what is the difference between PRIMITIVE and POJO modes in 
PersistenceStrategy?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-13 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

As for now, to execute unit tests you should have real Cassandra cluster (not 
embedded). To run unit/load tests against the cluster you just need to modify 
such test resources:

- org/apache/ignite/tests/cassandra/connection.properties - here you should 
specify Cassandra nodes which will be used as connection points to connect to 
Cassandra cluster (you can just randomly specify several nodes from your 
cluster).

org/apache/ignite/tests/cassandra/credentials.properties - here you should 
specify login/password to connect to Cassandra cluster.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-13 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


I haven't looked into the patch yet, but is embedded Cassandra test is the only 
way to test new functionality? Because if there are other test coverage in 
there, embedding Cassandra could be done as a separate ticket. 

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-13 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

According usage of embedded Cassandra for unit tests it's rather hard for me to 
provide estimations. I just found that it doesn't work out of the box, like in 
provided examples. I am rather busy now, so it could take some time to 
investigate the problem.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-13 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Alexey, according the checks for (log != null). The problem with this code 
occurs in a case when you are going to use Ignite in most basic configuration 
without using Spring framework (by configuring and running Ignite in your 
custom code). In a such case the code you written will produce 
NullPointerException.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-08 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

Igor, please also pull latest ignite-1.5 branch from upsteram to you barnch.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-08 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

Igor, I do one more review round.
All my changes in ignite-1371-review3 branch (I deleted old review branches).

Take a look at my changes.

And I would like to ask you to rework tests to be subclassed from 
GridCommonAbstractTest and implement Cassandra aware descendant of 
GridAbstractCacheStoreSelfTest.
This will allow to remove usage of Log4J in tests in favor of IgniteLogger 
(GridCommonAbstractTest has all needed functionality out-of-the-box).

Also I noticed (and removed) checks for (log != null). Logger is injected by 
grid. In case of tests if you write test without node you may inject with help 
getTestResources().inject(store);
See CacheJdbcPojoStoreTest.

And also, please give an estimation when you are planning to finish with 
embedded Cassandra in tests.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-05 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Alexey,

I merged all your changes into ignite-1371 branch. Also fixed all TODO items 
except one which you specified for CassandraSessionImpl.handleTableAbsenceError 
function.

The logic I implemented in this function is used to handle Cassandra table 
absence problem only by one thread. All other thread in a such situation should 
just wait until the problem will be fixed by the thread which first started 
doing this. After the problem is fixed, waiting threads will sequentially 
resume their execution and should skip handling table absence problem just 
returning their normal execution.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-12-03 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

Igor, 
I do second review.
All my changes in ignite-1371-review2 branch.
Take a look.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-11-18 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Added javadocs for all methods

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-11-15 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Hi guys,

Just completed with the documentation. Please find it here: 
https://github.com/irudyak/ignite/wiki

It will take for me some time to:
* Place javadocs for all the methods as **Alexey Kuznetsov** specified
* Rewrite unit tests to utilize embedded Cassandra as **Artem Shutak** specified

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-11-10 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Hi Alexey,

As we previously discussed I implemented "loadCache" method for 
org.apache.ignite.cache.store.cassandra.CassandraCacheStore in pretty much the 
same way it was implemented for JDBC - user just need to provide array of 
strings representing Cassandra CQL queries which will be used to extract data 
from Cassandra and put it into Ignite cache.

Actually such implementation is inefficient for warming-up cache with large 
amount of data. Looks like it's better to use IgniteDataStreamer as a standard 
approach for loading large amounts of data into cache.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-11-04 Thread Alexey Kuznetsov (JIRA)

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

Alexey Kuznetsov commented on IGNITE-1371:
--

I would like to review this pull request. Will add my comments shortly.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Alexey Kuznetsov
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-30 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


Yup, good point. Integration tests are tricky and shouldn't be unleashed 
without a good contemplation about the consequences.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-30 Thread Artem Shutak (JIRA)

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

Artem Shutak commented on IGNITE-1371:
--

Igor,

I am worried about unit tests especially about a requirement to have real 
Cassandra database. Could tests be rewritten with using embedded Cassandra? 
I've found a project [1] that has util-methods to start and stop embedded 
Cassandra (see [2]).

Will it work?

[1] https://github.com/jsevellec/cassandra-unit
[2] 
https://github.com/jsevellec/cassandra-unit/blob/master/cassandra-unit/src/main/java/org/cassandraunit/utils/EmbeddedCassandraServerHelper.java

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-22 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-1371:


GitHub user irudyak opened a pull request:

https://github.com/apache/ignite/pull/172

IGNITE-1371 implemented



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/irudyak/ignite ignite-1371

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/172.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #172


commit 3b5c293894446a3013804e8a475d4a687e8b56f3
Author: Igor 
Date:   2015-10-16T05:39:26Z

ignite 1371: Implemented.

commit a89daea495a32a7bd3ea3211f4376bda5d7b6e8d
Author: root 
Date:   2015-10-16T05:45:14Z

Merge branch 'master' into ignite-1371




> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-22 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Just created a new pull request: https://github.com/apache/ignite/pull/172

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-22 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Hi Artem,

Ok, I'll try to create new pull request. Here is some more details for your 
questions:

- All unit and load tests highly rely on the connection to Cassandra database, 
which should be specified in such test resources 
org/apache/ignite/tests/cassandra/connection.properties and 
org/apache/ignite/tests/cassandra/credentials.properties. By default credential 
settings is empty and all the tests will be skipped - just to prevent unit 
tests from failure if you don't have Cassandra database.

- If you just want to build 'cassandra' module, maven dependency is pretty 
enough. If you want to run unit and load tests you need to setup Cassandra and 
Ignite clusters.

- 'logs' folder is specified in log4j.properties configuration for tests, just 
to store all the load test logs in one place for users/developers convenience. 
If you don't want it - no problem, I can remove it from log4j.properties.

- Ok I'll take a look at GridAbstractTest and try to adopt unit tests for 
'cassandra' module to follow this design.

- The thing is that Cassandra uses ByteBuffer to store objects as BLOBs.

I need some time to think about maven command for unit tests. According to load 
tests - they are all executed by shell scripts from 'scripts' folder and test 
settings are specified in the test resource 'tests.properties'. 

As for now I am preparing wiki documentation which will describe lot's of 
details, including unit tests, load tests and other staff. Here is the link to 
draft version:  https://github.com/irudyak/ignite/wiki. It will take some time 
for me to finish with it. I'll let you know when it will be completed.

Oh year, one more thing - starting from tomorrow I'll be on vacation for two 
weeks and have limited access to internet. Thus my activity for this ticket 
will be rather low.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-22 Thread Artem Shutak (JIRA)

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

Artem Shutak commented on IGNITE-1371:
--

Hi Igor,

I don't know how to use your pull-request. Could you please create pull request 
from your fork to apache-ignite 'master'. In this way it could be possible to 
run TC plans for your PR.

I've reviewed your patch and has next comments.
- Could you please add comments at DEVNOTES how to build cassandra module and 
how to run tests. I've tried to run it from IDEA and got 
{{CassandraHelper.getAdminPassword().isEmpty()==true}}, so test do nothing - 
could you advice me here please (If no I will solve it by yourself, don't 
worry)?
- Should I have embeded version of Cassandra or maven dependency is enought?
- I think 'logs' folder is redundant.
- It would be nice if your tests would extend {{GridAbstractTest}}. It has 
start/stop grid methods, logger, hanging detection and printing stack-traces 
and etc. 
- Do we really need {{Serializer}} abstraction? Ignite already has 
{{Marshaller}} abstraction. Will it work in this case? Or Cassandra uses 
{{ByteBuffer}}s?
- About coding guidelines, you have pretty close coding style. To show what can 
be fixed I created 'review' commit and you can look on it here: 
https://github.com/ashutakGG/incubator-ignite/commit/9b178f1a75be6d0280dd4b14b29994a121239f67.

Also, I want to create separate TC plan for your tests. Could you advice proper 
maven command.

I will continue exploring your code.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-22 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

By the way, ignite-parent, ignite-mesos, ignite-yarn and other artifacts have 
dependency to JUnit 4 like this:


junit
junit
4.11
test


Does it mean that I can use JUnit4 dependency for tests, but just need to 
follow JUnit3 approach for writing unit tests (by not utilizing JUnit4 
annotation and etc.)?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-22 Thread Artem Shutak (JIRA)

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

Artem Shutak commented on IGNITE-1371:
--

Ignite test framework has lots of improvements and will be very hard to switch 
to JUnit3.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Dmitriy Setrakyan
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-21 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Also created pull request on GitHub: https://github.com/irudyak/ignite/pull/2

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-21 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


bq. Ignite use JUnit3 in all tests
Wow, it's like 1998 all over again. Shall we switch to JUnit4 (dependency wise, 
backward compatible with JUnit3) and start writing new tests in JUnit4 instead? 
Sticking to v3 seems a bit weird, honestly

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-21 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Sure, I'll fix unit tests to be JUnit3 compatible. 

According code styles, could you provide some more details about what is wrong 
with it? I tried to follow Ignite code conventions, but may be something was 
missed on my side. If you are using tool like "Sonar" to manage code quality 
you can just send me a link to the issues it found in my patch.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-21 Thread Artem Shutak (JIRA)

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

Artem Shutak commented on IGNITE-1371:
--

Hi Igor,

Thank you for contribution!

The patch will be deeply reviewed in a couple of days.

But on the top I have next comments:
- You need to fix code according to Ignite code styles (javadocs, abreviations 
and etc.). Please, see here: 
https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines
- I see you are using JUnit4 in your tests. Ignite use JUnit3 in all tests. So, 
I'm not sure that it will work as well and at second it looks inconsistent. 
Could you please use JUnit3 stile in tests?

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-15 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Source code is also available in GitHub repository using this link:  
https://github.com/irudyak/ignite/tree/ignite-1371

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-15 Thread tc_commenter (JIRA)

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

tc_commenter commented on IGNITE-1371:
--

There was triggered next test builds for last attached patch-file:
01. http://204.14.53.153/viewQueued.html?itemId=110462 - Ignite AOP
02. http://204.14.53.153/viewQueued.html?itemId=110463 - Ignite Basic
03. http://204.14.53.153/viewQueued.html?itemId=110464 - Ignite Cache
04. http://204.14.53.153/viewQueued.html?itemId=110465 - Ignite Cache 2
05. http://204.14.53.153/viewQueued.html?itemId=110466 - Ignite Cache 3
06. http://204.14.53.153/viewQueued.html?itemId=110467 - Ignite Cache 4
07. http://204.14.53.153/viewQueued.html?itemId=110468 - Ignite Cache Expiry 
Policy
08. http://204.14.53.153/viewQueued.html?itemId=110469 - Ignite Cache Failover
09. http://204.14.53.153/viewQueued.html?itemId=110470 - Ignite Cache Failover 
Multi JVM
10. http://204.14.53.153/viewQueued.html?itemId=110471 - Ignite Cache Failover2
11. http://204.14.53.153/viewQueued.html?itemId=110472 - Ignite Cache Full API
12. http://204.14.53.153/viewQueued.html?itemId=110473 - Ignite Cache Full API 
Multi JVM
13. http://204.14.53.153/viewQueued.html?itemId=110474 - Ignite Cache Full API 
Portable
14. http://204.14.53.153/viewQueued.html?itemId=110475 - Ignite Cache Portable
15. http://204.14.53.153/viewQueued.html?itemId=110476 - Ignite Cache Query 
Portable
16. http://204.14.53.153/viewQueued.html?itemId=110477 - Ignite Cache Restarts
17. http://204.14.53.153/viewQueued.html?itemId=110478 - Ignite Cache Tx 
Recovery
18. http://204.14.53.153/viewQueued.html?itemId=110479 - Ignite Cloud
19. http://204.14.53.153/viewQueued.html?itemId=110480 - Ignite Compute Grid
20. http://204.14.53.153/viewQueued.html?itemId=110481 - Ignite Data Strucutures
21. http://204.14.53.153/viewQueued.html?itemId=110482 - Ignite Examples
22. http://204.14.53.153/viewQueued.html?itemId=110483 - Ignite GCE
23. http://204.14.53.153/viewQueued.html?itemId=110484 - Ignite Geospacial 
Indexing
24. http://204.14.53.153/viewQueued.html?itemId=110485 - Ignite H2 Indexing
25. http://204.14.53.153/viewQueued.html?itemId=110486 - Ignite Hadoop
26. http://204.14.53.153/viewQueued.html?itemId=110487 - Ignite Hibernate
27. http://204.14.53.153/viewQueued.html?itemId=110488 - Ignite IGFS
28. http://204.14.53.153/viewQueued.html?itemId=110489 - Ignite IGFS Examples
29. http://204.14.53.153/viewQueued.html?itemId=110490 - Ignite IGFS Linux and 
MacOS
30. http://204.14.53.153/viewQueued.html?itemId=110491 - Ignite Java Client
31. http://204.14.53.153/viewQueued.html?itemId=110492 - Ignite JDBC Driver
32. http://204.14.53.153/viewQueued.html?itemId=110493 - Ignite JTA
33. http://204.14.53.153/viewQueued.html?itemId=110494 - Ignite Logging
34. http://204.14.53.153/viewQueued.html?itemId=110495 - Ignite Portables Basic
35. http://204.14.53.153/viewQueued.html?itemId=110496 - Ignite Queries
36. http://204.14.53.153/viewQueued.html?itemId=110497 - Ignite Scalar Examples
37. http://204.14.53.153/viewQueued.html?itemId=110498 - Ignite SPI
38. http://204.14.53.153/viewQueued.html?itemId=110499 - Ignite Spring
39. http://204.14.53.153/viewQueued.html?itemId=110500 - Ignite Start Nodes
40. http://204.14.53.153/viewQueued.html?itemId=110501 - Ignite URI Deploy SPI
41. http://204.14.53.153/viewQueued.html?itemId=110502 - Ignite Visor Console
42. http://204.14.53.153/viewQueued.html?itemId=110503 - Ignite WebSessions
43. http://204.14.53.153/viewQueued.html?itemId=110504 - JCache TCK


> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Igor Rudyak
> Attachments: master_02b59e4_ignite-1371.patch
>
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-13 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on IGNITE-1371:


[~irudyak], please take a look at 
https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+Home which 
will help you to find all the details about the development and contribution 
process to the project. It might be a little bit dry and a bit too complex at 
places, so please do not hesitate to subscribe to {{d...@ignite.apache.org}} 
and ask questions. Thanks!

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Alexandre Boudnik
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-10-13 Thread Igor Rudyak (JIRA)

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

Igor Rudyak commented on IGNITE-1371:
-

Work is done

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Affects Versions: ignite-1.4
>Reporter: Alexandre Boudnik
>Assignee: Alexandre Boudnik
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-09-21 Thread Alexandre Boudnik (JIRA)

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

Alexandre Boudnik commented on IGNITE-1371:
---

Hi Raúl,

Still working on this and hope I'll have working prototype very soon.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Reporter: Alexandre Boudnik
>Assignee: Alexandre Boudnik
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>
> It will provide ability to map particular cache holding POJOs to Cassandra 
> table. Later it would be generalized to support eventually any any Key-Value 
> store.



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


[jira] [Commented] (IGNITE-1371) Key-Value store (like Cassandra) as CacheStore

2015-09-20 Thread JIRA

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

Raúl Kripalani commented on IGNITE-1371:


Hi [~aboudnik],

Just wondering if you were working on this ticket.
Which DB are you integrating? If we aim to integrate several DBs, my guess is 
that we'll need one module for each (unless we use an abstraction like Spring 
Data, but that would slow things down).
Is it ok to scope this ticket to Cassandra only?

Thanks,
Raúl.

> Key-Value store (like Cassandra) as CacheStore
> --
>
> Key: IGNITE-1371
> URL: https://issues.apache.org/jira/browse/IGNITE-1371
> Project: Ignite
>  Issue Type: New Feature
>  Components: cache
>Reporter: Alexandre Boudnik
>Assignee: Alexandre Boudnik
>   Original Estimate: 504h
>  Remaining Estimate: 504h
>




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