marklogic / marklogic/marklogic-contentpump

"Is a directory" error

Open
#76 17 comments 0 reactions 1 assignee View on GitHub

@vzhang-progress is already working on this.

Since Mar 22, 2019.

bug major mlcp new
Dominant language
Java
Stars
37
Forks
32
Avg merge
1h 3m
Merged PRs (30d)
12

Description

I'm trying to use mlcp to export the contents from my database and I get lot of errors like:

18/05/03 16:54:13 ERROR contentpump.SingleDocumentWriter: Error saving: data://.../340c82e5-4848-76a1-0000-00001dcf41b5.json
java.io.FileNotFoundException: /var/opt/MarkLogic/.../340c82e5-4848-76a1-0000-00001dcf41b5.json (Is a directory)

if I try to import the exported content, I'll see errors like

ERROR mapreduce.ContentWriter: XDMP-MUSTHAVEUPDATE: Document must have at least one update permission.

and if I inspect some of the exported files, I see that info from the exported objects is missing.

The command I use is:

mlcp.sh export -host localhost -port 8000 -username user -password password -output_file_path /var/opt/MarkLogic/out

does mlcp supports exporting complex objects? where the metadata, like collections, are saved?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.