hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1450) TestUnmanagedAMLauncher#testDSShell fails on trunk
Date Fri, 06 Dec 2013 02:36:36 GMT

    [ https://issues.apache.org/jira/browse/YARN-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840863#comment-13840863
] 

Vinod Kumar Vavilapalli commented on YARN-1450:
-----------------------------------------------

bq. 1. What is the usage of UnmanagedAM? Support new special apps which need a local AM or
support all apps? If the later it is far from complete, so either disable this test or write&use
a simple AM in test.
UnmanagedAM application was written to help developers debug their YARN applications/frameworks
by running AM on the client machine.

bq. 2. Is distributedshell.ApplicationMaster not supposed to be launched standalone and must
only be called by distributedshell.Client?
Not every AM ever runs by itself. More often than not, client sets up something, then submits
an app to the RM which then starts the AM. In case of unmanaged AM, the flow should be similar,
client sets up stuff, then submits the app but runs the AM locally. It's the part about client
setting up stuff that is missing today and that IMO needs fixing.


> TestUnmanagedAMLauncher#testDSShell fails on trunk
> --------------------------------------------------
>
>                 Key: YARN-1450
>                 URL: https://issues.apache.org/jira/browse/YARN-1450
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>            Reporter: Akira AJISAKA
>            Assignee: Binglin Chang
>         Attachments: YARN-1450.v1.patch, YARN-1450.v2.patch, YARN-1450.v3.patch, YARN-1450.v4.patch,
org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher-output.txt,
org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher.txt
>
>
> TestUnmanagedAMLauncher fails on trunk. The console output is
> {code}
> Running org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 35.937 sec <<<
FAILURE! - in org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher
> testDSShell(org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher)
 Time elapsed: 14.558 sec  <<< ERROR!
> java.lang.RuntimeException: Failed to receive final expected state in ApplicationReport,
CurrentState=ACCEPTED, ExpectedStates=FINISHED,FAILED,KILLED
> 	at org.apache.hadoop.yarn.applications.unmanagedamlauncher.UnmanagedAMLauncher.monitorApplication(UnmanagedAMLauncher.java:447)
> 	at org.apache.hadoop.yarn.applications.unmanagedamlauncher.UnmanagedAMLauncher.run(UnmanagedAMLauncher.java:352)
> 	at org.apache.hadoop.yarn.applications.unmanagedamlauncher.TestUnmanagedAMLauncher.testDSShell(TestUnmanagedAMLauncher.java:145)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message