You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2010/08/31 03:36:53 UTC

[jira] Updated: (HIVE-1607) Reinstate and deprecate IMetaStoreClient methods removed in HIVE-675

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

Carl Steinbach updated HIVE-1607:
---------------------------------

    Attachment: HIVE-1607.1.patch.txt

> 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
>
>
> 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.