|
@@ -49,7 +49,7 @@ public class HDFSService implements Serializable {
|
|
|
public boolean copyToLocalFile(String hdfs, String local) throws IOException {
|
|
|
Path localP = new Path(local);
|
|
|
Path hdfsP = new Path(hdfs);
|
|
|
- fSystem.copyToLocalFile(hdfs, local);
|
|
|
+ fSystem.copyToLocalFile(hdfsP, localP);
|
|
|
return false;
|
|
|
}
|
|
|
}
|