Reputation: 27
How to pass hive conf parameter with Sqoop import job.
SET hive.tez.container.size=4096
I am using this hive conf from hive cli every time.
Upvotes: 1
Views: 326
Reputation: 1380
<command>[SQOOP-COMMAND]</command>
<arg>[SQOOP-ARGUMENT]</arg>
<file>lib/hive-site.xml</file>
Upvotes: 1
Reputation: 38325
Use -D hive.tez.container.size=4096
option in sqoop command line (you can add many -D options):
sqoop import -Dhive.tez.container.size=4096 -Dsomething_else -Dmapreduce.map.java.opts=-Xmx4096m ... other parameters
Upvotes: 1