maheshk114 commented on a change in pull request #883: HIVE-22736 Support 
multiple encryption zones in replication
URL: https://github.com/apache/hive/pull/883#discussion_r371589875
 
 

 ##########
 File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java
 ##########
 @@ -2836,9 +2836,14 @@ private boolean checkTableDataShouldBeDeleted(Table 
tbl, boolean deleteData) {
      *                data from warehouse
      * @param shouldEnableCm If cm should be enabled
      */
-    private void deleteTableData(Path tablePath, boolean ifPurge, boolean 
shouldEnableCm) throws MetaException {
+    private void deleteTableData(Path tablePath, boolean ifPurge, boolean 
shouldEnableCm) {
       if (tablePath != null) {
-        wh.deleteDir(tablePath, true, ifPurge, shouldEnableCm);
+        try {
+          wh.deleteDir(tablePath, true, ifPurge, shouldEnableCm);
+        } catch (MetaException e) {
 
 Review comment:
   shall we change it to any exception ..including run time exception ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to