[GitHub] ignite pull request #3727: Improve OS config suggestions

2018-03-30 Thread reed-sandberg
GitHub user reed-sandberg opened a pull request:

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

Improve OS config suggestions

* Acknowledge SWAPPINESS reduction using a range (<= 10).

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

$ git pull https://github.com/reed-sandberg/ignite 
rsandberg/os-config-swappiness-check

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

https://github.com/apache/ignite/pull/3727.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 #3727


commit dcce08deb893254d72a13652c7a9411da45f2839
Author: Reed Sandberg <reed.sandberg@...>
Date:   2018-02-07T23:04:35Z

Improve OS config suggestions

* Acknowledge SWAPPINESS reduction using a range (<= 10).




---


[GitHub] ignite pull request #3726: IGNITE-6815 NPE when using expiry policy

2018-03-30 Thread reed-sandberg
GitHub user reed-sandberg opened a pull request:

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

IGNITE-6815 NPE when using expiry policy


* storeLoadedVal needs to be set at each branch of these conditionals
  or NPE in inevitible.


A recent update on this Jira says a related patch is available from:
https://issues.apache.org/jira/browse/IGNITE-5874

but this is a bit different - has been running in production successfully 
at our site with this fix.

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

$ git pull https://github.com/reed-sandberg/ignite 
rsandberg/IGNITE-6815-expiry-npe

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

https://github.com/apache/ignite/pull/3726.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 #3726


commit 181ec8d2ec928e0ceee418fc16c6148a2c1feea4
Author: Reed Sandberg <reed.sandberg@...>
Date:   2018-02-07T23:02:05Z

IGNITE-6815 NPE when using expiry policy

* storeLoadedVal needs to be set at each branch of these conditionals
  or NPE in inevitible.




---


[jira] [Created] (IGNITE-6815) "Unexpected exception during cache update" via NullPointerException thrown using TouchedExpiryPolicy

2017-11-01 Thread Reed Sandberg (JIRA)
Reed Sandberg created IGNITE-6815:
-

 Summary: "Unexpected exception during cache update" via 
NullPointerException thrown using TouchedExpiryPolicy
 Key: IGNITE-6815
 URL: https://issues.apache.org/jira/browse/IGNITE-6815
 Project: Ignite
  Issue Type: Bug
  Security Level: Public (Viewable by anyone)
  Components: cache, streaming
Affects Versions: 2.3, 2.2
 Environment: 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 
14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: LinuxMint
Description:Linux Mint 18.2 Sonya
Release:18.2
Codename:   sonya


Reporter: Reed Sandberg
Priority: Major


This is triggered when I apply an expiry on the cache during an import with 
StreamLoader, with no expiry on the cache, the import runs fine.

Somehow the following line of code is hit with val == null:
org/apache/ignite/internal/processors/cache/IgniteCacheOffheapManagerImpl.java:1253

Stack trace:

{noformat}
16:04:25.259 ERROR o.a.i.i.p.c.d.d.a.GridDhtAtomicCache -  
Unexpected exception during cache update
org.apache.ignite.IgniteException: Runtime failure on search row: 
org.apache.ignite.internal.processors.cache.tree.SearchRow@68a4e885
at 
org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree.invoke(BPlusTree.java:1632)
at 
org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.invoke(IgniteCacheOffheapManagerImpl.java:1201)
at 
org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl.invoke(IgniteCacheOffheapManagerImpl.java:343)
at 
org.apache.ignite.internal.processors.cache.GridCacheMapEntry.innerUpdate(GridCacheMapEntry.java:1693)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateSingle(GridDhtAtomicCache.java:2419)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.update(GridDhtAtomicCache.java:1882)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal0(GridDhtAtomicCache.java:1735)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.updateAllAsyncInternal(GridDhtAtomicCache.java:1627)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.sendSingleRequest(GridNearAtomicAbstractUpdateFuture.java:299)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.map(GridNearAtomicSingleUpdateFuture.java:483)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicSingleUpdateFuture.mapOnTopology(GridNearAtomicSingleUpdateFuture.java:443)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridNearAtomicAbstractUpdateFuture.map(GridNearAtomicAbstractUpdateFuture.java:248)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.update0(GridDhtAtomicCache.java:1116)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.invoke0(GridDhtAtomicCache.java:825)
at 
org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache.invoke(GridDhtAtomicCache.java:783)
at 
org.apache.ignite.internal.processors.cache.IgniteCacheProxyImpl.invoke(IgniteCacheProxyImpl.java:1338)
at 
org.apache.ignite.internal.processors.cache.GatewayProtectedCacheProxy.invoke(GatewayProtectedCacheProxy.java:1320)
at 
org.apache.ignite.stream.StreamTransformer.receive(StreamTransformer.java:45)
at 
org.apache.ignite.internal.processors.datastreamer.DataStreamerUpdateJob.call(DataStreamerUpdateJob.java:137)
at 
org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6631)
at 
org.apache.ignite.internal.processors.closure.GridClosureProcessor$2.body(GridClosureProcessor.java:967)
at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
at 
org.apache.ignite.internal.util.StripedExecutor$Stripe.run(StripedExecutor.java:505)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
at 
org.apache.ignite.internal.processors.cache.IgniteCacheOffheapManagerImpl$CacheDataStoreImpl.createRow(IgniteCacheOffheapManagerImpl.java:1253)
at 
org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.initResultOnCancelUpdate(GridCacheMapEntry.java:4267)
at 
org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateClosure.call(GridCacheMapEntry.java:4154)
at 
org.apache.ignite.internal.processors.cache.GridCacheMapEntry$AtomicCacheUpdateCl

[jira] [Created] (IGNITE-8141) Improve OS config suggestions: SWAPPINESS

2018-04-04 Thread Reed Sandberg (JIRA)
Reed Sandberg created IGNITE-8141:
-

 Summary: Improve OS config suggestions: SWAPPINESS
 Key: IGNITE-8141
 URL: https://issues.apache.org/jira/browse/IGNITE-8141
 Project: Ignite
  Issue Type: Improvement
  Components: documentation
Affects Versions: 2.4
Reporter: Reed Sandberg
Assignee: Reed Sandberg


Acknowledge suggested SWAPPINESS OS param adjustment using a range (<= 10).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)