hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sichi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1607) Reinstate and deprecate IMetaStoreClient methods removed in HIVE-675
Date Fri, 17 Sep 2010 19:01:42 GMT

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

John Sichi commented on HIVE-1607:
----------------------------------

I think we can re-close this one now since it was squashed into the backport for HIVE-675,
right?

> 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
>             Fix For: 0.6.0, 0.7.0
>
>         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.


Mime
View raw message