我要的是正前方的Hive桌当我插入这个表时,我得到以下错误。正在执行kill命令,Map器和还原器的数目为0。
我在表dept值中使用了insert('1','hr');即使这样,我也得到了如下类似的错误我已经检查了工作日志如下我在Hive的配置上遗漏了什么。需要帮助。。。谢谢
zzzyeukh1#
这不是write命令
INSERT INTO TABLE dept VALUES ('1', 'HR'), ('2', 'IT');
在表名之前使用表,它将起作用问题更新时更新:套yarn\u home=$hadoop\u home而不是hadoop\u yarn\u home=$hadoop\u home在env安装文件中,这将是一个很好的例子。export hadoop\u home=/opt/hadoop/hadoop export hadoop\u common\u home=$hadoop\u home export hadoop\u hdfs\u home=$hadoop\u home export hadoop\u mapred\u home=$hadoop\u home export hadoop\u yarn\u home=$hadoop\u home export hadoop\u opts=“-djava.library.path=$hadoop\u home/lib/native”export hadoop\u common\u lib\u native\u dir=$hadoop\u home/lib/native
1条答案
按热度按时间zzzyeukh1#
这不是write命令
在表名之前使用表,它将起作用
问题更新时更新:
套
yarn\u home=$hadoop\u home而不是hadoop\u yarn\u home=$hadoop\u home
在env安装文件中,这将是一个很好的例子。
export hadoop\u home=/opt/hadoop/hadoop export hadoop\u common\u home=$hadoop\u home export hadoop\u hdfs\u home=$hadoop\u home export hadoop\u mapred\u home=$hadoop\u home export hadoop\u yarn\u home=$hadoop\u home export hadoop\u opts=“-djava.library.path=$hadoop\u home/lib/native”export hadoop\u common\u lib\u native\u dir=$hadoop\u home/lib/native