I created a directory as below and create hive table using below syntax
a) 1) dfs -mkdir /app/hadoop/warehouse/
2) Create table employee ( empid int, name string , surname string) row format delimited fields terminated by ‘,’ location ‘/app/hadoop/warehouse/’;
3) load data inpath ‘/input file location .txt’ overwrite into table employee;
if my understanding is correct , all the blocks are stored under /app/hadoop/warehouse/ directory. Please confirm ?
b) what is the purpose of dfs.data.dir parameter in hdfs-site.xml , for the directories we mention here?
c) What ever the directory we create as the part of step a) should be mentioned in Step b) ?
I appreciate , for your clarification
Thanks Naveen