Is it possible to explain difference between -copyFromLocal and -put command in Hadoop. I am not able to find any good document which says the difference between two commands.
Asked
Active
Viewed 689 times
1 Answers
1
Well one can explain if there is a difference and i don't think there is. Look at the code below all that CopyFromLocal does is extends Put with no additional functionality.
public static class CopyFromLocal extends Put {
public static final String NAME = "copyFromLocal";
public static final String USAGE = Put.USAGE;
public static final String DESCRIPTION = "Identical to the -put command.";
}

OneCricketeer
- 179,855
- 19
- 132
- 245

Gopi Kolla
- 964
- 6
- 12
-
Answer already exists. See comment above – OneCricketeer Nov 13 '16 at 21:16