asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lychagin (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ASTERIXDB-1825) potential leaks in Joblet/Task
Date Wed, 23 Aug 2017 00:18:01 GMT

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

Dmitry Lychagin reassigned ASTERIXDB-1825:
------------------------------------------

    Assignee: Dmitry Lychagin  (was: Yingyi Bu)

> potential leaks in Joblet/Task 
> -------------------------------
>
>                 Key: ASTERIXDB-1825
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1825
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Yingyi Bu
>            Assignee: Dmitry Lychagin
>
> States are never removed from the map. 
> {noformat}
>    private final class OperatorEnvironmentImpl implements IOperatorEnvironment {
>         private final String nodeId;
>         public OperatorEnvironmentImpl(String nodeId) {
>             this.nodeId = nodeId;
>         }
>         @Override
>         public String toString() {
>             return super.toString() + "@" + nodeId;
>         }
>         @Override
>         public synchronized void setStateObject(IStateObject taskState) {
>             stateObjectMap.put(taskState.getId(), taskState);
>         }
>         @Override
>         public synchronized IStateObject getStateObject(Object id) {
>             return stateObjectMap.get(id);
>         }
>     }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message