hive启动报错,找不到system:java.io.tmpdir和system:user.name那么

hive启动的时候报如下的错误,那是因为system:java.io.tmpdir和system:user.name找不到,把所有含此字符的都替换成成绝对值就好了。
hive启动报错,找不到system:java.io.tmpdir和system:user.name那么

解决:

把yarn-site.xml中所有含有system:java.io.tmpdir{system:java.io.tmpdir}和{system:user.name}替换成绝对路径即可
然后hive 重启
改了之后
hive启动报错,找不到system:java.io.tmpdir和system:user.name那么
启动成功
hive启动报错,找不到system:java.io.tmpdir和system:user.name那么