Re: [Dev] Getting ML model (1.1.0) working with DAS (3.0.0)

2016-01-23 Thread Iranga Muthuthanthri
+ Rukshani
On Jan 23, 2016 3:00 PM, "Niranda Perera"  wrote:

> Shall we include this under another subtopic in the following page [1]?
> then it will be a one stop page for all the -D options for DAS
>
> [1] https://docs.wso2.com/pages/viewpage.action?pageId=45952727
>
> On Fri, Jan 22, 2016 at 3:05 PM, Nirmal Fernando  wrote:
>
>> Hi Iranga,
>>
>>
>> On Fri, Jan 22, 2016 at 3:00 PM, Iranga Muthuthanthri 
>> wrote:
>>
>>> Hi,
>>>
>>> In order to build an integrated  analytics scenario (Batch, Realtime and
>>> Predictive)  with DAS 3.0.0 tried the following steps in a local server
>>> though by installing and using CEP-ML extension in DAS. The steps followed
>>> are below.
>>>
>>> 1.) Installed ML 1.1.0  features in DAS 3.0.0.
>>> 2) Created a model through ML 1.1.0 .
>>> 3.)  Publish model to DAS registry .
>>> 4.) Use the ML extention through execution plan.
>>>
>>>  The following exceptions is observed at Server startup, possibly due to
>>> the  issue  of "supporting multiple Spark context in a jvm"[2].  Can start
>>> the server with command wso2server.sh -DdisableAnalyticsSparkCtx=true
>>>
>>
>> Instead of doing this, do -DdisableMLSparkCtx=true this would disable ML
>> Spark Context creation but predictions should still work.
>>
>>
>>
>>>
>>> However this prevents using the batch analytics features in DAS,
>>>
>>> Is there a  solution to get all three integrated analytics with DAS
>>> 3.0.0?Is there a way use the ML model to overcome issue[2]
>>>
>>>
>>>
>>>
>>>
>>> [1]2016-01-22 12:09:58,193] ERROR
>>> {org.wso2.carbon.analytics.spark.core.internal.AnalyticsComponent} -  Error
>>> initializing analytics executor: Only one SparkContext may be running in
>>> this JVM (see SPARK-2243). To ignore this error, set
>>> spark.driver.allowMultipleContexts = true. The currently running
>>> SparkContext was created 
>>>
>>>
>>> [2]https://issues.apache.org/jira/browse/SPARK-2243
>>>
>>> --
>>> Thanks & Regards
>>>
>>> Iranga Muthuthanthri
>>> (M) -0777-255773
>>> Team Product Management
>>>
>>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Team Lead - WSO2 Machine Learner
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
> *Niranda Perera*
> Software Engineer, WSO2 Inc.
> Mobile: +94-71-554-8430
> Twitter: @n1r44 
> https://pythagoreanscript.wordpress.com/
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Microservices Server 1.0.0 RC4

2016-01-23 Thread Lakmal Warusawithana
-1

[x] Broken - do not release

I have checked both Chrome and Firefox but when going to add Pet category
its redirect to login.



On Sat, Jan 23, 2016 at 2:02 PM, Afkham Azeez  wrote:

