摘要:
1.第一种方法 当存储路径与表所在路径不一致时,可以load进去,如果表中字段类型不对应,该字段的值将会为空 load data inpath 'hdfs://hadoop01:9000/tmp/sales_info.txt' overwrite into table sales_info part 阅读全文
摘要:
shell脚本报错/bin/bash^M: bad interpreter: No such file or directory,通过查阅资料得知,shell脚本格式必须是unix才行,但我这个脚本是在windows上编写完成传到Linux服务器上的,所以一执行就报错: windows环境下的文件是 阅读全文