[ 
https://issues.apache.org/jira/browse/KUDU-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Hao updated KUDU-2254:
--------------------------
    Summary: Detect and warn about misusage of KuduContext in spark 
applications  (was: Warn spark applications to create KuduContext in the driver 
and share it with executors )

> Detect and warn about misusage of KuduContext in spark applications
> -------------------------------------------------------------------
>
>                 Key: KUDU-2254
>                 URL: https://issues.apache.org/jira/browse/KUDU-2254
>             Project: Kudu
>          Issue Type: Improvement
>          Components: spark
>    Affects Versions: 1.5.0
>            Reporter: Hao Hao
>
> Since KuduContext carries a bunch of information for client connection, such 
> as authentication token, KuduContext should be created in the driver and 
> shared with executors.
> Even if we have put comments for KuduContext class 
> (https://github.com/apache/kudu/blob/master/java/kudu-spark/src/main/scala/org/apache/kudu/spark/kudu/KuduContext.scala#L43),
>  it would be great to provide a way to warn users (e.g Logging) about such 
> behavior since this kind of issues are very subtle to detect.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to