DOS format was specified but only a single line feed character was found, not 2
2015-08-21 18:38
796 查看
在使用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次
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次
相关文章推荐
- jsp 页面倒计时
- 关Jquery判断input type="checkbox"元素是否被选中的判断
- js中的变量
- 【写一个自己的js库】 1.搭个架子先
- input验证是否为有效手机号码-js
- js 数据存入数组
- CSS中行高line-height属性的一些使用技巧
- js对象 函数
- AES加密CBC模式兼容互通四种编程语言平台【PHP、Javascript、Java、C#】
- JSChart
- jQuery实现向下滑出的平滑下拉菜单效果
- w3school html学习 内容源于w3school
- 我们为什么不得不学习javascript?
- js String对象中常用方法小结(字符串操作)
- Gson解析复杂json格式
- Remove Nth Node From End of List
- jQuery学习笔记(一)
- HTML【2】表单提交与服务层的模拟(详解get与post提交方式的不同)
- JSP点滴碎知识
- 原生js懒加载