gpt4 book ai didi

hadoop - 在Hadoop中使用SQOOP提取记录

转载 作者:行者123 更新时间:2023-12-02 21:40:20 25 4
gpt4 key购买 nike

我在Hadoop生态系统(CentOS Linux)中使用SQOOP提取更多记录的数据时遇到问题

如果我们尝试对表中的50条记录进行导入,则该表将成功运行,并且数秒钟之内即可将数据导入集群。
如果我们尝试100条记录,则不会显示任何进展。 PFA终端输出的成功和失败情况。 PFB发出了同样的sqoop命令。

15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: Creating symlink: /tmp/mapred/local/1426570684848/hsqldb-1.8.0.10.jar <- /root/Desktop/hsqldb-1.8.0.10.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: Localized hdfs://10.192.25.223:9000/opt/Installations/sqoop/lib/hsqldb-1.8.0.10.jar as file:/tmp/mapred/local/1426570684848/hsqldb-1.8.0.10.jar
15/03/17 11:08:05 WARN conf.Configuration: file:/tmp/mapred/local/localRunner/root/job_local320009395_0001/job_local320009395_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.retry.interval; Ignoring.
15/03/17 11:08:05 WARN conf.Configuration: file:/tmp/mapred/local/localRunner/root/job_local320009395_0001/job_local320009395_0001.xml:an attempt to override final parameter: mapreduce.job.end-notification.max.attempts; Ignoring.
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684831/netty-3.4.0.Final.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684832/jetty-util-6.1.26.cloudera.2.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684833/ant-contrib-1.0b3.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684834/servlet-api-2.5-20081211.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684835/commons-io-1.4.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684836/snappy-java-1.0.5.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684837/paranamer-2.3.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684838/jackson-core-asl-1.9.13.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684839/sqoop-1.4.4-cdh5.1.3.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684840/commons-compress-1.4.1.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684841/avro-ipc-1.7.5-cdh5.1.3-tests.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684842/jackson-mapper-asl-1.9.13.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684843/ojdbc14.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684844/avro-1.7.5-cdh5.1.3.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684845/ant-eclipse-1.0-jvm1.2.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684846/avro-mapred-1.7.5-cdh5.1.3-hadoop2.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684847/xz-1.0.jar
15/03/17 11:08:05 INFO mapred.LocalDistributedCacheManager: file:/tmp/mapred/local/1426570684848/hsqldb-1.8.0.10.jar
15/03/17 11:08:05 INFO mapreduce.Job: The url to track the job: http://localhost:8080/
15/03/17 11:08:05 INFO mapreduce.Job: Running job: job_local320009395_0001
15/03/17 11:08:05 INFO mapred.LocalJobRunner: OutputCommitter set in config null
15/03/17 11:08:05 INFO mapred.LocalJobRunner: OutputCommitter is org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter
15/03/17 11:08:05 INFO mapred.LocalJobRunner: Waiting for map tasks
15/03/17 11:08:05 INFO mapred.LocalJobRunner: Starting task: attempt_local320009395_0001_m_000000_0
15/03/17 11:08:05 INFO mapred.Task: Using ResourceCalculatorProcessTree : [ ]
15/03/17 11:08:05 DEBUG db.DBConfiguration: Fetching password from job credentials store
15/03/17 11:08:05 INFO db.DBInputFormat: Using read commited transaction isolation
15/03/17 11:08:05 INFO mapred.MapTask: Processing split: 1=1 AND 1=1
15/03/17 11:08:05 DEBUG db.DataDrivenDBInputFormat: Creating db record reader for db product: ORACLE
15/03/17 11:08:05 INFO db.DBRecordReader: Working on split: 1=1 AND 1=1
15/03/17 11:08:05 DEBUG db.DataDrivenDBRecordReader: Using query: select * from TBAADM.REFERENCE_CODE_TABLE WHERE rownum<300 and ( 1=1 ) AND ( 1=1 )
15/03/17 11:08:05 DEBUG db.DBRecordReader: Using fetchSize for next query: 1000
15/03/17 11:08:05 INFO db.DBRecordReader: Executing query: select * from TBAADM.REFERENCE_CODE_TABLE WHERE rownum<300 and ( 1=1 ) AND ( 1=1 )
15/03/17 11:08:06 INFO mapreduce.Job: Job job_local320009395_0001 running in uber mode : false
15/03/17 11:08:06 INFO mapreduce.Job: map 0% reduce 0%
15/03/17 11:08:45 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:08:50 INFO mapred.LocalJobRunner: map > map
15/03/17 11:09:15 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:09:20 INFO mapred.LocalJobRunner: map > map
15/03/17 11:09:55 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:09:59 INFO mapred.LocalJobRunner: map > map
15/03/17 11:10:25 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:10:29 INFO mapred.LocalJobRunner: map > map
15/03/17 11:11:05 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:11:11 INFO mapred.LocalJobRunner: map > map
15/03/17 11:11:35 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:11:41 INFO mapred.LocalJobRunner: map > map
15/03/17 11:12:15 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:12:20 INFO mapred.LocalJobRunner: map > map
15/03/17 11:12:45 DEBUG mapreduce.AutoProgressMapper: Auto-progress thread reporting progress
15/03/17 11:12:50 INFO mapred.LocalJobRunner: map > map

最佳答案

您能否提供您想要执行的Hadoop和Sqoop版本以及sqoop命令。

目前,您的问题可能与此处回答的问题有关:
Job keeps running in LocalJobRunner under Cloudera 5.1

关于hadoop - 在Hadoop中使用SQOOP提取记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29211676/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com