我正在将一个表从netezza导入到hive中。我在sqoop命令中明确提到了我的目标目录,但它总是采用默认路径:/user/hive/warehouse如何更改此默认路径??
8zzbczxx1#
在$hive\u conf/conf/hive-site.xml中,您必须输入以下内容:
<property> <name>hive.metastore.warehouse.dir</name> <value>your/directory/in/hdfs</value> </property>
然后重启Hive。
1条答案
按热度按时间8zzbczxx1#
在$hive\u conf/conf/hive-site.xml中,您必须输入以下内容:
然后重启Hive。