Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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