Re: Reassign partitions

2016-09-10 Thread wetnose
Hi,

I've created a test project for you
https://dl.dropboxusercontent.com/u/46370629/localstore-example.zip

Please, find readme.txt in the archive.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Reassign-partitions-tp7461p7659.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Trouble with Using Ignite 1.8 ODBC Driver

2016-09-10 Thread amitpa
Hi All,

We are trying to use Ignite ODBC Driver with DSN. We could build it fine and
install it.
We have built and compiled the Ignite 1.8 SNAPHOT from github as we saw that
the fix is in 1.8.


However when trying to create a DSN from the driver it throws an error:- 

"The setup routines for Apache Ignite driver could not be found"

Is there some step we need to do before we create the DSN?

Other details :-

1) We are using JAVA 1.8
2) VS Studio 2015
3) 64 bit version of JVM and SLN.
4) used install_amd64.







--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Trouble-with-Using-Ignite-1-8-ODBC-Driver-tp7656.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: Finding Key to Node Mapping

2016-09-10 Thread Alper Tekinalp
Hi.

We have server apps that starts as ignite server instance and we have
client apps that connect cluster as client nodes. These client applications
can start and stop regularly we only use key to node mapping in that client
applications. But we are having issues like:

http://apache-ignite-users.70518.x6.nabble.com/Connecting-Amazon-cluster-with-client-from-local-td3453.html#a3464
http://apache-ignite-users.70518.x6.nabble.com/Client-Connecting-Issues-td6582.html#a6601

etc.

I think of implementing an abstract cluster model that servers will use
ignite cluster and clients won't join the ignite cluster but only connect
servers with a port. I will push server cluster changes to clients. Only
requirement for clients to know key to node mapping.

I hope I could explain it correctly.

Regards.

On Sat, Sep 10, 2016 at 1:41 PM, Taras Ledkov  wrote:

> Hi,
>
> Please provide any additional details about your case if it is possible.
>
> In general the answer is not. Because the mapping is based on cluster
> topology.
> Affinity functions uses information about nodes IDs and nodes order.
>
>
> On Sat, Sep 10, 2016 at 5:29 PM, Alper Tekinalp  wrote:
>
>> Hi all.
>>
>> It might be a silly question but is it possible to find cache key to node
>> mapping without starting an ignite instance (server or client)? I use
>> FairAffinityFucntion as affinity function?
>>
>>
>> Regards.
>>
>> --
>>
>> *Alper Tekinalp*
>>
>>
>> *Software Developer*
>>
>>
>> *Evam ​Stream Analytics*
>>
>> *Atatürk Mah.Turgut Özal Bulvarı Gardenya 1 Plaza 42/B K:4 Ataşehir /
>> İSTANBUL*
>>
>> *Tlf : +90216 688 45 46 <%2B90216%20688%2045%2046> Fax : +90216 688 45 47
>> <%2B90216%20688%2045%2047> Gsm:+90 536 222 76 01
>> <%2B90%20553%20489%2044%2099>*
>> *www.evam.com *
>> 
>>
>
> --
>
> Taras Ledkov
> Mail-To: tled...@gridgain.com
>
>


-- 

*Alper Tekinalp*


*Software Developer*


*Evam ​Stream Analytics*

*Atatürk Mah.Turgut Özal Bulvarı Gardenya 1 Plaza 42/B K:4 Ataşehir /
İSTANBUL*

*Tlf : +90216 688 45 46 <%2B90216%20688%2045%2046> Fax : +90216 688 45 47
<%2B90216%20688%2045%2047> Gsm:+90 536 222 76 01
<%2B90%20553%20489%2044%2099>*
*www.evam.com *



Re: Finding Key to Node Mapping

2016-09-10 Thread Taras Ledkov
Hi,

Please provide any additional details about your case if it is possible.

In general the answer is not. Because the mapping is based on cluster
topology.
Affinity functions uses information about nodes IDs and nodes order.


On Sat, Sep 10, 2016 at 5:29 PM, Alper Tekinalp  wrote:

> Hi all.
>
> It might be a silly question but is it possible to find cache key to node
> mapping without starting an ignite instance (server or client)? I use
> FairAffinityFucntion as affinity function?
>
>
> Regards.
>
> --
>
> *Alper Tekinalp*
>
>
> *Software Developer*
>
>
> *Evam ​Stream Analytics*
>
> *Atatürk Mah.Turgut Özal Bulvarı Gardenya 1 Plaza 42/B K:4 Ataşehir /
> İSTANBUL*
>
> *Tlf : +90216 688 45 46 <%2B90216%20688%2045%2046> Fax : +90216 688 45 47
> <%2B90216%20688%2045%2047> Gsm:+90 536 222 76 01
> <%2B90%20553%20489%2044%2099>*
> *www.evam.com *
> 
>

-- 

Taras Ledkov
Mail-To: tled...@gridgain.com


Finding Key to Node Mapping

2016-09-10 Thread Alper Tekinalp
Hi all.

It might be a silly question but is it possible to find cache key to node
mapping without starting an ignite instance (server or client)? I use
FairAffinityFucntion as affinity function?


Regards.

-- 

*Alper Tekinalp*


*Software Developer*


*Evam ​Stream Analytics*

*Atatürk Mah.Turgut Özal Bulvarı Gardenya 1 Plaza 42/B K:4 Ataşehir /
İSTANBUL*

*Tlf : +90216 688 45 46 <%2B90216%20688%2045%2046> Fax : +90216 688 45 47
<%2B90216%20688%2045%2047> Gsm:+90 536 222 76 01
<%2B90%20553%20489%2044%2099>*
*www.evam.com *



Re: Couchbase as persistent store

