hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Przemyslaw Pretki (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-504) Potential ConcurrentModificationException at AbstractService class.
Date Sun, 24 Mar 2013 10:33:16 GMT
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

Mime
View raw message