UNC-Libraries/Carolina-Digital-Repository — Issue #28: IRODSFedoraFileSystem.write(): couldn't make directories
Author: gregjan
Created: 2011-12-01 20:11:13+00:00
State: open
Labels: incident report

This happened while ingesting the Ralph Epperson 04 SIP within the SFC. The ingest contains one especially large data file, at 4.9 gig. This is the file that is referenced in the stack trace below:

Your submission was not ingested into the repository.

Error: org.fcrepo.server.errors.LowlevelStorageException: IRODSFedoraFileSystem.write(): couldn't make directories for [/cdrZone/home/fedora/datastreams/2011/1201/10/02/uuid_5fa6361f-b7b1-490b-b2a2-4b8fc8babdf4+DATA_FILE+DATA_FILE.0] JargonException caught in constructor, rethrow as IOException; nested exception is org.springframework.ws.soap.client.SoapFaultClientException: org.fcrepo.server.errors.LowlevelStorageException: IRODSFedoraFileSystem.write(): couldn't make directories for [/cdrZone/home/fedora/datastreams/2011/1201/10/02/uuid_5fa6361f-b7b1-490b-b2a2-4b8fc8babdf4+DATA_FILE+DATA_FILE.0] JargonException caught in constructor, rethrow as IOException

digging deeper, we find this in the fedora log (in reference to the same path as above):

Caused by: java.io.IOException: JargonException caught in constructor, rethrow as IOException
at org.irods.jargon.core.pub.io.IRODSFileOutputStream.close(IRODSFileOutputStream.java:140) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at java.io.FilterOutputStream.close(FilterOutputStream.java:143) [na:1.6.0_29]
at fedorax.server.module.storage.lowlevel.irods.IrodsIFileSystem.stream2streamCopy(IrodsIFileSystem.java:110) [fcrepo-irods-storage-2.1.jar:na]
at fedorax.server.module.storage.lowlevel.irods.IrodsIFileSystem.write(IrodsIFileSystem.java:356) [fcrepo-irods-storage-2.1.jar:na]
... 62 common frames omitted
Caused by: org.irods.jargon.core.exception.JargonException: java.net.SocketTimeoutException: Read timed out
at org.irods.jargon.core.connection.IRODSCommands.readHeaderLength(IRODSCommands.java:954) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.connection.IRODSCommands.readHeader(IRODSCommands.java:825) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.connection.IRODSCommands.readMessage(IRODSCommands.java:636) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.connection.IRODSCommands.readMessage(IRODSCommands.java:624) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.connection.IRODSCommands.irodsFunction(IRODSCommands.java:258) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.connection.IRODSCommands.irodsFunction(IRODSCommands.java:192) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.pub.IRODSFileSystemAOImpl.fileClose(IRODSFileSystemAOImpl.java:1414) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.pub.io.IRODSFileImpl.close(IRODSFileImpl.java:1337) [jargon-core-3.0.1-20111012.172326-5.jar:na]
at org.irods.jargon.core.pub.io.IRODSFileOutputStream.close(IRODSFileOutputStream.java:136) [jargon-core-3.0.1-20111012.172326-5.jar:na]
... 65 common frames omitted
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) [na:1.6.0_29]
at java.net.SocketInputStream.read(SocketInputStream.java:129) [na:1.6.0_29]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) [na:1.6.0_29]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258) [na:1.6.0_29]
at java.io.BufferedInputStream.read(BufferedInputStream.java:317) [na:1.6.0_29]