[
https://issues.apache.org/jira/browse/YARN-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andras Bokor updated YARN-5160:
-------------------------------
Attachment: YARN-5160.01.patch
Uploading first patch.
I could not write JUnit test. I should have mocked the {{JobHistoryServer}}
object but it is created inside {{serviceStart}} so I could not mock it.
I did some manual test and it worked.
> Add timeout when starting JobHistoryServer in MiniMRYarnCluster
> ---------------------------------------------------------------
>
> Key: YARN-5160
> URL: https://issues.apache.org/jira/browse/YARN-5160
> Project: Hadoop YARN
> Issue Type: Test
> Components: timelineserver
> Affects Versions: 2.6.0
> Reporter: Andras Bokor
> Assignee: Andras Bokor
> Priority: Minor
> Fix For: 2.8.0
>
> Attachments: YARN-5160.01.patch
>
>
> This JIRA is to follow up a TODO in MiniMRYarnCluster.
> {{//TODO Add a timeout. State.STOPPED check ?}}
> I think State.STOPPED check is not needed. I do not see the value to check
> STOPPED state here.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]