日志里就两个警告也看不出来:
2017-04-06 17:57:43,928 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:57:43,942 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:57:43,943 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:57:43,944 INFO [org.apache.sqoop.connector.hdfs.HdfsUtils.createConfiguration(HdfsUtils.java:66)] Found Hadoop configuration file yarn-site.xml
2017-04-06 17:57:43,944 INFO [org.apache.sqoop.connector.hdfs.HdfsUtils.createConfiguration(HdfsUtils.java:66)] Found Hadoop configuration file httpfs-site.xml
2017-04-06 17:57:43,945 INFO [org.apache.sqoop.connector.hdfs.HdfsUtils.createConfiguration(HdfsUtils.java:66)] Found Hadoop configuration file kms-site.xml
2017-04-06 17:57:43,945 INFO [org.apache.sqoop.connector.hdfs.HdfsUtils.createConfiguration(HdfsUtils.java:66)] Found Hadoop configuration file hdfs-site.xml
2017-04-06 17:57:43,945 INFO [org.apache.sqoop.connector.hdfs.HdfsUtils.createConfiguration(HdfsUtils.java:66)] Found Hadoop configuration file mapred-site.xml
2017-04-06 17:57:43,945 INFO [org.apache.sqoop.connector.hdfs.HdfsUtils.createConfiguration(HdfsUtils.java:66)] Found Hadoop configuration file core-site.xml
2017-04-06 17:57:43,983 INFO [org.apache.hadoop.conf.Configuration.warnOnceIfDeprecated(Configuration.java:1049)] fs.default.name is deprecated. Instead, use fs.defaultFS
2017-04-06 17:57:43,985 INFO [org.apache.sqoop.connector.hdfs.HdfsFromInitializer$1.run(HdfsFromInitializer.java:68)] Input directory: /toMysql
2017-04-06 17:57:43,992 INFO [org.apache.sqoop.connector.hadoop.security.SecurityUtils.generateDelegationTokens(SecurityUtils.java:75)] Running on unsecured cluster, skipping delegation token generation.
2017-04-06 17:57:44,000 INFO [org.apache.sqoop.connector.jdbc.GenericJdbcToInitializer.configureTableProperties(GenericJdbcToInitializer.java:152)] Using query to insert data: INSERT INTO test . people VALUES (?,?,?)
2017-04-06 17:57:44,026 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:57:44,114 INFO [org.apache.hadoop.yarn.client.RMProxy.createRMProxy(RMProxy.java:98)] Connecting to ResourceManager at namenode/192.168.0.137:8032
2017-04-06 17:57:44,168 WARN [org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:153)] Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
2017-04-06 17:57:53,825 WARN [org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:261)] No job jar file set. User classes may not be found. See Job or Job#setJar(String).
2017-04-06 17:57:53,857 INFO [org.apache.hadoop.conf.Configuration.warnOnceIfDeprecated(Configuration.java:1049)] fs.default.name is deprecated. Instead, use fs.defaultFS
2017-04-06 17:57:53,857 INFO [org.apache.sqoop.connector.hadoop.security.SecurityUtils.loadDelegationTokensToUGI(SecurityUtils.java:101)] No delegation tokens found
2017-04-06 17:57:53,864 INFO [org.apache.sqoop.connector.hdfs.HdfsPartitioner$1.run(HdfsPartitioner.java:153)] Will process input file: hdfs://192.168.0.137:9000/toMysql/people.csv
2017-04-06 17:57:53,934 INFO [org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:494)] number of splits:8
2017-04-06 17:57:54,447 INFO [org.apache.hadoop.mapreduce.JobSubmitter.printTokens(JobSubmitter.java:583)] Submitting tokens for job: job_1491448007523_0009
2017-04-06 17:57:54,468 INFO [org.apache.hadoop.mapred.YARNRunner.createApplicationSubmissionContext(YARNRunner.java:371)] Job jar is not present. Not adding any jar to the list of resources.
2017-04-06 17:57:54,550 INFO [org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:251)] Submitted application application_1491448007523_0009
2017-04-06 17:57:54,563 INFO [org.apache.hadoop.mapreduce.Job.submit(Job.java:1300)] The url to track the job: http://namenode:8088/proxy/application_1491448007523_0009/
2017-04-06 17:57:54,879 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:58:59,671 INFO [org.apache.sqoop.handler.JobRequestHandler.handleEvent(JobRequestHandler.java:96)] Got job request
2017-04-06 17:58:59,673 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:58:59,675 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:58:59,676 INFO [org.apache.sqoop.audit.FileAuditLogger.logAuditEvent(FileAuditLogger.java:61)] user=hadoop ip=127.0.0.1 op=status obj=job objId=FisrtJob
2017-04-06 17:58:59,691 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:58:59,705 INFO [org.apache.hadoop.mapred.ClientServiceDelegate.getProxy(ClientServiceDelegate.java:276)] Application state is completed. FinalApplicationStatus=FAILED. Redirecting to job history server
2017-04-06 17:58:59,862 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:59:37,055 INFO [org.apache.sqoop.handler.JobRequestHandler.handleEvent(JobRequestHandler.java:96)] Got job request
2017-04-06 17:59:37,055 INFO [org.apache.sqoop.audit.FileAuditLogger.logAuditEvent(FileAuditLogger.java:61)] user=hadoop ip=127.0.0.1 op=get obj=job objId=all
2017-04-06 17:59:37,060 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 17:59:37,062 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
2017-04-06 18:01:43,831 INFO [org.apache.sqoop.repository.JdbcRepositoryTransaction.close(JdbcRepositoryTransaction.java:111)] Attempting transaction commit
|