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 <[email protected]> wrote:

> Hi Iranga,
>
>
> On Fri, Jan 22, 2016 at 3:00 PM, Iranga Muthuthanthri <[email protected]>
> 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://twitter.com/N1R44>
https://pythagoreanscript.wordpress.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to