启动报错
1、Exception in thread "main"java.lang.RuntimeException: java.lang.IllegalArgumentException:java.net.URISyntaxException: Relative path in absolute URI:${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
解决方法
hive.querylog.location
hive.exec.local.scratchdir
hive.downloaded.resources.dir
三个值写成绝对值
2、Found class jline.Terminal, but interface was expected
解决方法:hadoop目录下存在老版本jline,用新版本代替。
3、Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create directory /tmp/hive/root/0f671ef9-fe2e-48db-9019-c08145fe9f75. Name node is in safe mode.
解决方法:关闭hadoop安全模式,Hadoopdfsadmin -safemode leave
网友评论