Improve repository verification failure message

Closes #11922
This commit is contained in:
Igor Motov 2015-06-30 20:07:43 -04:00
parent 04631d6948
commit 2a9f26dfdc
1 changed files with 3 additions and 1 deletions

View File

@ -204,7 +204,9 @@ public class BlobStoreIndexShardRepository extends AbstractComponent implements
throw new RepositoryVerificationException(repositoryName, "store location [" + blobStore + "] is not accessible on the node [" + localNode + "]", exp);
}
} else {
throw new RepositoryVerificationException(repositoryName, "store location [" + blobStore + "] is not shared between node [" + localNode + "] and the master node");
throw new RepositoryVerificationException(repositoryName, "a file written by master to the store [" + blobStore + "] cannot be accessed on the node [" + localNode + "]. "
+ "This might indicate that the store [" + blobStore + "] is not shared between this node and the master node or "
+ "that permissions on the store don't allow reading files written by the master node");
}
}