<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Sqoop jobs are not running in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150533#M113035</link>
    <description>&lt;P&gt;I am trying to run sqoop job but it is getting stuck without throwing an error. I am unable to see any yarn logs from this sqoop job.&lt;/P&gt;&lt;P&gt;What can I do to identify the issue here.&lt;/P&gt;&lt;P&gt;Last part of the Log lookslike below:&lt;/P&gt;&lt;P&gt;16/09/13 05:05:35 INFO db.DBInputFormat: Using read commited transaction isolation
16/09/13 05:05:35 DEBUG db.DataDrivenDBInputFormat: Creating input split with lower bound '1=1' and upper bound '1=1'
16/09/13 05:05:35 INFO mapreduce.JobSubmitter: number of splits:1
16/09/13 05:05:35 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1473064502809_0029
16/09/13 05:05:36 INFO impl.YarnClientImpl: Submitted application application_1473064502809_0029
16/09/13 05:05:36 INFO mapreduce.Job: The url to track the job: &lt;A href="http://**********/proxy/application_1473064502809_0029/" target="_blank"&gt;http://**********/proxy/application_1473064502809_0029/&lt;/A&gt;
16/09/13 05:05:36 INFO mapreduce.Job: Running job: job_1473064502809_0029&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2016 12:31:20 GMT</pubDate>
    <dc:creator>gaurab_dawn</dc:creator>
    <dc:date>2016-09-14T12:31:20Z</dc:date>
    <item>
      <title>Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150533#M113035</link>
      <description>&lt;P&gt;I am trying to run sqoop job but it is getting stuck without throwing an error. I am unable to see any yarn logs from this sqoop job.&lt;/P&gt;&lt;P&gt;What can I do to identify the issue here.&lt;/P&gt;&lt;P&gt;Last part of the Log lookslike below:&lt;/P&gt;&lt;P&gt;16/09/13 05:05:35 INFO db.DBInputFormat: Using read commited transaction isolation
