diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AddPartitionEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AddPartitionEvent.java index 9ced60b322..11d74ed9c2 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AddPartitionEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AddPartitionEvent.java @@ -82,7 +82,7 @@ public class AddPartitionEvent extends MetastoreTableEvent { .addExternalPartitions(catalogName, dbName, hmsTbl.getTableName(), partitionNames, true); } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterPartitionEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterPartitionEvent.java index bc0eeeee16..788b79f885 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterPartitionEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterPartitionEvent.java @@ -91,7 +91,7 @@ public class AlterPartitionEvent extends MetastoreTableEvent { } } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterTableEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterTableEvent.java index 902ceacfa7..a0a86bf6c3 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterTableEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/AlterTableEvent.java @@ -121,7 +121,7 @@ public class AlterTableEvent extends MetastoreTableEvent { .refreshExternalTable(tableBefore.getDbName(), tableBefore.getTableName(), catalogName, true); } catch (Exception e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateDatabaseEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateDatabaseEvent.java index 2205356caf..e115f80f51 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateDatabaseEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateDatabaseEvent.java @@ -51,7 +51,7 @@ public class CreateDatabaseEvent extends MetastoreEvent { .createExternalDatabase(dbName, catalogName, true); } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateTableEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateTableEvent.java index 1dbfd08ccf..a97d131dce 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateTableEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/CreateTableEvent.java @@ -62,7 +62,7 @@ public class CreateTableEvent extends MetastoreTableEvent { Env.getCurrentEnv().getCatalogMgr().createExternalTable(dbName, hmsTbl.getTableName(), catalogName, true); } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropDatabaseEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropDatabaseEvent.java index a11e893ef2..6f6364657b 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropDatabaseEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropDatabaseEvent.java @@ -51,7 +51,7 @@ public class DropDatabaseEvent extends MetastoreEvent { .dropExternalDatabase(dbName, catalogName, true); } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropPartitionEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropPartitionEvent.java index 59254fc4f2..a53cf218db 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropPartitionEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropPartitionEvent.java @@ -82,7 +82,7 @@ public class DropPartitionEvent extends MetastoreTableEvent { .dropExternalPartitions(catalogName, dbName, hmsTbl.getTableName(), partitionNames, true); } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropTableEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropTableEvent.java index d42de68cbb..c73a59f1c3 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropTableEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/DropTableEvent.java @@ -62,7 +62,7 @@ public class DropTableEvent extends MetastoreTableEvent { Env.getCurrentEnv().getCatalogMgr().dropExternalTable(dbName, tableName, catalogName, true); } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } } diff --git a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/InsertEvent.java b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/InsertEvent.java index 2b53e86639..27438a4dcb 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/InsertEvent.java +++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/hive/event/InsertEvent.java @@ -69,7 +69,7 @@ public class InsertEvent extends MetastoreTableEvent { Env.getCurrentEnv().getCatalogMgr().refreshExternalTable(dbName, tblName, catalogName, true); } catch (DdlException e) { throw new MetastoreNotificationException( - debugString("Failed to process event")); + debugString("Failed to process event"), e); } } }