如果使用sqoop导出数据时,总是遇到:Can’t parse input data: ‘’" 感觉莫名其妙; 其实多半原因是数据里有回车换行,也就是空行导致的,去除空行即可,请注意。 使用replace("\r\n","")把空行去掉