private void initUDFRelatedInstance() throws StartupException {
    try {
      UDFExecutableManager.setupAndGetInstance(config.getUdfTemporaryLibDir(), config.getUdfDir());
      UDFClassLoaderManager.setupAndGetInstance(config.getUdfDir());
    } catch (IOException e) {
      throw new StartupException(e);
    }
  }
Generate dataNodeConfiguration. Warning: Don't private this method !!!

@return TDataNodeConfiguration
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java