2016-09-10 Thread kvipin
Thanks val, I've fixed it. Now I'm getting following *exception while running
my test program:
*
[06:00:01] Security status [authentication=off, tls/ssl=off]
[06:00:03] Performance suggestions for grid  (fix if possible)
[06:00:03] To disable, set -DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[06:00:03]   ^-- Disable peer class loading (set 'peerClassLoadingEnabled'
to false)
[06:00:03]   ^-- Enable ATOMIC mode if not using transactions (set
'atomicityMode' to ATOMIC)
[06:00:03]   ^-- Disable fully synchronous writes (set
'writeSynchronizationMode' to PRIMARY_SYNC or FULL_ASYNC)
[06:00:03]
[06:00:03] To start Console Management & Monitoring run
ignitevisorcmd.{sh|bat}
[06:00:03]
[06:00:03] Ignite node started OK (id=587c3c96)
[06:00:03] Topology snapshot [ver=1, servers=1, clients=0, CPUs=32,
heap=0.5GB]
[06:00:13] New version is available at ignite.apache.org: 1.7.0
[06:00:15,057][SEVERE][tcp-disco-msg-worker-#2%null%][TcpDiscoverySpi]
Failed to marshal discovery data [comp=1, data=DynamicCacheChangeBatch
[reqs=[DynamicCacheChangeRequest
[deploymentId=fe50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=1, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=1,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=150, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=o.a.i.cache.affinity.rendezvous.RendezvousAffinityFunction@12299890,
cacheMode=REPLICATED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=2147483647, invalidate=false,
tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-2,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=false, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=o.a.i.i.processors.cache.GridCacheDefaultAffinityKeyMapper@5c18016b,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=o.a.i.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null], cacheType=UTILITY,
initiatingNodeId=null, nearCacheCfg=null, clientStartOnly=false, stop=false,
close=false, failIfExists=false, template=false,
rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30, exchangeNeeded=false,
cacheFutTopVer=null, cacheName=ignite-sys-cache], DynamicCacheChangeRequest
[deploymentId=0f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=ignite-atomics-sys-cache,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=1, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=1,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=150, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=null, storeKeepBinary=false, loadPrevVal=false,
aff=o.a.i.cache.affinity.rendezvous.RendezvousAffinityFunction@1522d8a0,
cacheMode=PARTITIONED, atomicityMode=TRANSACTIONAL,
atomicWriteOrderMode=null, backups=0, invalidate=false,
tmLookupClsName=null, rebalanceMode=SYNC, rebalanceOrder=-1,
rebalanceBatchSize=524288, rebalanceBatchesPrefetchCount=2,
offHeapMaxMem=-1, swapEnabled=false, maxConcurrentAsyncOps=500,
writeBehindEnabled=false, writeBehindFlushSize=10240,
writeBehindFlushFreq=5000, writeBehindFlushThreadCnt=1,
writeBehindBatchSize=512, memMode=ONHEAP_TIERED,
affMapper=o.a.i.i.processors.cache.GridCacheDefaultAffinityKeyMapper@5644dc81,
rebalanceDelay=0, rebalanceThrottle=0, interceptor=null,
longQryWarnTimeout=3000, readFromBackup=true,
nodeFilter=o.a.i.configuration.CacheConfiguration$IgniteAllNodesPredicate@2a7ed1f,
sqlSchema=null, sqlEscapeAll=false, sqlOnheapRowCacheSize=10240,
snapshotableIdx=false, cpOnRead=true, topValidator=null],
cacheType=INTERNAL, initiatingNodeId=null, nearCacheCfg=null,
clientStartOnly=false, stop=false, close=false, failIfExists=false,
template=false, rcvdFrom=587c3c96-0254-44bf-94d7-7abfaee0ba30,
exchangeNeeded=false, cacheFutTopVer=null,
cacheName=ignite-atomics-sys-cache], DynamicCacheChangeRequest
[deploymentId=2f50a831751-4bc0a4f8-b6d8-40c8-ab49-ae4411be6b5e,
startCfg=CacheConfiguration [name=TestTable1,
storeConcurrentLoadAllThreshold=5, rebalancePoolSize=2,
rebalanceTimeout=1, evictPlc=null, evictSync=false,
evictKeyBufSize=1024, evictSyncConcurrencyLvl=4, evictSyncTimeout=1,
evictFilter=null, evictMaxOverflowRatio=10.0, eagerTtl=true,
dfltLockTimeout=0, startSize=150, nearCfg=null, writeSync=FULL_SYNC,
storeFactory=javax.cache.configuration.FactoryBuilder$SingletonFactory@2a3888c1,
storeKeepB

Query does not include objects added into Cache from within a transaction

2016-09-10 Thread UCDeveloper
Hi,

I am using ignite cache in transactional mode. When I do a query on the
cache from within the transaction, the query results do not include the
objects put into the cache from within the transaction, even though the
query is fired from within the same transaction. The objects appear in the
query results only after the transaction is committed. Is there any way I
can get Ignite to include the uncommitted objects of the same transaction in
the query results ? I need to use the cache in transactional mode so that if
there are any issues I can rollback and bring the cache to the original
state before the transaction.

Thanks




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Query-does-not-include-objects-added-into-Cache-from-within-a-transaction-tp7651.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.


Re: how to setting Zeppelin jdbc in ignite interpreter

2016-09-10 Thread Chris
For me it works with these settings:

ignite.addresses:  127.0.0.1:47500..47509
ignite.clientMode:   true
ignite.config.url:  
ignite.jdbc.url:   jdbc:ignite:cfg://default-ignite-jdbc.xml
ignite.peerClassLoadingEnabled: true

for
Zeppelin version: 0.6.1



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/how-to-setting-Zeppelin-jdbc-in-ignite-interpreter-tp7630p7650.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.