You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by vrozov <gi...@git.apache.org> on 2016/04/27 00:36:19 UTC
[GitHub] incubator-apex-core pull request: APEXCORE-445 - Race condition in...
GitHub user vrozov opened a pull request:
https://github.com/apache/incubator-apex-core/pull/319
APEXCORE-445 - Race condition in AsynFSStorageAgent.save()
@tweise Please review
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vrozov/incubator-apex-core APEXCORE-445
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-apex-core/pull/319.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #319
----
commit a21bb59a2a618cacd2bce7db07be66fb6c019d69
Author: Vlad Rozov <v....@datatorrent.com>
Date: 2016-04-26T22:04:20Z
APEXCORE-445 - Race condition in AsynFSStorageAgent.save()
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-apex-core pull request: APEXCORE-445 - Race condition in...
Posted by sandeshh <gi...@git.apache.org>.
Github user sandeshh commented on a diff in the pull request:
https://github.com/apache/incubator-apex-core/pull/319#discussion_r61177760
--- Diff: common/src/main/java/com/datatorrent/common/util/AsyncFSStorageAgent.java ---
@@ -38,7 +40,7 @@
public class AsyncFSStorageAgent extends FSStorageAgent
{
private final transient Configuration conf;
- private transient volatile String localBasePath;
+ private final AtomicReference<String> localBasePath;
--- End diff --
Doesn't it have to be transient?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-apex-core pull request: APEXCORE-445 - Race condition in...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-apex-core/pull/319
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---