publicFSDataInputStream getFSDataInputStream(String srcFilePath) {
System.setProperty("HADOOP_HOME", "/usr/local/hadoop");
FSDataInputStream dataInputStream= null;
OutputStream output= null;
String FileName= String.format("data-%s", System.currentTimeMillis());
String destFilePath= TEMP_FILE_PATH +FileName;
final String path=srcFilePath;
Configuration config= newConfiguration();//config.set("fs.default.name", "hdfs://master:9000");
config.set("fs.hdfs.impl", org.apache.hadoop.hdfs.DistributedFileSystem.class.getName());
FileSystem fileSystem= null;try{
fileSystem= FileSystem.get(URI.create(path), config);if (!f