HDFS is basic a FileSystem such as Linux, Microsoft windows or even Mac OS. However, it has been designed to store data in multiples servers, called DataNode. Below a list of basic command line to keep folders and files into HDFS.
Before running below commands, you should format your original file system as an HDSF.
hdfs namenode -format
|what does||command line|
|create a new folder into||
hdfs dfs -mkdir /bigdata
|to put a file into hdfs folder||
hdfs dfs -put file.csv /bigdata/file.csv
|to get a file from a hdfs folder||
hdfs dfs -get /bigdata/file.csv /home/