hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Sherman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-16991) HiveMetaStoreClient needs a 2-arg constructor for backwards compatibility
Date Thu, 29 Jun 2017 17:03:00 GMT

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

Andrew Sherman updated HIVE-16991:
----------------------------------
    Description: 
Some client code that is not easy to change uses a 2-arg constructor on HiveMetaStoreClient.
It is trivial and safe to add this constructor:

{noformat}
public HiveMetaStoreClient(HiveConf conf, HiveMetaHookLoader hookLoader) throws MetaException
{
    this(conf, hookLoader, true);
}
{noformat}

  was:
Some client code that is not easy to change uses a 2-arg constructor on HiveMetaStoreClient.
It is trivial and safe to add this constructor:

{quote}
public HiveMetaStoreClient(HiveConf conf, HiveMetaHookLoader hookLoader) throws MetaException
{
    this(conf, hookLoader, true);
}
{quote}


> HiveMetaStoreClient needs a 2-arg constructor for backwards compatibility
> -------------------------------------------------------------------------
>
>                 Key: HIVE-16991
>                 URL: https://issues.apache.org/jira/browse/HIVE-16991
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Andrew Sherman
>            Assignee: Andrew Sherman
>
> Some client code that is not easy to change uses a 2-arg constructor on HiveMetaStoreClient.
> It is trivial and safe to add this constructor:
> {noformat}
> public HiveMetaStoreClient(HiveConf conf, HiveMetaHookLoader hookLoader) throws MetaException
{
>     this(conf, hookLoader, true);
> }
> {noformat}



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

Mime
View raw message