Found the reason why it fails the Hibernate Search Integration gets called twice. Then when it tries to create the directory the second time it fails because it's already created.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira