Hi All,

Just to Update.

I went through several trial and error rounds as below and finally could
successful. But the cause is still unknown.

1. Cleaned all the dbs(as recommending in several threads) and cleaned
<APIM_HOME>/repository/data/*, <APIM_HOME>/solr/* <APIM_HOME>/tmp/*
directories and started back. - No luck

2. Reverted back the cluster with apim-analytics-2.1.0 vanila pack on
puppetMaster and ran the analytics agent with fresh DBs(event, process,
statdb)
3. Again, placed wum updated apim-analytics-2.1.0 pack on puppetMaster and
ran with cleaned dbs - all the errors went disappeared

In addition to the above, I didn't do any manual config change on either
puppetMaster or agent side.

Thanks,
Chaminda


On Tue, Jan 30, 2018 at 4:45 AM, Chaminda Jayawardena <[email protected]>
wrote:

>
>
> On Mon, Jan 29, 2018 at 10:46 PM, Sajith Perera <[email protected]> wrote:
>
>> Hi Chaminda
>>
>> Is this single node analytics setup? could you attach the full server log
>> files?
>>
> Hi Sajith,
> I have attached the full error logs in the initial mail.​
>
>
> In the product analytics and DAS deployment if server pack is replaced and
>> pointing to the same database we need to mount the following file
>> directories as there are files will be updated during the server runtime.
>> But only concern if this is the case it should happen for the vanilla pack
>> as well.
>>
>>    1. repository/data
>>    2. repository/config/analytics
>>
>> Thanks,
>> SajithD
>>
>> On Mon, Jan 29, 2018 at 6:22 PM, Harsha Kumara <[email protected]> wrote:
>>
>>>
>>>
>>> On Mon, Jan 29, 2018 at 6:20 PM, Chaminda Jayawardena <[email protected]
>>> > wrote:
>>>
>>>> Hi All,
>>>>
>>>> Getting below error continuously on an apim-analytics-2.10 server
>>>> instance.
>>>> We are using latest wum updated apim-analytics2.1.0 pack with fresh
>>>> databases.
>>>>
>>>> Configured the pack using puppet in an apim cluster pattern-6[1].
>>>>
>>>> The error encountered only when the wum updated pack is used.
>>>>
>>>> Note: as suggested in several threads, I cleaned the databases and
>>>> tried again but had no luck. Complete error log has been attached in the
>>>> file - analytics_error.rtf
>>>>
>>>>
>>>>
>>>> *Caused by:
>>>> org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsTableNotAvailableException:
>>>> [-1234:ORG_WSO2_APIMGT_STATISTICS_PERHOURREQUEST] does not exist*
>>>>
>>>> * at *org.wso2.carbon.analytics.datasource.rdbms.RDBMSAnalyticsRec
>>>> ordStore.get(RDBMSAnalyticsRecordStore.java:420)
>>>>
>>>> at org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServ
>>>> iceImpl.getByRange(AnalyticsDataServiceImpl.java:961)
>>>>
>>>> at org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServ
>>>> iceImpl.get(AnalyticsDataServiceImpl.java:910)
>>>>
>>>> at org.wso2.carbon.analytics.spark.core.rdd.AnalyticsRDD.getPar
>>>> titions(AnalyticsRDD.java:119)
>>>>
>>>> ... 100 more
>>>>
>>>>
>>>> [1] https://docs.wso2.com/display/AM2xx/Using+Puppet+Modules
>>>> +to+Set+up+WSO2+API-M+with+Pattern+6
>>>>
>>>> --
>>>> Thanks & Regards
>>>>
>>>> *Chaminda Jayawardena*
>>>> Associate Technical Lead - QA
>>>> WSO2 Inc. - http://wso2.com
>>>> +94-77-7725234 <+94%2077%20772%205234>
>>>>
>>>
>>>
>>>
>>> --
>>> Harsha Kumara
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94775505618 <+94%2077%20550%205618>
>>> Blog:harshcreationz.blogspot.com
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> <http://wso2.com/signature>
>> Sajith Dimal
>> Software Engineer
>> Email : [email protected]
>> Mobile : +94783101496
>> WSO2 Inc. | http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Thanks & Regards
>
> *Chaminda Jayawardena*
> Associate Technical Lead - QA
> WSO2 Inc. - http://wso2.com
> +94-77-7725234 <+94%2077%20772%205234>
>



-- 
Thanks & Regards

*Chaminda Jayawardena*
Associate Technical Lead - QA
WSO2 Inc. - http://wso2.com
+94-77-7725234
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to