Przemyslaw Pretki created YARN-504:
--------------------------------------
Summary: Potential ConcurrentModificationException at
AbstractService class.
Key: YARN-504
URL: https://issues.apache.org/jira/browse/YARN-504
Project: Hadoop YARN
Issue Type: Bug
Components: resourcemanager
Affects Versions: 3.0.0
Reporter: Przemyslaw Pretki
Priority: Minor
{code}
BreakableService svc = new BreakableService();
svc.register(new ServiceStateChangeListener()
{
@Override
public void stateChanged(Service service)
{
if (service.getServiceState() == STATE.STOPPED)
{
service.unregister(this);
}
}
});
svc.init(new Configuration());
svc.start();
svc.stop();
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira