hadoop copyfromlocal

Usage: hadoop fs - copyFromLocal <localsrc> URI
bin/hadoop dfs -copyFromLocal /home/delu/ml-100k/u.data my.data
--copyFromLocal hadoop command Similar to put command (copyFromLocal and put command), except that the source is restricted to a local file reference.
The -f option will overwrite the destination if it already exists.
bin/hadoop dfs -copyFromLocal <local_FS_filename> <target_on_HDFS>

Copyright © C Program | Java | OpenGL Programming | Hadoop at Computaholics