load data inpath '/ss.txt' into table stu_buck; Query ID = root_20230607152813_9b23ac0d-4120-4267-b5ec-a6cb0eaf0988 Total jobs = 2 Launching Job 1 out of 2 Number of reduce tasks determined at compile time: 4 In order to change the average load for a reducer (in bytes): set hive.exec.reducers.bytes.per.reducer=<number> In order to limit the maximum number of reducers: set hive.exec.reducers.max=<number> In order to set a constant number of reducers: set mapreduce.job.reduces=<number> Cannot run job locally: Number of reducers (= 4) is more than 1 Starting Job = job_1686122831321_0001, Tracking URL = http://hadoop100:8088/proxy/application_1686122831321_0001/ Kill Command = /opt/module/hadoop-3.1.3/bin/mapred job -kill job_1686122831321_0001
时间: 2024-04-23 19:25:15 浏览: 118
stu-class.rar_be a stu_beautiful_https://stuclass_https://stucla
这段代码是在将数据文件 `/ss.txt` 加载到 Hive 表 `stu_buck` 中。其中的警告信息是关于 MapReduce 任务的配置,告诉你当前任务需要启动一个 Map 任务和四个 Reduce 任务,但是由于这里是本地模式,所以不能运行。它会启动一个 MapReduce 作业,并提供作业 ID 和跟踪 URL,同时还提供了一个 kill 命令,以便你可以在需要的时候终止作业。
阅读全文