huangxiaopingRD opened a new pull request, #8660: URL: https://github.com/apache/hudi/pull/8660
### Change Logs Add default database value in RunBootstrapProcedure. There will has a NPE if it doesn't has default. ```scala java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:460) at org.apache.hudi.cli.BootstrapExecutorUtils.syncHive(BootstrapExecutorUtils.java:196) at org.apache.hudi.cli.BootstrapExecutorUtils.execute(BootstrapExecutorUtils.java:185) at org.apache.spark.sql.hudi.command.procedures.RunBootstrapProcedure.call(RunBootstrapProcedure.scala:127) at org.apache.spark.sql.hudi.command.CallProcedureHoodieCommand.run(CallProcedureHoodieCommand.scala:33) at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70) at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68) at org.apache.spark.sql.execution.command.ExecutedCommandExec.executeCollect(commands.scala:79) at org.apache.spark.sql.Dataset.$anonfun$logicalPlan$1(Dataset.scala:228) at org.apache.spark.sql.Dataset.$anonfun$withAction$1(Dataset.scala:3687) at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$5(SQLExecution.scala:103) at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:163) at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutionId$1(SQLExecution.scala:90) at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:778) at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:64) at org.apache.spark.sql.Dataset.withAction(Dataset.scala:3685) at org.apache.spark.sql.Dataset.<init>(Dataset.scala:228) at org.apache.spark.sql.Dataset$.$anonfun$ofRows$2(Dataset.scala:99) at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:778) at org.apache.spark.sql.Dataset$.ofRows(Dataset.scala:96) at org.apache.spark.sql.SparkSession.$anonfun$sql$1(SparkSession.scala:621) at org.apache.spark.sql.SparkSession.withActive(SparkSession.scala:778) at org.apache.spark.sql.SparkSession.sql(SparkSession.scala:616) at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:650) ``` ### Impact No ### Risk level (write none, low medium or high below) None ### Documentation Update ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Change Logs and Impact were stated clearly - [ ] Adequate tests were added if applicable - [ ] CI passed -- 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. To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org