16/09/13 05:05:35 DEBUG db.DataDrivenDBInputFormat: Creating input split with lower bound '1=1' and upper bound '1=1'
16/09/13 05:05:35 INFO mapreduce.JobSubmitter: number of splits:1
16/09/13 05:05:35 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1473064502809_0029
16/09/13 05:05:36 INFO impl.YarnClientImpl: Submitted application application_1473064502809_0029
16/09/13 05:05:36 INFO mapreduce.Job: The url to track the job: &lt;A href="http://**********/proxy/application_1473064502809_0029/" target="_blank"&gt;http://**********/proxy/application_1473064502809_0029/&lt;/A&gt;
16/09/13 05:05:36 INFO mapreduce.Job: Running job: job_1473064502809_0029&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 12:31:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150533#M113035</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-14T12:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150534#M113036</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12099/gaurabdawn.html" nodeid="12099"&gt;@Gaurab D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share logs for the job? There should be more info you can find either in Ambari or just look under /var/log/sqoop folder or may be /var/log/yarn&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 12:35:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150534#M113036</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-09-14T12:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150535#M113037</link>
      <description>&lt;P&gt;Below is the log from /var/log/yarn folder immediately after submitting the job.&lt;/P&gt;&lt;P&gt;2016-09-14 05:41:51,852 INFO org.apache.hadoop.yarn.server.resourcemanager.ClientRMService (IPC Server handler 30 on 8032): Allocated new applicationId: 34
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.ClientRMService (IPC Server handler 30 on 8032): Application with id 34 submitted by user hadoop
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl (AsyncDispatcher event handler): Storing application with id application_1473064502809_0034
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger (IPC Server handler 30 on 8032): USER=hadoop   IP=********* OPERATION=Submit Application Request    TARGET=ClientRMService  RESULT=SUCCESS  APPID=application_1473064502809_0034
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl (AsyncDispatcher event handler): application_1473064502809_0034 State change from NEW to NEW_SAVING
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.recovery.RMStateStore (AsyncDispatcher event handler): Storing info for app: application_1473064502809_0034
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl (AsyncDispatcher event handler): application_1473064502809_0034 State change from NEW_SAVING to SUBMITTED
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.ParentQueue (ResourceManager Event Processor): Application added - appId: application_1473064502809_0034 user: hadoop leaf-queue of parent: root #applications: 10
2016-09-14 05:41:53,826 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler (ResourceManager Event Processor): Accepted application application_1473064502809_0034 from user: hadoop, in queue: default
2016-09-14 05:41:53,827 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl (AsyncDispatcher event handler): appattempt_1473064502809_0034_000001 amEmrLabels: CORE
2016-09-14 05:41:53,827 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl (AsyncDispatcher event handler): application_1473064502809_0034 State change from SUBMITTED to ACCEPTED
2016-09-14 05:41:53,827 INFO org.apache.hadoop.yarn.server.resourcemanager.ApplicationMasterService (AsyncDispatcher event handler): Registering app attempt : appattempt_1473064502809_0034_000001
2016-09-14 05:41:53,827 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl (AsyncDispatcher event handler): appattempt_1473064502809_0034_000001 State change from NEW to SUBMITTED
2016-09-14 05:41:53,827 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue (ResourceManager Event Processor): Application application_1473064502809_0034 from user: hadoop activated in queue: default
2016-09-14 05:41:53,827 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue (ResourceManager Event Processor): Application added - appId: application_1473064502809_0034 user: org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue$User@48d9e852, leaf-queue: default #user-pending-applications: 0 #user-active-applications: 10 #queue-pending-applications: 0 #queue-active-applications: 10
2016-09-14 05:41:53,827 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler (ResourceManager Event Processor): Added Application Attempt appattempt_1473064502809_0034_000001 to scheduler from user hadoop in queue default
2016-09-14 05:41:53,828 INFO org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl (AsyncDispatcher event handler): appattempt_1473064502809_0034_000001 State change from SUBMITTED to SCHEDULED&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 12:44:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150535#M113037</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-14T12:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150536#M113038</link>
      <description>&lt;P&gt;To get logs of your job, the easiest way may be:&lt;/P&gt;&lt;PRE&gt;yarn logs -applicationId application_1473064502809_0029&lt;/PRE&gt;&lt;P&gt;This should give you more information. If your job has not started, it may be a resource issue on your queue.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:08:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150536#M113038</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-09-14T13:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150537#M113039</link>
      <description>&lt;P&gt;Whenever I am trying to check logs using the above command. It is showing below message.&lt;/P&gt;&lt;P&gt;"/var/log/yarn/apps/hadoop/logs/application_1473064502809_0029 does not exist&lt;/P&gt;&lt;P&gt;Log aggregation has not completed or is not enabled."&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:13:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150537#M113039</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-14T13:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150538#M113040</link>
      <description>&lt;P&gt;It says submitted to scheduled. What else do you have running on cluster? It appears that the job is in queue. Can you check what you have allocated to your YARN queue and the credentials for the user running the job(likely sqoop). Does this user have enough resources allocated to run yarn jobs. Seems like a queue issue.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:14:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150538#M113040</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-09-14T13:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150539#M113041</link>
      <description>&lt;P&gt;Then it looks like your job did not start at all. I think the job is waiting for resources in your queue or something similar. If you have the possibility, I'd go in the YARN resource manager UI to check what's going on.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:15:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150539#M113041</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-09-14T13:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150540#M113042</link>
      <description>&lt;P&gt;My guess this is due to job is only in  not in SCHEDULED state but RUNNING state.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:16:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150540#M113042</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-14T13:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150541#M113043</link>
      <description>&lt;P&gt;If in the YARN UI, you see your job as running, then you can go on your job through the UI, and check individual container logs (or directly go on the nodes where the containers are running and check logs manually for each container). The yarn logs command is only possible once your job has finished. If your job is running from an a very long time and that is not expected, you can consider killing it and use the logs command again.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:20:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150541#M113043</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-09-14T13:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150542#M113044</link>
      <description>&lt;P&gt;I can see below state of the job from Yarn UI&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH&gt;YarnApplicationState:&lt;/TH&gt;&lt;TD&gt;ACCEPTED: waiting for AM container to be allocated, launched and register with RM.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH&gt;FinalStatus Reported by AM:&lt;/TH&gt;&lt;TD&gt;Application has not completed yet.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 14 Sep 2016 13:54:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150542#M113044</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-14T13:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150543#M113045</link>
      <description>&lt;P&gt;Then it means that no resources are available at the moment to launch your job. Check the current use of your queue, the parameters of the queue, what are the resources you requested, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 14:58:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150543#M113045</guid>
      <dc:creator>pvillard</dc:creator>
      <dc:date>2016-09-14T14:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop jobs are not running</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150544#M113046</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt; , It was indeed a queue issue. I have earlier configured capacity scheduler giving where both the datanodes are associated with one queue which I wasn't using while submitting this job. Once I removed that configuration, job is running just fine. Many thanks for your advice.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 16:13:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-jobs-are-not-running/m-p/150544#M113046</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-14T16:13:19Z</dc:date>
    </item>
  </channel>
</rss>

