Re: [Dev] IoT Server - Andriod agent is not publishing light measurements correctly

2016-06-04 Thread Ayyoob Hamza
Hi Sinthuja, Wanted to know whether you are trying this with the alpha pack or a nightly build?. If it is the nightly build that you are trying it with then could it be possible to try this with the alpha pack[1] since with the latest changes in the master having an issue with the agent. If the

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-04 Thread Harsha Kumara
Yes AFAIK it won't add any processing delay from CEP side if we don't access any data in the json map. Since we have to go through header maps and extract the query param this will add delay for data publishing side. We can enable this by default. I think it's better to have the option to disable.

[Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.6 RC1

2016-06-04 Thread Kalpa Welivitigoda
Hi Devs, This is the 1st release candidate of WSO2 Carbon Kernel 4.4.6. This release fixes the following issues: https://wso2.org/jira/issues/?filter=13090 Please download and test your products with kernel 4.4.6 RC1 and vote. Vote will be open for 72 hours or as longer as needed. ​Source and

Re: [Dev] Error while registering UDF method in Spark

2016-06-04 Thread Nirmal Fernando
Can we skip certain classes getting this $jacocoInit method? On Sat, Jun 4, 2016 at 11:38 PM, Sachith Withana wrote: > Hi Fazlan, > > To add to what Gimantha said, since we register methods, only the jacoco > injected method would fail to register. > All the other methods

Re: [Dev] IoT Server - Andriod agent is not publishing light measurements correctly

2016-06-04 Thread Sumedha Rubasinghe
Other values being sent correctly? On Jun 5, 2016 12:54 AM, "Sinthuja Ragendran" wrote: > Hi, > > I see the light is being correctly measured in the phone app, and the > values are correctly changing. But it's not getting sent to IoT server, I > checked the data explorer (DAS

[Dev] IoT Server - Andriod agent is not publishing light measurements correctly

2016-06-04 Thread Sinthuja Ragendran
Hi, I see the light is being correctly measured in the phone app, and the values are correctly changing. But it's not getting sent to IoT server, I checked the data explorer (DAS component) in IoT server, but this seems to be not there. Is it know issue? Thanks, Sinthuja. -- *Sinthuja

Re: [Dev] [Architecture] Common configuration for publishing events from carbon servers to DAS/CEP

2016-06-04 Thread Buddhima Wijeweera
Hi All, We are in the process of introducing this to ESB. I have successfully added relevant features and data publishing is working fine with ESB. But I can see the following logs in a fresh ESB pack first start (those are not appearing when restarting again). [2016-06-04 21:57:10,253] INFO -

Re: [Dev] Error while registering UDF method in Spark

2016-06-04 Thread Sachith Withana
Hi Fazlan, To add to what Gimantha said, since we register methods, only the jacoco injected method would fail to register. All the other methods would be registered as UDFs. Regards, Sachith On Sat, Jun 4, 2016 at 12:35 PM, Gimantha Bandara wrote: > Hi Fazlan, > > Spark

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-06-04 Thread Tharindu Edirisinghe
The call details are as following. 1. Demonstrated how to use WSO2 admin services. 2. All the user operations in *RemoteUserStoreManagerService *[1] should be tested (using SOAP UI) for the mongodb userstore. 3. When the user profile is saved in a JDBC userstore, for each attribute of the user,

Re: [Dev] Error while registering UDF method in Spark

2016-06-04 Thread Gimantha Bandara
Hi Fazlan, Spark UDFs are the Java methods that we define. Jacoco actually injects a static method called "$jacocoInit" to every test class, so every UDF class will contain an additional method called "$jacocoInit". Spark cannot determine the datatypes passed in the parameters and registering

Re: [Dev] Error while registering UDF method in Spark

2016-06-04 Thread Nirmal Fernando
Hi Fazlan, AFAIK this is an unharmful error and Sachith should know some context. On Sat, Jun 4, 2016 at 10:09 PM, Fazlan Nazeem wrote: > Hi, > > We are observing some errors related to UDF registration in API-M > analytics Test integration phase. The error keeps on printing

[Dev] Error while registering UDF method in Spark

2016-06-04 Thread Fazlan Nazeem
Hi, We are observing some errors related to UDF registration in API-M analytics Test integration phase. The error keeps on printing till the Spark Client is started. This error is only present during the test phase. It does not occur when the server is started separately. DAS team, Any idea on

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-06-04 Thread Mahesh Dananjaya
Hi Maheshkya, If you want to run it please use following queries. 1. StreamingLInearRegression from Stream4InputStream#streaming:streaminglr(0, 2, 0.95, salary, rbi, walks, strikeouts, errors) select * insert into regResults; from Stream8Input#streaming:streamingkm(0, 2, 0.95,2,20, salary,

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-06-04 Thread Mahesh Dananjaya
Hi Maheshkaya, I have added the moving window method and update the previos StreamingLinearRegression [1] which only performed batch processing with streaming data. and also i added the StreamingKMeansClustering [1] for our purposes and debugged them.thank you. regards, Mahesh. [1]

Re: [Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-04 Thread Bhathiya Jayasekara
Found this in [2]. 60 When the server is starting (at the time registry indexing service register in OSGI ) indexing task is scheduling with 60s delay. Can someone please explain the importance if this? If I set this value to 0, what can go wrong? [2]

[Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-04 Thread Bhathiya Jayasekara
Hi all, Can someone please explain "startingDelayInSeconds" here[1]? [1] https://docs.wso2.com/display/Governance520/Configuration+for+Indexing Thanks, -- *Bhathiya Jayasekara* *Senior Software Engineer,* *WSO2 inc., http://wso2.com * *Phone: +94715478185* *LinkedIn:

Re: [Dev] Predictive analytic with streaming data for WSO2 Machine Learner

2016-06-04 Thread Nifras Ismail
Hi Ishani, Please refer[1] , You may have clear picture. [1] https://docs.wso2.com/display/CEP410/Predictive+Analytics+with+WSO2+Machine+Learner#PredictiveAnalyticswithWSO2MachineLearner-PrerequisitesPrerequisites On Fri, Jun 3, 2016 at 2:06 PM, Ishani Pathinayake <

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-06-04 Thread Supun Sethunga
Thanks Mahesh! The graphs look promising! :) So by looking at graph, LR with SGD can train a model within 60 secs (6*10^10 nano sec), using about 900,000 data points . Means, this online training can handle events/data points coming at rate of 15,000 per second (or more) , if the batch size is

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-06-04 Thread Mahesh Dananjaya
Hi Maheshakya, I have looked into the spark streaming fundamentals and k mean clustering to develop the streaming k mean clustering for stream data. those can be found at [1] and [2].I will commit new changes to my repo today including the basic implementation of streaming k mean clustering.thank

Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-04 Thread Sajith Ravindra
Hi Imesh/Isuru, I submitted the pull request[1] sometime back and it has implemented all 3 patterns of CEP (standalone, HA and distributed). Please let us know if we can provide any further assistance on this. It would be great if we can get the distributed deployment scripts also in wso2 repo

Re: [Dev] Why YAML configuration files in C5 has extension .yml instead of .yaml?

2016-06-04 Thread Isuru Perera
Should our code accept both ".yml" and ".yaml" as valid extensions? I'm currently using ".yml" extension for configuration file in next Metrics release. Shall I change the extension to ".yaml"? Metrics 2.0.0 is based on Carbon 5.1.0. In Carbon, the configuration is in "carbon.yml". I think that

Re: [Dev] Requesting the parameters for throttling policy configurations in api-manager.xml

2016-06-04 Thread Nuwan Dias
Why would we have to check if there are conditions which require query params? Or headers? I think we should publish them anyway. Does it cause a performance impact to send additional data to CEP? I don't think getting those data from the request has an overhead. Thanks, NuwanD. On Sat, Jun 4,

Re: [Dev] [Gmail Connector] Error connecting to gmail connector

2016-06-04 Thread Maheeka Jayasuriya
Thanks Hariprasad for taking time on helping to resolve the issue. The mentioned approach is now working. Maheeka Jayasuriya Senior Software Engineer Mobile : +9450661 On Sat, Jun 4, 2016 at 10:49 AM, Hariprasath Thanarajah < haripras...@wso2.com> wrote: > Hi Maheeka, > > If you are trying