You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2019/02/07 12:11:16 UTC
[tinkerpop] branch TINKERPOP-2134 updated: f
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch TINKERPOP-2134
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/TINKERPOP-2134 by this push:
new c7af254 f
c7af254 is described below
commit c7af254527e9eb9a5bfbe355b839c3f2f2b18109
Author: Stephen Mallette <sp...@genoprime.com>
AuthorDate: Thu Feb 7 07:10:54 2019 -0500
f
---
.../apache/tinkerpop/gremlin/hadoop/structure/io/ObjectWritable.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/ObjectWritable.java b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/ObjectWritable.java
index 979cbfc..02e0f13 100644
--- a/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/ObjectWritable.java
+++ b/hadoop-gremlin/src/main/java/org/apache/tinkerpop/gremlin/hadoop/structure/io/ObjectWritable.java
@@ -66,7 +66,7 @@ public final class ObjectWritable<T> implements WritableComparable<ObjectWritabl
// Spark's background logging apparently tries to log a `toString()` of certain objects while they're being
// modified, which then throws a ConcurrentModificationException. We probably can't make any arbitrary object
// thread-safe, but we can easily retry on such cases and eventually we should always get a result.
- final int maxAttempts = 5;
+ final int maxAttempts = 50;
for (int i = maxAttempts; ;) {
try {
return Objects.toString(this.t);