在hue中 用sqoop从pg导数据导如hdfs 成功,但在写入hive表中时,报错:
Encountered IOException running import job: java.io.IOException: Cannot run program "hive": error=2, No such file or directory
在节点上执行没有问题,在hue>shell中执行也没有问题,但在hue>sqoop中却报错,解决如下:
在 import --hive-table 后增加 --hive-home /usr/local/service/hive