[
https://issues.apache.org/jira/browse/YARN-1450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13837400#comment-13837400
]
Binglin Chang commented on YARN-1450:
-------------------------------------
Hi Vinod,
Thanks for the explanation, I think I am confused about the propose of
UnmanagedAM, the document of UnmanagedAM says:
bq. The UnmanagedLauncher is a simple client that launches and unmanaged AM. An
unmanagedAM is an AM that is not launched and managed by the RM.
I thought it is used as a tool, new apps can use this to launch AM locally
without create/start YarnClient. If old apps have a workable standalone AM, it
can be launched by this tool too. I did not consider it as a tool to launch old
client based apps, of course it will fail if it is used to launch arbitrarily
old apps. Which leads to the question:
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.
2. Is distributedshell.ApplicationMaster not supposed to be launched standalone
and must only be called by distributedshell.Client?
> 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,
> 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)