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/28c26272
Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/28c26272
Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/28c26272

Branch: refs/heads/branch-1.0
Commit: 28c262726de6ca05f43a34d460ccd9097eebfc3d
Parents: 5b5788e
Author: Ashutosh Mestry <ames...@hortonworks.com>
Authored: Thu Aug 30 16:01:07 2018 -0700
Committer: Ashutosh Mestry <ames...@hortonworks.com>
Committed: Thu Nov 1 15:43:00 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/28c26272/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 bf78c20..e847014 100644
--- a/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java
+++ b/intg/src/main/java/org/apache/atlas/AtlasErrorCode.java
@@ -195,7 +195,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