Thanks Ashen for reporting this. I hope this issue is not present in IS and ESB analytics .
On Fri, Nov 11, 2016 at 6:46 PM, Nirmal Fernando <nir...@wso2.com> wrote: > Thanks for reporting this Ashen. I just checked the code and found that we > do not properly deploy the spark scripts when initializing the templated > scripts [1]. This issue has gone unnoticed due to few reasons :( > > 1. Our automated tests execute the spark scripts manually > 2. DAS doesn't indicate unscheduled scripts in the UI > This could be a handy feature for DAS to identify these kind of issues. Shall we add this as an improvement for DAS. > 3. These scripts were scheduled to run daily > > > [1] https://github.com/wso2/analytics-apim/blob/master/compo > nents/org.wso2.analytics.apim/src/main/java/org/wso2/carbon/ > analytics/apim/internal/TemplateManagerInitializer.java > > On Fri, Nov 11, 2016 at 6:07 PM, Ashen Weerathunga <as...@wso2.com> wrote: > >> Hi, >> >> There is an issue in the default templated spark scripts available in the >> API manager analytics. I have noticed this issue with spark scripts >> scheduling. >> >> API manager analytics provides some default templates for every scenario. >> Therefore the user can configure some parameters using template manager or >> they can use default templates without configuring it. But those default >> spark scripts are not scheduling according to the provided cron >> expressions. Seems like those scripts are not added to the carbon tasks in >> the registry. Hence they never execute although they are supposed to be >> executed based on crons. Therefore if a user decided to go with a default >> template of a particular scenario wich includes a spark script, that won't >> work as expected. >> >> Best regards, >> Ashen >> -- >> *Ashen Weerathunga* >> Software Engineer >> WSO2 Inc.: http://wso2.com >> lean.enterprise.middleware >> >> Email: as...@wso2.com >> Mobile: tel:94716042995 <94716042995> >> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga >> <http://lk.linkedin.com/in/ashenweerathunga>* >> <http://wso2.com/signature> >> > > > > -- > > Thanks & regards, > Nirmal > > Team Lead - WSO2 Machine Learner > Associate Technical Lead - Data Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > > > -- Thanks & Regards, Fazlan Nazeem *Software Engineer* *WSO2 Inc* Mobile : +94772338839 <%2B94%20%280%29%20773%20451194> fazl...@wso2.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev