hive> show databases;
OK
Failed with exception java.io.IOException:java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:user.name%7D
Time taken: 0.744 seconds
hive>
解决办法:找到hive安装目录下conf配置文件目录:打开hive-site.xml文件
vi hive-site.xml
找到如下属性:
hive.querylog.location ${system:java.io.tmpdir}/${system:user.name} Location of Hive run time structured log file
改为:
hive.querylog.location ${system:java.io.tmpdir}/${user.name} Location of Hive run time structured log file



