Reputation: 121
I have psudeo distributed hadoop environment and using sqoop and hive for data importing and analysis.
I used sqoop to import data from mysql to hive and it worked, i got data in my hive location which is /user/hive/warehouse/
and i can able to see the data in hive table.
my doubts are :
/user/hive/warehouse
in my hdfs?I am confuse while performing data ingestion using sqoop and hdfs concept
Can somebody help me on this?
Upvotes: 0
Views: 240
Reputation: 4957
Answers
1- Data is stored in HDFS only.
2- Property "hive.metastore.warehouse.dir" at hive-default.xml value tells where data will be stored default value is "/user/hive/warehouse"
3- User Query are converted on MapReduse job more detail
4- You can use SQOOP for incremental data load and all data will be stored on HDFS and if you have created table on the it will reflect.
Upvotes: 2