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

2016-01-25 Thread Rukshani Weerasinha
Hi all,

Now the Enabling/Disabling Selected DAS Components page [1] is updated with
a description of this property in both DAS 3.0.0 and DAS 3.0.1. Thank you
Niranda for helping to finalise the description.

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

Best Regards,
Rukshani.

On Mon, Jan 25, 2016 at 8:21 AM, Rukshani Weerasinha 
wrote:

> Hi all,
>
> I will update this page soon and inform you in this thread once it is done.
>
> Thank You and Best Regards,
> Rukshani.
>
> On Sat, Jan 23, 2016 at 9:19 PM, Iranga Muthuthanthri 
> wrote:
>
>> + 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/
>>>
>>
>
>
> --
> Rukshani Weerasinha
>
> WSO2 Inc.
> Web:http://wso2.com
> Mobile: 0777 683 738
>
>


-- 
Rukshani Weerasinha

WSO2 Inc.
Web:http://wso2.com
Mobile: 0777 683 738
___
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-24 Thread Rukshani Weerasinha
Hi all,

I will update this page soon and inform you in this thread once it is done.

Thank You and Best Regards,
Rukshani.

On Sat, Jan 23, 2016 at 9:19 PM, Iranga Muthuthanthri 
wrote:

> + 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/
>>
>


-- 
Rukshani Weerasinha

WSO2 Inc.
Web:http://wso2.com
Mobile: 0777 683 738
___
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 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] 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] Getting ML model (1.1.0) working with DAS (3.0.0)

2016-01-22 Thread Nirmal Fernando
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/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-01-22 Thread Iranga Muthuthanthri
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

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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev