Search in sources :

Example 6 with IndexException

use of org.apache.atlas.repository.IndexException in project incubator-atlas by apache.

the class GraphBackedSearchIndexer method rollback.

private void rollback(AtlasGraphManagement management) throws IndexException {
    try {
        management.rollback();
        recomputeIndexedKeys = true;
    } catch (Exception e) {
        LOG.error("Index rollback failed ", e);
        throw new IndexException("Index rollback failed ", e);
    }
}
Also used : IndexException(org.apache.atlas.repository.IndexException) RepositoryException(org.apache.atlas.repository.RepositoryException) AtlasBaseException(org.apache.atlas.exception.AtlasBaseException) IndexException(org.apache.atlas.repository.IndexException) IndexCreationException(org.apache.atlas.repository.IndexCreationException) AtlasException(org.apache.atlas.AtlasException)

Aggregations

IndexException (org.apache.atlas.repository.IndexException)6 RepositoryException (org.apache.atlas.repository.RepositoryException)6 AtlasException (org.apache.atlas.AtlasException)4 AtlasBaseException (org.apache.atlas.exception.AtlasBaseException)4 AtlasBaseTypeDef (org.apache.atlas.model.typedef.AtlasBaseTypeDef)2 IndexCreationException (org.apache.atlas.repository.IndexCreationException)2 AtlasGraphManagement (org.apache.atlas.repository.graphdb.AtlasGraphManagement)2