What are the various ways to import files into HDFS?

0 votes
I am new to Hadoop and I want to know what are the different ways through which I can bring data into HDFS.

I have a web application that is creating log files, how can i import the log files into HDFS?
Apr 13, 2018 in Big Data Hadoop by Shubham
• 12,270 points
144 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

There are various tools and frameworks available in Hadoop Ecosystem, using which you can import and export data to HDFS & from HDFS respectively.

let me tell you few of them and their use cases:

  1. hdfs dfs -put - simple way to insert files from local file system to HDFS
  2. HDFS Java API
  3. Sqoop - for bringing data to/from databases
  4. Flume - streaming files, logs
  5. Kafka - distributed queue, mostly for near-real time stream processing
  6. Nifi - incubating project at Apache for moving data into HDFS without making lots of changes

So for your purpose, the best solution for bringing web application logs to HDFS is through Flume.

answered Apr 13, 2018 by nitinrawat895
• 9,070 points

Related Questions In Big Data Hadoop

0 votes
5 answers
0 votes
1 answer

What are the different ways to load data from Hadoop to Azure Data Lake?

I would recommend you to go through ...READ MORE

answered Apr 18, 2018 in Big Data Hadoop by coldcode
• 1,980 points
45 views
0 votes
1 answer

What are the different ways of Installing Hadoop into our local machine?

Hadoop runs on Unix and on Windows. ...READ MORE

answered Aug 3, 2018 in Big Data Hadoop by Neha
• 6,140 points
94 views
0 votes
1 answer

What is the standard way to create files in your hdfs file-system?

Well, it's so easy. Just enter the below ...READ MORE

answered Sep 22, 2018 in Big Data Hadoop by Frankie
• 9,590 points
44 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
570 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 9,070 points
1,671 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
8,124 views
0 votes
1 answer
0 votes
1 answer

Copy file from HDFS to the local file system

There are two possible ways to copy ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by nitinrawat895
• 9,070 points
2,620 views
0 votes
11 answers

What is the default Namenode port of HDFS. Is it 8020 or 9000 or 50070?

8020/9000 hadoop namenode metadata port number. or ...READ MORE

answered Dec 31, 2018 in Big Data Hadoop by SM
5,562 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.