Path path= new Path("user/D/filelLocation/");fs.mkdirs(path);
hadoop fs -mkdir <path>
FileSystem fs = FileSystem.get(conf);fs.delete(new Path(“path”,true)) //delete file
hadoop fs -rm -r <hadoop path>