[jira] [Assigned] (SPARK-17190) Removal of HiveSharedState

2016-08-22 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-17190:


Assignee: Apache Spark

> Removal of HiveSharedState
> --
>
> Key: SPARK-17190
> URL: https://issues.apache.org/jira/browse/SPARK-17190
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 2.0.0
>Reporter: Xiao Li
>Assignee: Apache Spark
>
> Since `HiveClient` is used to interact with the Hive metastore, it should be 
> hidden in `HiveExternalCatalog`. After moving `HiveClient` into 
> `HiveExternalCatalog`, `HiveSharedState` becomes a wrapper of 
> `HiveExternalCatalog`. Thus, removal of `HiveSharedState` becomes 
> straightforward. After removal of `HiveSharedState`, the reflection logic is 
> directly applied on the choice of `ExternalCatalog` types, based on the 
> configuration of `CATALOG_IMPLEMENTATION`. 
> `HiveClient` is also used/invoked by the other entities besides 
> HiveExternalCatalog, we defines the following two APIs:
> {noformat}
>   /**
>* Return the existing [[HiveClient]] used to interact with the metastore.
>*/
>   def getClient: HiveClient
>   /**
>* Return a [[HiveClient]] as a new session
>*/
>   def getNewClient: HiveClient
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Assigned] (SPARK-17190) Removal of HiveSharedState

2016-08-22 Thread Apache Spark (JIRA)

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

Apache Spark reassigned SPARK-17190:


Assignee: (was: Apache Spark)

> Removal of HiveSharedState
> --
>
> Key: SPARK-17190
> URL: https://issues.apache.org/jira/browse/SPARK-17190
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 2.0.0
>Reporter: Xiao Li
>
> Since `HiveClient` is used to interact with the Hive metastore, it should be 
> hidden in `HiveExternalCatalog`. After moving `HiveClient` into 
> `HiveExternalCatalog`, `HiveSharedState` becomes a wrapper of 
> `HiveExternalCatalog`. Thus, removal of `HiveSharedState` becomes 
> straightforward. After removal of `HiveSharedState`, the reflection logic is 
> directly applied on the choice of `ExternalCatalog` types, based on the 
> configuration of `CATALOG_IMPLEMENTATION`. 
> `HiveClient` is also used/invoked by the other entities besides 
> HiveExternalCatalog, we defines the following two APIs:
> {noformat}
>   /**
>* Return the existing [[HiveClient]] used to interact with the metastore.
>*/
>   def getClient: HiveClient
>   /**
>* Return a [[HiveClient]] as a new session
>*/
>   def getNewClient: HiveClient
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org