Van Ly
2009-07-17 07:10:54 UTC
Hi,
I ran a filter-media job and found a number of errors of the kind
`skipping bitstream #N' which to be expected. The very first of them
is listed below. At a guess, it looks like the IOException is due to
the process wanting to create a file but it already exists and this is
a condition for complaint. Do you think if I gave it the `force'
option, this kind of IOException would go away?
bitstream #3636 is fine, I can search for and retrieve it according to handle id.
Thanks in advance.
-- Van Ly
-- details of 1.4.2 Dspace as follows with attempt to interpret the stack trace
[0] // open(2) with O_RDWR | O_CREAT | O_EXCL may fail if file already exists
[1] // has GeneralFile file = getFile(bitstream); file.createNewFile();
[2] // has Bitstream b = targetBundle.createBitstream(destStream);
[3] // MediaFilterManager.java:108 has option to "force all bitstreams to be processed"
... ERROR filtering, skipping bitstream #3636 java.io.IOException: Permission denied
... java.io.IOException: Permission denied
... at java.io.UnixFileSystem.createFileExclusively(Native Method)
[0] at java.io.File.createNewFile(File.java:850)
... at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
[1] at org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
... at org.dspace.content.Bitstream.create(Bitstream.java:184)
... at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
[2] at org.dspace.app.mediafilter.MediaFilter.processBitstream(MediaFilter.java:168)
... at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:327)
... at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:296)
... at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:266)
... at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:234)
[3] at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:185)
I ran a filter-media job and found a number of errors of the kind
`skipping bitstream #N' which to be expected. The very first of them
is listed below. At a guess, it looks like the IOException is due to
the process wanting to create a file but it already exists and this is
a condition for complaint. Do you think if I gave it the `force'
option, this kind of IOException would go away?
bitstream #3636 is fine, I can search for and retrieve it according to handle id.
Thanks in advance.
-- Van Ly
-- details of 1.4.2 Dspace as follows with attempt to interpret the stack trace
[0] // open(2) with O_RDWR | O_CREAT | O_EXCL may fail if file already exists
[1] // has GeneralFile file = getFile(bitstream); file.createNewFile();
[2] // has Bitstream b = targetBundle.createBitstream(destStream);
[3] // MediaFilterManager.java:108 has option to "force all bitstreams to be processed"
... ERROR filtering, skipping bitstream #3636 java.io.IOException: Permission denied
... java.io.IOException: Permission denied
... at java.io.UnixFileSystem.createFileExclusively(Native Method)
[0] at java.io.File.createNewFile(File.java:850)
... at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
[1] at org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
... at org.dspace.content.Bitstream.create(Bitstream.java:184)
... at org.dspace.content.Bundle.createBitstream(Bundle.java:362)
[2] at org.dspace.app.mediafilter.MediaFilter.processBitstream(MediaFilter.java:168)
... at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:327)
... at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:296)
... at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:266)
... at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:234)
[3] at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:185)