Support Questions

Find answers, ask questions, and share your expertise

hive related questions

avatar
Super Collaborator

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 ?

1 ACCEPTED SOLUTION

avatar
Guru

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

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

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.

avatar
Guru

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