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

Steve Loughran commented on HIVE-13901:
---------------------------------------

Those catch and wrap exceptions need to retain the inner one as otherwise the 
exception cause can never be really identified.

{code}
// from
throw new MetaException(e.getMessage());

// to
throw new MetaException(e.getMessage(), e);

// or, if that constructor isn't there
throw (MetaException)new MetaException(e.getMessage()).initCause(e);
{code}

> Hivemetastore add partitions can be slow depending on filesystems
> -----------------------------------------------------------------
>
>                 Key: HIVE-13901
>                 URL: https://issues.apache.org/jira/browse/HIVE-13901
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Rajesh Balamohan
>            Priority: Minor
>         Attachments: HIVE-13901.1.patch
>
>
> Depending on FS, creating external tables & adding partitions can be 
> expensive (e.g msck which adds all partitions).



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

Reply via email to