CycloneBoy commented on issue #2623: URL: https://github.com/apache/incubator-dolphinscheduler/issues/2623#issuecomment-656997405
This bug has been fixed. [source code of branch dev: CommonUtils.java](https://github.com/apache/incubator-dolphinscheduler/blob/dev/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java) ```java /** * @return get the path of system environment variables */ public static String getSystemEnvPath() { String envPath = PropertyUtils.getString(Constants.DOLPHINSCHEDULER_ENV_PATH); if (StringUtils.isEmpty(envPath)) { URL envDefaultPath = CommonUtils.class.getClassLoader().getResource(Constants.ENV_PATH); if (envDefaultPath != null){ envPath = envDefaultPath.getPath(); logger.debug("env path :{}", envPath); }else{ envPath = "/etc/profile"; } } return envPath; } ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
