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 3. These scripts were scheduled to run daily [1] https://github.com/wso2/analytics-apim/blob/master/components/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 <[email protected]> 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: [email protected] > 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/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
