kettle连接hive错误
2015-11-09 11:33
295 查看
hive运行报错
--service hiveserver >/dev/null 2>/dev/null & 放到linux后端执行,问题解决ok。
错误连接数据库 [hive] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class org.apache.hadoop.hive.jdbc.HiveDriver) org.apache.thrift.transport.TTransportException: java.net.SocketException: Connection reset org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class org.apache.hadoop.hive.jdbc.HiveDriver) org.apache.thrift.transport.TTransportException: java.net.SocketException: Connection reset at org.pentaho.di.core.database.Database.normalConnect(Database.java:415) at org.pentaho.di.core.database.Database.connect(Database.java:353) at org.pentaho.di.core.database.Database.connect(Database.java:306) at org.pentaho.di.core.database.Database.connect(Database.java:294) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:84) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2459) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)kettle服务稳定运行了一个多月,今天上班时突然,出现上述错误,很明显是hiveserver进程挂了,使用hive --service hiveserver >/dev/null 2>/dev/null &命令启动服务,会话关闭,hiveserver进程退出,使用nohup hive
--service hiveserver >/dev/null 2>/dev/null & 放到linux后端执行,问题解决ok。
相关文章推荐
- 给定的逗号分隔的数字字符串转换为Table
- 很多时候真是莫名其妙的
- win7开机报错“0x7ccaaa9b指令引用的内存”的原因以及解决方法
- 使用WebView时请使用RelativeLayout
- oracle自定义函数
- Android中Snackbar的介绍以及使用
- Android中Snackbar的介绍以及使用
- opengl和osg的坐标系统
- iOS 下,UILable自适应高度的方法
- (学习笔记)android 5.0 系统去电流程状态判断(上)
- 阅读 JAVA并发编程实战 (一)
- sql 列集合转换成逗号分隔的字符类型
- Scktsrvr.exe的源程序
- Cheerio,服务端的JQuery。
- ubuntu使用遇到的问题
- 基本的UI控件和布局文件
- 在Linux系统的VPS上对硬盘进行分区、格式化和挂载的方法
- SVN使用教程之-分支/标记 合并 subeclipse
- 探索推荐引擎内部的秘密,第 1 部分: 推荐引擎初探
- 探索推荐引擎内部的秘密,第 1 部分: 推荐引擎初探