Re: [Dev] Error in BAM console while running Generating Billing Data sample of API Manager

2015-02-13 Thread Jagath Sisirakumara Ariyarathne
Hi, Issue was fixed by keeping the port in WSO2BAM_CASSANDRA_DATASOURCE as 9160. Previously it was set to 9161. Referred [1], [2]. [1] - https://wso2.org/jira/browse/BAM-1624 [2] - https://wso2.org/jira/browse/BAM-1476 Thanks. On Fri, Feb 13, 2015 at 2:56 PM, Jagath Sisirakumara Ariyarathne <

Re: [Dev] Error in BAM console while running Generating Billing Data sample of API Manager

2015-02-13 Thread Jagath Sisirakumara Ariyarathne
Hi Hasanthi, Thanks for the update. It seems to be a connectivity issue. Below errors also there in the console. [2015-02-13 14:34:03,268] ERROR {org.apache.cassandra.hadoop.ConfigHelper} - failed to connect to any initial addresses [2015-02-13 14:34:03,269] ERROR {org.apache.cassandra.hadoop.C

Re: [Dev] Error in BAM console while running Generating Billing Data sample of API Manager

2015-02-12 Thread Hasanthi Purnima Dissanayake
Hi Jagath, you have to drop the related table. Please refer to [1]. http://stackoverflow.com/questions/22968243/wso2-bam-documentation Hasanthi Dissanayake Software Engineer | WSO2 E: hasan...@wso2.com M :0718407133| http://wso2.com On Fri, Feb 13, 2015 at 11:31 AM, Jagath

Re: [Dev] Error in BAM console while running Generating Billing Data sample of API Manager

2015-02-12 Thread Jagath Sisirakumara Ariyarathne
Hi Hasanthi, I changed the offset as the first step. But let me try with that. What is the location of the script i should edit? Thanks. On Fri, Feb 13, 2015 at 11:25 AM, Hasanthi Purnima Dissanayake < hasan...@wso2.com> wrote: > Hi Jagath, > Did you follow the below step? > > "If you run the

Re: [Dev] Error in BAM console while running Generating Billing Data sample of API Manager

2015-02-12 Thread Hasanthi Purnima Dissanayake
Hi Jagath, Did you follow the below step? "If you run the Hive scripts before changing the default Cassandra port according to the BAM port offset, you keep getting an exception. To overcome this, add the following line at the beginning of the Hive script and rerun. drop table " Thanks and Regar

[Dev] Error in BAM console while running Generating Billing Data sample of API Manager

2015-02-12 Thread Jagath Sisirakumara Ariyarathne
Hi, BAM console gives below error when I started BAM for the sample [1]. FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask [2015-02-13 10:35:03,733] ERROR {org.apache.hadoop.hive.ql.Driver} - FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.q