Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MODE-1484 Added more error handling to file system connector #380

Closed
wants to merge 1 commit into from

Conversation

rhauch
Copy link
Contributor

@rhauch rhauch commented May 16, 2012

The file system connector was not properly handling the case when "java.io.File.list(FilenameFilter)" returns null, which it can sometimes do if there's an I/O error. Now, if this happens, the method call is retried up to 4 more times; after that, if the call still returns null, an error message will be logged and no node will be created for the problematic file.

All unit and integration tests pass with these changes.

The file system connector was not properly handling the case when "java.io.File.list(FilenameFilter)"
returns null, which it can sometimes do if there's an I/O error. Now, if this happens, the method
call is retried up to 4 more times; after that, if the call still returns null, an error message will
be logged and no node will be created for the problematic file.

All unit and integration tests pass with these changes.
@ghost ghost assigned rhauch May 16, 2012
@rhauch
Copy link
Contributor Author

rhauch commented May 16, 2012

Waiting to merge until the changes can be verified by @jchochol.

@rhauch
Copy link
Contributor Author

rhauch commented May 30, 2012

Rebased and merged into the '2.x' branch.

@rhauch rhauch closed this May 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant