fcrepo-exts / fcrepo-import-export

Apache License 2.0
15 stars 19 forks source link

Running export from downloaded fcrepo-import-export-0.3.0.jar binary hangs #123

Closed seth-shaw-unlv closed 5 years ago

seth-shaw-unlv commented 5 years ago

I have a Fedora 5.0.0 repository built by the Islandora 8 claw-playbook on CentOS 7.

Following the instructions in the Fedora docs I

  1. Downloaded the binary to ~/fcrepo-import/export/: curl -OL https://github.com/fcrepo4-labs/fcrepo-import-export/releases/download/fcrepo-import-export-0.3.0/fcrepo-import-export-0.3.0.jar
  2. Created an export directory: mkdir /data/fcrepo-export
  3. I ran the export script: java -jar fcrepo-import-export/fcrepo-import-export-0.3.0.jar --mode export --resource http://dams.library.unlv.edu:8080/fcrepo/rest/masters/whh --dir /data/fcrepo-export --binaries

The script displayed:

INFO 11:33:29.619 (Exporter) Running exporter...
INFO 11:33:29.620 (Exporter) Attempting to automatically determine the repository root
INFO 11:33:29.810 (RdfWriterHelper) Loading JENA 3.1.1 Patched RDF Output Writers

and then did nothing. After a bit I checked the export directory which was still empty. I don't see a log file anywhere for more details. Thinking it might be an authorization issue I used the default auth noted in the Fedora docs: java -jar fcrepo-import-export/fcrepo-import-export-0.3.0.jar --mode export --resource http://dams.library.unlv.edu:8080/fcrepo/rest/masters/whh --dir /data/fcrepo-export --binaries -u fedoraAdmin:secret3 but the result was the same. I got the same three lines and, an hour later, still no additional output or data in the export directory.

Any ideas?

seth-shaw-unlv commented 5 years ago

Nevermind. I just let it sit and 1.5 hours later it finally started exporting.

I wouldn't think that "Loading JENA..." would take that long. If something else is happening it might be useful to give more status updates.