[ 
https://issues.apache.org/jira/browse/HIVE-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904502#action_12904502
 ] 

Ning Zhang commented on HIVE-1607:
----------------------------------

I'll take a look.


> Reinstate and deprecate IMetaStoreClient methods removed in HIVE-675
> --------------------------------------------------------------------
>
>                 Key: HIVE-1607
>                 URL: https://issues.apache.org/jira/browse/HIVE-1607
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Metastore
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-1607.1.patch.txt, HIVE-1607.2.patch.txt
>
>
> Several methods were removed from the IMetaStoreClient interface as part of 
> HIVE-675:
> {code}
>   /**
>    * Drop the table.
>    *
>    * @param tableName
>    *          The table to drop
>    * @param deleteData
>    *          Should we delete the underlying data
>    * @throws MetaException
>    *           Could not drop table properly.
>    * @throws UnknownTableException
>    *           The table wasn't found.
>    * @throws TException
>    *           A thrift communication error occurred
>    * @throws NoSuchObjectException
>    *           The table wasn't found.
>    */
>   public void dropTable(String tableName, boolean deleteData)
>       throws MetaException, UnknownTableException, TException,
>       NoSuchObjectException;
>   /**
>    * Get a table object.
>    *
>    * @param tableName
>    *          Name of the table to fetch.
>    * @return An object representing the table.
>    * @throws MetaException
>    *           Could not fetch the table
>    * @throws TException
>    *           A thrift communication error occurred
>    * @throws NoSuchObjectException
>    *           In case the table wasn't found.
>    */
>   public Table getTable(String tableName) throws MetaException, TException,
>       NoSuchObjectException;
>   public boolean tableExists(String databaseName, String tableName) throws 
> MetaException,
>       TException, UnknownDBException;
> {code}
> These methods should be reinstated with a deprecation warning.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to