Hi All, Thanks for the quick response. I was able to run the sample, though that Exception get throws time to time. Thanks and Regards
On Thu, Feb 12, 2015 at 5:45 AM, Shavantha Weerasinghe <[email protected]> wrote: > Hi Gokul > > As mentiond since BAM uses an older version oh H2 will this DB be updated > > Regards,shavantha > On 11 Feb 2015 18:03, "Gokul Balakrishnan" <[email protected]> wrote: > >> Hi Thusitha, >> >> This is a harmless warning that can be ignored. The root cause is the H2 >> database erroneously writing this warning to stdout [1] which was fixed in >> a later version (1.3.164). But since we (BAM) use an older version of H2 >> from the platform, this warning will be thrown intermittently. >> >> Thanks, >> >> [1] http://code.google.com/p/h2database/issues/detail?id=374 >> >> On 11 February 2015 at 17:52, Thayalan <[email protected]> wrote: >> >>> The issue that you have observed is an intermittent issue and we did see >>> at times during the release testing. This is already reported. >>> >>> If you could consistently reproduce the issue please update the public >>> JIRA [1] >>> >>> 1. https://wso2.org/jira/browse/BAM-580 >>> <https://wso2.org/jira/browse/BAM-580> >>> >>> On Wed, Feb 11, 2015 at 2:30 PM, Hasanthi Purnima Dissanayake < >>> [email protected]> wrote: >>> >>>> Hi Thusitha, >>>> I also tried the same sample. I got below errors in the started BAM >>>> console. But I got the output as mentioned in the documentation. >>>> >>>> FAILED: Execution Error, return code 1 from >>>> org.apache.hadoop.hive.ql.exec.DDLTask >>>> [2015-02-11 14:26:45,034] ERROR {org.apache.hadoop.hive.ql.Driver} - >>>> FAILED: Execution Error, return code 1 from >>>> org.apache.hadoop.hive.ql.exec.DDLTask >>>> [2015-02-11 14:26:45,035] ERROR >>>> {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} - Error >>>> executing query: Query returned non-zero code: 9, cause: FAILED: Execution >>>> Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask >>>> java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED: >>>> Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask >>>> at >>>> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189) >>>> at >>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:599) >>>> at >>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:304) >>>> at >>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:192) >>>> at >>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) >>>> at java.lang.Thread.run(Thread.java:662) >>>> [2015-02-11 14:26:45,035] ERROR >>>> {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} - Error >>>> while executing Hive script. >>>> Query returned non-zero code: 9, cause: FAILED: Execution Error, return >>>> code 1 from org.apache.hadoop.hive.ql.exec.DDLTask >>>> java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED: >>>> Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask >>>> at >>>> org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189) >>>> at >>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:599) >>>> at >>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:304) >>>> at >>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:192) >>>> at >>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) >>>> at java.lang.Thread.run(Thread.java:662) >>>> [2015-02-11 14:26:45,036] ERROR >>>> {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} - Error while >>>> executing script : registry_activity_script >>>> org.wso2.carbon.analytics.hive.exception.HiveExecutionException: Error >>>> while executing Hive script.Query returned non-zero code: 9, cause: FAILED: >>>> Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask >>>> at >>>> org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl.execute(HiveExecutorServiceImpl.java:117) >>>> at >>>> org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask.execute(HiveScriptExecutorTask.java:70) >>>> at >>>> org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67) >>>> at org.quartz.core.JobRunShell.run(JobRunShell.java:213) >>>> at >>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) >>>> at >>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) >>>> at java.util.concurrent.FutureTask.run(FutureTask.java:138) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) >>>> at java.lang.Thread.run(Thread.java:662) >>>> >>>> >>>> Hasanthi Dissanayake >>>> >>>> Software Engineer | WSO2 >>>> >>>> E: [email protected] <[email protected]> >>>> M :0718407133| http://wso2.com <http://wso2.com/> >>>> >>>> On Wed, Feb 11, 2015 at 9:39 AM, Thusitha Thilina Dayaratne < >>>> [email protected]> wrote: >>>> >>>>> Hi All, >>>>> >>>>> I'm trying to run the Statistics collector sample in the GReg[1]. I >>>>> started the BAM and Deployed the KPI_Registry_Activity.tbox >>>>> <https://docs.wso2.com/download/attachments/22185080/KPI_Registry_Activity.tbox?version=1&modificationDate=1350347592000&api=v2> >>>>> . >>>>> Then the following exception getting throw continuously. >>>>> >>>>> Job running in-process (local Hadoop) >>>>> Hadoop job information for null: number of mappers: 0; number of >>>>> reducers: 0 >>>>> 2015-02-11 09:32:02,789 null map = 0%, reduce = 0% >>>>> 2015-02-11 09:32:05,791 null map = 100%, reduce = 0% >>>>> Warning: generateAlternativeSeed >>>>> *java.io.UTFDataFormatException: encoded string too long: 68777 bytes* >>>>> at java.io.DataOutputStream.writeUTF(DataOutputStream.java:364) >>>>> at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323) >>>>> at org.h2.util.MathUtils.generateAlternativeSeed(MathUtils.java:137) >>>>> at org.h2.util.MathUtils.getSecureRandom(MathUtils.java:89) >>>>> at org.h2.util.MathUtils.secureRandomBytes(MathUtils.java:383) >>>>> at org.h2.store.FileLock.setUniqueId(FileLock.java:290) >>>>> at org.h2.store.FileLock.lockFile(FileLock.java:320) >>>>> at org.h2.store.FileLock.lock(FileLock.java:129) >>>>> at org.h2.engine.Database.open(Database.java:523) >>>>> at org.h2.engine.Database.openDatabase(Database.java:207) >>>>> at org.h2.engine.Database.<init>(Database.java:202) >>>>> at org.h2.engine.Engine.openSession(Engine.java:56) >>>>> at org.h2.engine.Engine.openSession(Engine.java:146) >>>>> at org.h2.engine.Engine.getSession(Engine.java:125) >>>>> at org.h2.engine.Session.createSession(Session.java:122) >>>>> at >>>>> org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:241) >>>>> at org.h2.engine.SessionRemote.createSession(SessionRemote.java:219) >>>>> at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:111) >>>>> at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:95) >>>>> at org.h2.Driver.connect(Driver.java:73) >>>>> at java.sql.DriverManager.getConnection(DriverManager.java:579) >>>>> at java.sql.DriverManager.getConnection(DriverManager.java:221) >>>>> at >>>>> org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:73) >>>>> at >>>>> org.wso2.carbon.hadoop.hive.jdbc.storage.db.DBManager.createConnection(DBManager.java:85) >>>>> at >>>>> org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCDataOutputFormat.getHiveRecordWriter(JDBCDataOutputFormat.java:48) >>>>> at >>>>> org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getRecordWriter(HiveFileFormatUtils.java:236) >>>>> at >>>>> org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getHiveRecordWriter(HiveFileFormatUtils.java:224) >>>>> at >>>>> org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(FileSinkOperator.java:478) >>>>> at >>>>> org.apache.hadoop.hive.ql.exec.FileSinkOperator.closeOp(FileSinkOperator.java:710) >>>>> at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:553) >>>>> at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:562) >>>>> at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:562) >>>>> at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:562) >>>>> at >>>>> org.apache.hadoop.hive.ql.exec.ExecReducer.close(ExecReducer.java:304) >>>>> at >>>>> org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:528) >>>>> at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:419) >>>>> at >>>>> org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:257) >>>>> >>>>> What is the reason for this? Is there any fix for this? >>>>> [1] - >>>>> https://docs.wso2.com/display/Governance460/Statistics+Collector+Sample >>>>> >>>>> Thanks and Regards >>>>> -- >>>>> Thusitha Dayaratne >>>>> Software Engineer | WSO2 Inc >>>>> >>>>> Email [email protected] >>>>> Mobile +94712756809 >>>>> Blog alokayasoya.blogspot.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Regards, >>> Thayalan Sivapaleswararajah >>> Associate Technical Lead - QA >>> Mob: +94(0)777872485 >>> Tel : +94(0)(11)2145345 >>> Fax : +94(0)(11)2145300 >>> Email: [email protected] >>> >>> >>> *Disclaimer*: *This communication may contain privileged or other >>> confidential information and is intended exclusively for the addressee/s. >>> If you are not the intended recipient/s, or believe that you may have >>> received this communication in error, please reply to the sender indicating >>> that fact and delete the copy you received and in addition, you should not >>> print, copy, retransmit, disseminate, or otherwise use the information >>> contained in this communication. Internet communications cannot be >>> guaranteed to be timely, secure, error or virus-free. The sender does not >>> accept liability for any errors or omissions.* >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Balakrishnan Gokulakrishnan* >> Software Engineer, >> WSO2, Inc. http://wso2.com >> Mob: +94 77 593 5789 | +1 650 272 9927 >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thusitha Dayaratne Software Engineer | WSO2 Inc Email [email protected] Mobile +94712756809 Blog alokayasoya.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
