wso2bam - WSO2 BAM REST-API Sample Execution -
i have wso2bam v2.2.0 installed on windows 7 , cygwin 1.7.18. when try run rest-api sample following error in bam console.
can please let me know can wrong , how resolve issue?
tid: [0] [bam] [2011-05-14 20:46:05,603] info {org.apache.cassandra.service.gcinspector} - gc marksweepcompact: 408 ms 1 collections, 94079960 used; max 1037959168 {org.apache.cassandra.service.gcinspector} tid: [0] [bam] [2011-05-14 20:46:05,808] error {org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl} - error during query execution.. {org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl} java.util.concurrent.executionexception: java.lang.nullpointerexception @ java.util.concurrent.futuretask$sync.innerget(unknown source) @ java.util.concurrent.futuretask.get(unknown source) @ org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl.execute(hiveexecutorserviceimpl.java:91) @ org.wso2.carbon.analytics.hive.task.hivescriptexecutortask.execute(hivescriptexecutortask.java:60) @ org.wso2.carbon.ntask.core.impl.taskquartzjobadapter.execute(taskquartzjobadapter.java:56) @ org.quartz.core.jobrunshell.run(jobrunshell.java:213) @ java.util.concurrent.executors$runnableadapter.call(unknown source) @ java.util.concurrent.futuretask$sync.innerrun(unknown source) @ java.util.concurrent.futuretask.run(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.runtask(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ java.lang.thread.run(unknown source) caused by: java.lang.nullpointerexception @ javax.jdo.spi.jdoimplhelper.checkauthorizedstatemanager(jdoimplhelper.java:609) @ org.apache.hadoop.hive.metastore.model.mdatabase.jdoreplacestatemanager(mdatabase.java) @ org.datanucleus.state.abstractstatemanager$1.run(abstractstatemanager.java:298) @ java.security.accesscontroller.doprivileged(native method) @ org.datanucleus.state.abstractstatemanager.replacestatemanager(abstractstatemanager.java:294) @ org.datanucleus.state.jdostatemanagerimpl.updatelevel2cacheforfields(jdostatemanagerimpl.java:1264) @ org.datanucleus.state.jdostatemanagerimpl.loadunloadedfields(jdostatemanagerimpl.java:1374) @ org.datanucleus.api.jdo.state.hollow.transitionretrieve(hollow.java:168) @ org.datanucleus.state.abstractstatemanager.retrieve(abstractstatemanager.java:751) @ org.datanucleus.objectmanagerimpl.retrieveobject(objectmanagerimpl.java:1472) @ org.datanucleus.multithreadedobjectmanager.retrieveobject(multithreadedobjectmanager.java:280) @ org.datanucleus.api.jdo.jdopersistencemanager.jdoretrieve(jdopersistencemanager.java:621) @ org.datanucleus.api.jdo.jdopersistencemanager.retrieve(jdopersistencemanager.java:638) @ org.datanucleus.api.jdo.jdopersistencemanager.retrieve(jdopersistencemanager.java:647) @ org.apache.hadoop.hive.metastore.objectstore.getmdatabase(objectstore.java:396) @ org.apache.hadoop.hive.metastore.objectstore.getdatabase(objectstore.java:414) @ org.apache.hadoop.hive.metastore.hivecontext.getcurrentcontext(hivecontext.java:130) @ org.apache.hadoop.hive.jdbc.hiveconnection.<init>(hiveconnection.java:63) @ org.apache.hadoop.hive.jdbc.hivedriver.connect(hivedriver.java:104) @ java.sql.drivermanager.getconnection(unknown source) @ java.sql.drivermanager.getconnection(unknown source) @ org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl$scriptcallable.call(hiveexecutorserviceimpl.java:234) @ org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl$scriptcallable.call(hiveexecutorserviceimpl.java:217) ... 5 more tid: [0] [bam] [2011-05-14 20:46:05,813] error {org.wso2.carbon.analytics.hive.task.hivescriptexecutortask} - error while executing script : jmx_toolbox_823 {org.wso2.carbon.analytics.hive.task.hivescriptexecutortask} org.wso2.carbon.analytics.hive.exception.hiveexecutionexception: error during query execution.. @ org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl.execute(hiveexecutorserviceimpl.java:97) @ org.wso2.carbon.analytics.hive.task.hivescriptexecutortask.execute(hivescriptexecutortask.java:60) @ org.wso2.carbon.ntask.core.impl.taskquartzjobadapter.execute(taskquartzjobadapter.java:56) @ org.quartz.core.jobrunshell.run(jobrunshell.java:213) @ java.util.concurrent.executors$runnableadapter.call(unknown source) @ java.util.concurrent.futuretask$sync.innerrun(unknown source) @ java.util.concurrent.futuretask.run(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.runtask(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ java.lang.thread.run(unknown source) caused by: java.util.concurrent.executionexception: java.lang.nullpointerexception @ java.util.concurrent.futuretask$sync.innerget(unknown source) @ java.util.concurrent.futuretask.get(unknown source) @ org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl.execute(hiveexecutorserviceimpl.java:91) ... 9 more caused by: java.lang.nullpointerexception @ javax.jdo.spi.jdoimplhelper.checkauthorizedstatemanager(jdoimplhelper.java:609) @ org.apache.hadoop.hive.metastore.model.mdatabase.jdoreplacestatemanager(mdatabase.java) @ org.datanucleus.state.abstractstatemanager$1.run(abstractstatemanager.java:298) @ java.security.accesscontroller.doprivileged(native method) @ org.datanucleus.state.abstractstatemanager.replacestatemanager(abstractstatemanager.java:294) @ org.datanucleus.state.jdostatemanagerimpl.updatelevel2cacheforfields(jdostatemanagerimpl.java:1264) @ org.datanucleus.state.jdostatemanagerimpl.loadunloadedfields(jdostatemanagerimpl.java:1374) @ org.datanucleus.api.jdo.state.hollow.transitionretrieve(hollow.java:168) @ org.datanucleus.state.abstractstatemanager.retrieve(abstractstatemanager.java:751) @ org.datanucleus.objectmanagerimpl.retrieveobject(objectmanagerimpl.java:1472) @ org.datanucleus.multithreadedobjectmanager.retrieveobject(multithreadedobjectmanager.java:280) @ org.datanucleus.api.jdo.jdopersistencemanager.jdoretrieve(jdopersistencemanager.java:621) @ org.datanucleus.api.jdo.jdopersistencemanager.retrieve(jdopersistencemanager.java:638) @ org.datanucleus.api.jdo.jdopersistencemanager.retrieve(jdopersistencemanager.java:647) @ org.apache.hadoop.hive.metastore.objectstore.getmdatabase(objectstore.java:396) @ org.apache.hadoop.hive.metastore.objectstore.getdatabase(objectstore.java:414) @ org.apache.hadoop.hive.metastore.hivecontext.getcurrentcontext(hivecontext.java:130) @ org.apache.hadoop.hive.jdbc.hiveconnection.<init>(hiveconnection.java:63) @ org.apache.hadoop.hive.jdbc.hivedriver.connect(hivedriver.java:104) @ java.sql.drivermanager.getconnection(unknown source) @ java.sql.drivermanager.getconnection(unknown source) @ org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl$scriptcallable.call(hiveexecutorserviceimpl.java:234) @ org.wso2.carbon.analytics.hive.impl.hiveexecutorserviceimpl$scriptcallable.call(hiveexecutorserviceimpl.java:217) ... 5
i not sure see whether java version jdk 1.7. if please change jdk 1.6.
Comments
Post a Comment