Description
When we use hive catalog in flink, the failed exception message is not expected.
In method `registerHiveCatalog`, when the env 'HIVE_CONF_DIR' is not set, we expected the exception `InterpreterException("HIVE_CONF_DIR is not specified")`. But before this code scope, it will throw a NPE in line 492, because of `properties.getOrDefault("HIVE_CONF_DIR", System.getenv("HIVE_CONF_DIR"))` is null.
The solution is straightforward: remove the `.toString`