diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java index 1957fac776..a1a7d90bfe 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java @@ -859,7 +859,7 @@ Long bootStrapDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot, Hive hiveDb) " with first incremental dump pending : " + dbName); } int estimatedNumTables = Utils.getAllTables(hiveDb, dbName, work.replScope).size(); - int estimatedNumFunctions = hiveDb.getAllFunctions().size(); + int estimatedNumFunctions = hiveDb.getFunctions(dbName, "*").size(); replLogger = new BootstrapDumpLogger(dbName, dumpRoot.toString(), estimatedNumTables, estimatedNumFunctions);