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] [Updated] (YARN-504) Potential ConcurrentModificationException at AbstractService class.
Date Sun, 24 Mar 2013 10:35:15 GMT

     [ https://issues.apache.org/jira/browse/YARN-504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Przemyslaw Pretki updated YARN-504:
-----------------------------------

    Description: 
Steps to reproduce the exception:
{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}

  was:
{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}

    
> 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
>              Labels: hadoop
>
> Steps to reproduce the exception:
> {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