Default HDP hadoop directory structure

Whenever we install or making a framework around hadoop, every developer come across a common question 
what is the direcotry structure of HDP (hortonworks) distribution of hadoop.

For this i have put the default directory structure of hortonworks distribution
hope it useful to you.



Hadoop ServiceParameterDefinition
HDFS
DFS_NAME_DIR
Space separated list of directories where NameNode should store the file system image.
For example,
/grid/hadoop/hdfs/nn
/grid1/hadoop/hdfs/nn
HDFS
DFS_DATA_DIR
Space separated list of directories where DataNodes should store the blocks.
For example,
/grid/hadoop/hdfs/dn
/grid1/hadoop/hdfs/dn
/grid2/hadoop/hdfs/dn
HDFS
FS_CHECKPOINT_DIR
Space separated list of directories where SecondaryNameNode should store the checkpoint image.
For example,
/grid/hadoop/hdfs/snn
/grid1/hadoop/hdfs/snn
/grid2/hadoop/hdfs/snn
HDFS
HDFS_LOG_DIR
Directory for storing the HDFS logs. This directory name is a combination of a directory and the$HDFS_USER.
For example, /var/log/hadoop/hdfs
where hdfs is the $HDFS_USER
HDFS
HDFS_PID_DIR
Directory for storing the HDFS process ID. This directory name is a combination of a directory and the $HDFS_USER.
For example, /var/run/hadoop/hdfs
where hdfs is the $HDFS_USER
HDFS
HADOOP_CONF_DIR
Directory for storing the Hadoop configuration files.
For example, /etc/hadoop/conf
MapReduce
MAPREDUCE_LOCAL_DIR
Space separated list of directories where MapReduce should store temporary data.
For example,
/grid/hadoop/mapred
/grid1/hadoop/mapred
/grid2/hadoop/mapred
MapReduce
MAPRED_LOG_DIR
Directory for storing the HDFS logs.
For example, /var/log/hadoop/mapred
This directory name is a combination of a directory and the $MAPRED_USER. In the examplemapred is the $MAPRED_USER
MapReduce
MAPRED_PID_DIR
Directory for storing the MapReduce pro­cess ID.
For example, /var/run/hadoop/mapred
This directory name is a combination of a directory and the $MAPRED_USER. In the example,mapred is the $MAPRED_USER.