未验证 提交 a3767642 编写于 作者: T tswstarplanet 提交者: GitHub

change static field to instance field (#2190)

上级 f6f29f4a
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册