Repository: atlas
Updated Branches:
  refs/heads/branch-0.8 660ca463c -> 10edb040a


ATLAS-2852: Export Import simultaneous requests updated error code.


Project: http://git-wip-us.apache.org/repos/asf/atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/10edb040
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/10edb040
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/10edb040

Branch: refs/heads/branch-0.8
Commit: 10edb040ad5cbfca690373c5300ecfb2f8da94fc
Parents: 660ca46
Author: Ashutosh Mestry <[email protected]>
Authored: Thu Aug 30 16:01:07 2018 -0700
Committer: Ashutosh Mestry <[email protected]>
Committed: Thu Aug 30 16:01:07 2018 -0700

----------------------------------------------------------------------
 intg/src/main/java/org/apache/atlas/AtlasErrorCode.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/atlas/blob/10edb040/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java
----------------------------------------------------------------------
diff --git a/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java 
b/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java
index 2d340b1..dde7d3a 100644
--- a/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java
+++ b/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java
@@ -104,7 +104,7 @@ public enum AtlasErrorCode {
     INDEX_ROLLBACK_FAILED(500, "ATLAS-500-00-003", "Index rollback failed for 
{0}"),
     DISCOVERY_QUERY_FAILED(500, "ATLAS-500-00-004", "Discovery query failed 
{0}"),
     FAILED_TO_OBTAIN_TYPE_UPDATE_LOCK(500, "ATLAS-500-00-005", "Failed to get 
the lock; another type update might be in progress. Please try again"),
-    FAILED_TO_OBTAIN_IMPORT_EXPORT_LOCK(500, "ATLAS-500-00-006", "Another 
import or export is in progress. Please try again"),
+    FAILED_TO_OBTAIN_IMPORT_EXPORT_LOCK(409, "ATLAS-500-00-006", "Another 
import or export is in progress. Please try again"),
     NOTIFICATION_FAILED(500, "ATLAS-500-00-007", "Failed to notify {0} for 
change {1}"),
     FAILED_TO_OBTAIN_GREMLIN_SCRIPT_ENGINE(500, "ATLAS-500-00-008", "Failed to 
obtain gremlin script engine: {0}"),
     JSON_ERROR_OBJECT_MAPPER_NULL_RETURNED(500, "ATLAS-500-00-009", 
"ObjectMapper.readValue returned NULL for class: {0}"),

Reply via email to