Hibernate loadcache error?

2016-03-16 Thread Ravi Puri
i am unable to get rid of this error. tried with different jars and changes
in hibernate way to cache the data. Suggest some ways.

after this line of code it throws error.
 cache.loadCache(null,1);


[13:30:21,642][ERROR][ignite-#7%pub-null%][GridJobWorker] Failed to execute
job due to unexpected runtime exception
[jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl
[taskName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
dep=GridDeployment [ts=1458115221612, depMode=SHARED,
clsLdr=sun.misc.Launcher$AppClassLoader@35489ea3,
clsLdrId=41f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b, userVer=0,
loc=true,
sampleClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
pendingUndeploy=false, undeployed=false, usage=2],
taskClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
sesId=31f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
startTime=1458115221612, endTime=9223372036854775807,
taskNodeId=3f432c93-f420-4b1d-80b2-fd39610a481b,
clsLdr=sun.misc.Launcher$AppClassLoader@35489ea3, closed=false, cpSpi=null,
failSpi=null, loadSpi=null, usage=1, fullSup=false,
subjId=3f432c93-f420-4b1d-80b2-fd39610a481b, mapFut=IgniteFuture
[orig=GridFutureAdapter [resFlag=0, res=null, startTime=1458115221632,
endTime=0, ignoreInterrupts=false, lsnr=null, state=INIT]]],
jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b]]
java.lang.NoSuchMethodError:
org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;
at
org.apache.ignite.cache.store.hibernate.CacheHibernateStoreSessionListener.onSessionStart(CacheHibernateStoreSessionListener.java:178)
at
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.sessionInit0(GridCacheStoreManagerAdapter.java:818)
at
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.loadCache(GridCacheStoreManagerAdapter.java:479)
at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.localLoadCache(GridDhtCacheAdapter.java:515)
at
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.localLoadCache(IgniteCacheProxy.java:387)
at
org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:5716)
at
org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:5663)
at
org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1789)
at
org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:509)
at
org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6397)
at
org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:503)
at
org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:456)
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[13:30:21,648][ERROR][ignite-#7%pub-null%][GridTaskWorker] Failed to obtain
remote job result policy for result from ComputeTask.result(..) method (will
fail the whole task): GridJobResultImpl [job=C2 [], sib=GridJobSiblingImpl
[sesId=31f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
nodeId=3f432c93-f420-4b1d-80b2-fd39610a481b, isJobDone=false],
jobCtx=GridJobContextImpl
[jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b, timeoutObj=null,
attrs={}], node=TcpDiscoveryNode [id=3f432c93-f420-4b1d-80b2-fd39610a481b,
addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.17.122.126],
sockAddrs=[01HW611909.India.TCS.com/172.17.122.126:47500,
/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, /172.17.122.126:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1458115211249,
loc=true, ver=1.5.0#20151202-sha1:062d440c, isClient=false], ex=class
o.a.i.compute.ComputeUserUndeclaredException: Failed to execute job due to
unexpected runtime exception
[jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl
[taskName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
dep=GridDeployment [ts=1458115221612, depMode=SHARED,
clsLdr=sun.misc.Launcher$AppClassLoader@35489ea3,
clsLdrId=41f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b, userVer=0,
loc=true,
sampleClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
pendingUndeploy=false, undeployed=false, usage=2],
taskClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
sesId=31f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
startTime=1458115221612, endTime=9223372036854775807,
taskNodeId=3f432c93-f420-4b1d-80b2-fd39610a481b,

about mr accelerator question.

2016-03-16 Thread l...@runstone.com
Hi, 
I have been present a problem in the forum,the link is: 
http://apache-ignite-users.70518.x6.nabble.com/about-mr-accelerator-question-tc3502.html
I will follow you suggestions on the ignite cluster, but i am so sorry that 
there are some confusions. 

on the single node,with 29G data, my ignite configrution is default almost.just 
modify the ignite.sh 
as follow: 
if [ -z "$JVM_OPTS" ] ; then 
JVM_OPTS="-Xms8g -Xmx8g -server -XX:+AggressiveOpts -XX:MaxPermSize=8g" 
fi 

and modify the default-config.xml 

 





























the result is very cool. 



the on-heap just 8G but the data have 29G.It work well.why? 



another problem is I start up another ignite node on the same server.I have 16g 
heap with two ignite node.My job is finished after 7 minutes, the effect is the 
same as on the single node.why the performance is not improve when add the 
memory? 

thanks





Re: Reducing memory footprint

2016-03-16 Thread vkulichenko
Hi Alexander,

Are you going to have 16 node cluster and embed a client node into
application? Are you memory consumption requirements valid for server nodes
as well or only for the application? I'm asking because generally client
consumes less than server.

-Val



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