List of Topics:
Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to Create a New File in HDFS

Create a New File in HDFS

Creating a New File in HDFS

  • Description:
    To create a new file in HDFS, ensure that all necessary Hadoop services are active. Then, use the Hadoop command line tool to upload a local file to HDFS. The file is moved from a local path to a specified location in HDFS using the appropriate command. Additionally, empty files can be created, and data can be appended to existing files.

Syntax:

  • mkdir path
  • Command: mkdir /home/hadoop/bigdata.txt

Screenshots
  • HDFS File Creation Screenshot 1