kettle操作HIVE,可以链接,但不能取数的问题
2014-03-25 12:41
155 查看
进行hadoop copy file后,hive也可以在kettle进行脚本操作!
今天遇到一个问题,kettle采用“表输入”的方式获取数据,输出到文件或者库,问题:
检查链接配置,发现链接是可以的
根据错误提示:org.pentaho.di.core.exception.KettleDatabaseException
没做hadoop 2.20的配置前,kettle4.4是支持hive的取数
解决:
采用kettle5.0.1,配置hadoop 2.20的相关插件后,是可以了
参考:http://www.csdn123.com/html/itweb/20130920/127944_127934_127938.htm
今天遇到一个问题,kettle采用“表输入”的方式获取数据,输出到文件或者库,问题:
2014/03/25 11:36:55 - hadoop_hive_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ERROR executing query: org.pentaho.di.core.exception.KettleDatabaseException: 2014/03/25 11:36:55 - hadoop_hive_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error getting row information from database: 2014/03/25 11:36:55 - hadoop_hive_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Method not supported 2014/03/25 11:36:55 - hadoop_hive_test - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ERROR in part: openQuery : get rowinfo 2014/03/25 11:36:55 - 表输入.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected error 2014/03/25 11:36:55 - 表输入.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException: 2014/03/25 11:36:55 - 表输入.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : An error occurred executing SQL in part [openQuery : get rowinfo]: 2014/03/25 11:36:55 - 表输入.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : SELECT *
检查链接配置,发现链接是可以的
根据错误提示:org.pentaho.di.core.exception.KettleDatabaseException
没做hadoop 2.20的配置前,kettle4.4是支持hive的取数
解决:
采用kettle5.0.1,配置hadoop 2.20的相关插件后,是可以了
参考:http://www.csdn123.com/html/itweb/20130920/127944_127934_127938.htm
相关文章推荐
- FMDB多线程读写问题,使用FMDataBaseQueue操作可以解决同时打开一个链接de读写问题
- 解决:kettle连接hadoop 2.20后,导致不能连接Hive的问题
- 解决Mysql连接池被关闭 ,hibernate尝试连接不能连接的问题。 (默认mysql连接池可以访问的时间为8小时,如果超过8小时没有连接,mysql会自动关闭连接池。系统发布第二天访问链接关闭问题。
- 你就是一个画家!你现在想绘制一幅画,但是你现在没有足够颜色的颜料。为了让问题简单,我们用正整数表示不同颜色的颜料。你知道这幅画需要的n种颜色的颜料,你现在可以去商店购买一些颜料,但是商店不能保证能供应所有颜色的颜料,所以你需要自己混合一些颜料。混合两种不一样的颜色A和颜色B颜料可以产生(A XOR B)这种颜色的颜料(新产生的颜料也可以用作继续混合产生新的颜色,XOR表示异或操作)。本着勤俭节约的
- 解决Java中int不能为空而Oracle数据库中Number可以的问题
- 解决ubuntu系统中的vi不能习惯操作的问题
- 用autoIt解决selenium不能操作对话框的问题
- fcitx 关于多语言,不同编码的一点说明;同时也可以用于解决fcitx不能输入问题
- thinkphp你发现关联操作增删改不能成功的问题
- 《我的智囊团J2EE项目实训视频》第20节,可以解决下载到66%不能进行的问题!!
- Win7下VS2010不能链接问题
- Win7下VS2010不能链接问题
- JTable放到JScrollPane里,可以上下滚动,但是不能左右滚动问题解决
- Linux上添加udev规则使adb可以操作Android设备的注意问题
- WIN7 64位可以上网 其他程序不能访问网络的问题
- 解决Java中int不能为空而Oracle数据库中Number可以的问题
- 使用git时遇到可以克隆但不能推送自己的项目 的问题
- LInuxMInt 解决ipv6不能链接问题
- JTable放到JScrollPane里,可以上下滚动,但是不能左右滚动问题解决
- 给jqGrid数据行添加修改和删除操作链接(可以执行)