加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

kettle中数据导入的格式错误

(2010-10-02 15:34:09)
标签:

杂谈

DOS format was specified but only a single line feed character was found, not 2

在使用KETTLE开发transform的时候,遇到了这个问题。transform的逻辑是使用一个“文本文件输入”读取了一个文件。在预览记录的时候出现了一个错误
2009/12/16 17:34:34 - Trans - 这项转换可以被回放 回放日期是: 2009/12/16 17:34:33
2009/12/16 17:36:49 - 文本文件输入.0 - Opening file: D:\kettle\decode_210_10209_td2_alcatel_20091209.stat
2009/12/16 17:36:50 - 文本文件输入.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : Couldn't open file #1 : D:\kettle\decode_210_10209_td2_alcatel_20091209.stat --> org.pentaho.di.core.exception.KettleFileException:
2009/12/16 17:36:50 - 文本文件输入.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) :
2009/12/16 17:36:50 - 文本文件输入.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) : DOS format was specified but only a single line feed character was found, not 2
2009/12/16 17:36:56 - 文本文件输入.0 - 完成处理 (I=0, O=0, R=0, W=0, U=0, E=1
2009/12/16 17:36:56 - Kettle - 转换被检测
2009/12/16 17:36:56 - Kettle - 转换正在杀死其他步骤!
 
解决办法: in the text input step under the content tab there's an option "Format". In your case it's set to DOS, try setting it to Unix or Mixed and run it again.
--在内容栏,把格式由DOS,改成UNIX 或者 MIXED 再试1次

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有