> Can you clear all cookies or retry from a different browser?
>
> On Fri, Jan 22, 2016 at 4:35 PM, Lakmal Warusawithana 
> wrote:
>
>> Hi,
>>
>> Petstore sample is failing to me. :(
>>
>> Setting up k8s and docker images work as expected. But front end admin UI
>> not allowed to add pet categories. Its re directing to login page. I have
>> tested with chrome in mac.
>>
>> @Dakshika, did you changed something in login/redirect ?
>>
>>
>>
>>
>> On Tue, Jan 19, 2016 at 5:49 PM, Samiyuru Senarathne 
>> wrote:
>>
>>> Hi Devs,
>>>
>>> This is the 4th Release Candidate of WSO2 Microservices Server 1.0.0.
>>>
>>> Please download, test the product and vote.
>>>
>>> *​Source and binary distribution files:*
>>> *https://github.com/wso2/product-mss/releases/tag/v1.0.0-RC4
>>> *
>>>
>>> *Maven staging repository:*
>>> http://maven.wso2.org/nexus/content/repositories/orgwso2carbonmss-298/
>>>
>>> *The tag to be voted upon:*
>>> *https://github.com/wso2/product-mss/tree/v1.0.0-RC4
>>> *
>>>
>>>
>>> [ ] Broken - do not release (explain why)
>>> [ ] Stable - go ahead and release
>>>
>>> Note: Since the artifacts that have to be uploaded to the maven central
>>> are not yet uploaded, please make sure to first build the project from the
>>> source in order to make all artifacts available in the maven local
>>> repository.
>>>
>>> Thank you,
>>> Carbon Team
>>>
>>> --
>>> Samiyuru Senarathne
>>> *Software Engineer*
>>> Mobile : +94 (0) 71 134 6087
>>> samiy...@wso2.com
>>>
>>
>>
>>
>> --
>> Lakmal Warusawithana
>> Director - Cloud Architecture; WSO2 Inc.
>> Mobile : +94714289692
>> Blog : http://lakmalsview.blogspot.com/
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> 
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
> *Lean . Enterprise . Middleware*
>



-- 
Lakmal Warusawithana
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting ML model (1.1.0) working with DAS (3.0.0)

2016-01-23 Thread Niranda Perera
Shall we include this under another subtopic in the following page [1]?
then it will be a one stop page for all the -D options for DAS

[1] https://docs.wso2.com/pages/viewpage.action?pageId=45952727

On Fri, Jan 22, 2016 at 3:05 PM, Nirmal Fernando  wrote:

> Hi Iranga,
>
>
> On Fri, Jan 22, 2016 at 3:00 PM, Iranga Muthuthanthri 
> wrote:
>
>> Hi,
>>
>> In order to build an integrated  analytics scenario (Batch, Realtime and
>> Predictive)  with DAS 3.0.0 tried the following steps in a local server
>> though by installing and using CEP-ML extension in DAS. The steps followed
>> are below.
>>
>> 1.) Installed ML 1.1.0  features in DAS 3.0.0.
>> 2) Created a model through ML 1.1.0 .
>> 3.)  Publish model to DAS registry .
>> 4.) Use the ML extention through execution plan.
>>
>>  The following exceptions is observed at Server startup, possibly due to
>> the  issue  of "supporting multiple Spark context in a jvm"[2].  Can start
>> the server with command wso2server.sh -DdisableAnalyticsSparkCtx=true
>>
>
> Instead of doing this, do -DdisableMLSparkCtx=true this would disable ML
> Spark Context creation but predictions should still work.
>
>
>
>>
>> However this prevents using the batch analytics features in DAS,
>>
>> Is there a  solution to get all three integrated analytics with DAS
>> 3.0.0?Is there a way use the ML model to overcome issue[2]
>>
>>
>>
>>
>>
>> [1]2016-01-22 12:09:58,193] ERROR
>> {org.wso2.carbon.analytics.spark.core.internal.AnalyticsComponent} -  Error
>> initializing analytics executor: Only one SparkContext may be running in
>> this JVM (see SPARK-2243). To ignore this error, set
>> spark.driver.allowMultipleContexts = true. The currently running
>> SparkContext was created 
>>
>>
>> [2]https://issues.apache.org/jira/browse/SPARK-2243
>>
>> --
>> Thanks & Regards
>>
>> Iranga Muthuthanthri
>> (M) -0777-255773
>> Team Product Management
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
*Niranda Perera*
Software Engineer, WSO2 Inc.
Mobile: +94-71-554-8430
Twitter: @n1r44 
https://pythagoreanscript.wordpress.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Microservices Server 1.0.0 RC4

2016-01-23 Thread Afkham Azeez
Can you clear all cookies or retry from a different browser?

On Fri, Jan 22, 2016 at 4:35 PM, Lakmal Warusawithana 
wrote:

> Hi,
>
> Petstore sample is failing to me. :(
>
> Setting up k8s and docker images work as expected. But front end admin UI
> not allowed to add pet categories. Its re directing to login page. I have
> tested with chrome in mac.
>
> @Dakshika, did you changed something in login/redirect ?
>
>
>
>
> On Tue, Jan 19, 2016 at 5:49 PM, Samiyuru Senarathne 
> wrote:
>
>> Hi Devs,
>>
>> This is the 4th Release Candidate of WSO2 Microservices Server 1.0.0.
>>
>> Please download, test the product and vote.
>>
>> *​Source and binary distribution files:*
>> *https://github.com/wso2/product-mss/releases/tag/v1.0.0-RC4
>> *
>>
>> *Maven staging repository:*
>> http://maven.wso2.org/nexus/content/repositories/orgwso2carbonmss-298/
>>
>> *The tag to be voted upon:*
>> *https://github.com/wso2/product-mss/tree/v1.0.0-RC4
>> *
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>> Note: Since the artifacts that have to be uploaded to the maven central
>> are not yet uploaded, please make sure to first build the project from the
>> source in order to make all artifacts available in the maven local
>> repository.
>>
>> Thank you,
>> Carbon Team
>>
>> --
>> Samiyuru Senarathne
>> *Software Engineer*
>> Mobile : +94 (0) 71 134 6087
>> samiy...@wso2.com
>>
>
>
>
> --
> Lakmal Warusawithana
> Director - Cloud Architecture; WSO2 Inc.
> Mobile : +94714289692
> Blog : http://lakmalsview.blogspot.com/
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev