mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 19:58:29 +08:00
change static field to instance field (#2190)
This commit is contained in:
parent
f6f29f4abb
commit
a3767642a5
@ -64,8 +64,8 @@ public class HadoopUtils implements Closeable {
|
||||
}
|
||||
});
|
||||
|
||||
private static Configuration configuration;
|
||||
private static FileSystem fs;
|
||||
private Configuration configuration;
|
||||
private FileSystem fs;
|
||||
|
||||
private static String hdfsUser = PropertyUtils.getString(Constants.HDFS_ROOT_USER);
|
||||
|
||||
@ -99,7 +99,7 @@ public class HadoopUtils implements Closeable {
|
||||
/**
|
||||
* init hadoop configuration
|
||||
*/
|
||||
private static void init() {
|
||||
private void init() {
|
||||
try {
|
||||
configuration = new Configuration();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user