Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 06-29-2017 07:16 PM
I have two questions related to hive tables :
1- if I create a hive orc table via Sqoop where on hdfs the related files are created and which parameter is controlling it?
2- can this location be specified at load time ?
Created 06-29-2017 08:21 PM
Hi @Sami Ahmad Check out the parameters --target-dir and --warehouse-dir that can be used with the sqoop-import command.
There are more details here:
https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_controlling_the_import_process_2
Created 06-29-2017 07:36 PM
ok location I found , its in
hive.metastore.warehouse.dir
but still would like to know if I can specify a different location at the time of load.Created 06-29-2017 08:21 PM
Hi @Sami Ahmad Check out the parameters --target-dir and --warehouse-dir that can be used with the sqoop-import command.
There are more details here:
https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_controlling_the_import_process_2