Kettle 文本输入步骤读取异常 DOS format was specified

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

在使用KETTLE抽取文本文件数据到数据库,出现了一个错误:
2013/10/23 10:34:34 - Trans - 这项转换可以被回放 回放日期是: 2013/10/23 10:34:33
2013/10/23 10:36:49 - 文本文件输入.0 - Opening file: D:\kettle\decode_210_10209_td2_alcatel_20091209.stat
2013/10/23 10: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:\HLYY_CFMX.txt --> org.pentaho.di.core.exception.KettleFileException:
2013/10/23 10:36:50 - 文本文件输入.0 - ERROR (version 3.2.0-GA, build 10572 from 2009-05-12 08.45.26 by buildguy) :
2013/10/23 10: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
2013/10/23 10:36:56 - 文本文件输入.0 - 完成处理 (I=0, O=0, R=0, W=0, U=0, E=1
2013/10/23 10:36:56 - Kettle - 转换被检测
2013/10/23 10: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次



Kettle 文本输入步骤读取异常 DOS format was specified_第1张图片

你可能感兴趣的:(Kettle 文本输入步骤读取异常 DOS format was specified)