Loading dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ public class CommonUtils { envPath = envDefaultPath.getPath(); logger.debug("env path :{}", envPath); }else{ envPath = System.getProperty("user.home") + File.separator + ".bash_profile"; envPath = "/etc/profile"; } } Loading dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java +2 −2 Original line number Diff line number Diff line Loading @@ -364,7 +364,7 @@ public class SqlTask extends AbstractTask { Connection connection){ if (resultSet != null){ try { connection.close(); resultSet.close(); } catch (SQLException e) { } Loading @@ -372,7 +372,7 @@ public class SqlTask extends AbstractTask { if (pstmt != null){ try { connection.close(); pstmt.close(); } catch (SQLException e) { } Loading Loading
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/CommonUtils.java +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ public class CommonUtils { envPath = envDefaultPath.getPath(); logger.debug("env path :{}", envPath); }else{ envPath = System.getProperty("user.home") + File.separator + ".bash_profile"; envPath = "/etc/profile"; } } Loading
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java +2 −2 Original line number Diff line number Diff line Loading @@ -364,7 +364,7 @@ public class SqlTask extends AbstractTask { Connection connection){ if (resultSet != null){ try { connection.close(); resultSet.close(); } catch (SQLException e) { } Loading @@ -372,7 +372,7 @@ public class SqlTask extends AbstractTask { if (pstmt != null){ try { connection.close(); pstmt.close(); } catch (SQLException e) { } Loading