您的位置:首页 > 其它

kettle操作HIVE,可以链接,但不能取数的问题

2014-03-25 12:41 155 查看
进行hadoop copy file后,hive也可以在kettle进行脚本操作!

今天遇到一个问题,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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