[Author]: kwu sqoop从关系库导出数据到hive,sqoop支持条件查询关系库中的数到hive数据仓库中,并且字段无须与hive表中的字段一致。 具体实现的脚本: [plain] view plain copy #!/bin/sh # upload logs to hdfs