1. Error: dl failure on line 864
Error: failed /home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so, because /home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied
解决方法: /usr/sbin/setenforce 0
2. Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
解决方法:./hive -hiveconf hive.root.logger=DEBUG,console
输出错误日志,进行修改。一般都是hive用户mysql库权限问题。
3. org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:10000.
问题:hive --service hiveserver 启动hiveserver服务
解决方法:端口被占用 ,kill 该端口进程或者重新制定端口 hive --service hiveserver -p 10001
Error: failed /home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so, because /home/app/jdk1.7.0_21/jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied
解决方法: /usr/sbin/setenforce 0
2. Error in metadata: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.metastore.HiveMetaStoreClient
解决方法:./hive -hiveconf hive.root.logger=DEBUG,console
输出错误日志,进行修改。一般都是hive用户mysql库权限问题。
3. org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:10000.
问题:hive --service hiveserver 启动hiveserver服务
解决方法:端口被占用 ,kill 该端口进程或者重新制定端口 hive --service hiveserver -p 10001
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26834311/viewspace-1063265/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26834311/viewspace-1063265/