[ 
https://issues.apache.org/jira/browse/YARN-3731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohith resolved YARN-3731.
--------------------------
    Resolution: Invalid

> Unknown container. Container either has not started or has already completed 
> or doesn’t belong to this node at all. 
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3731
>                 URL: https://issues.apache.org/jira/browse/YARN-3731
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: amit
>            Priority: Critical
>
> Hi 
> I am importing data from sql server to hdfs and below is the command
> sqoop import –connect 
> “jdbc:sqlserver://Servername:1433;username=hadoop;password=Password;database=MSBI”
>  –table DimDate –target-dir /Hadoop/hdpdatadn/dn/DW/msbi
> but I am getting following error:
> User: amit.tomar
>  Name: DimDate.jar
>  Application Type: MAPREDUCE
>  Application Tags:
>  State: FAILED
>  FinalStatus: FAILED
>  Started: Wed May 27 12:39:48 +0800 2015
>  Elapsed: 23sec
>  Tracking URL: History
>  Diagnostics: Application application_1432698911303_0005 failed 2 times due 
> to AM Container for appattempt_1432698911303_0005_000002 exited with 
> exitCode: 1
>  For more detailed output, check application tracking 
> page:http://ServerName/proxy/application_1432698911303_0005/Then, click on 
> links to logs of each attempt.
>  Diagnostics: Exception from container-launch.
>  Container id: container_1432698911303_0005_02_000001
>  Exit code: 1
>  Stack trace: ExitCodeException exitCode=1:
>  at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
>  at org.apache.hadoop.util.Shell.run(Shell.java:455)
>  at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
>  at 
> org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
>  at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
>  at 
> org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  at java.lang.Thread.run(Thread.java:745)
>  Shell output: 1 file(s) moved.
>  Container exited with a non-zero exit code 1
>  Failing this attempt. Failing the application. 
> From the log below is the message:
> java.lang.Exception: Unknown container. Container either has not started or 
> has already completed or doesn’t belong to this node at all. 
> Thanks in advance
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to