Hi,

Please read http://hadoop.apache.org/common/docs/current/hdfs_user_guide.html
to get started with using HDFS.

To answer your question specifically though, use the "copyFromLocal"
or the "put" commands with the "hadoop" (0.20/1.0+) or "hdfs"
(0.22/0.23/2.0+) executables, as detailed here:
http://hadoop.apache.org/common/docs/current/file_system_shell.html#copyFromLocal

hadoop fs -put <local log file path> <path it should go to on the HDFS>

On Sun, May 13, 2012 at 9:53 AM, AnExplorer <satishtha...@gmail.com> wrote:
>
> Hi, I am novice in Hadoop. Kindly suggest how do we load log files into hdfs.
> Please suggest the command and steps.
> Thanks in advance!!
> --
> View this message in context: 
> http://old.nabble.com/How-to-load-raw-log-file-into-HDFS--tp33815208p33815208.html
> Sent from the Hadoop core-user mailing list archive at Nabble.com.
>



-- 
Harsh J

Reply via email to