HI.

>From Query Console, I would look at a sample of the documents and check the
permissions:
https://docs.marklogic.com/xdmp:document-get-permissions

Then from there work backwards and make sure that your user's role has read
access to those documents.





Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] <http://www.hinttech.com>
<https://twitter.com/HintTech>  <http://www.facebook.com/HintTech>
<http://www.linkedin.com/company/HintTech>

On 23 April 2015 at 08:35, jaydip rananavare <[email protected]>
wrote:

> Hello All,
>
> We are using mlcp copy command to copy content between two databases but
> we are facing an issue.
>
> *Problem:*
> When we run the command it is able to connect to source database but it
> does not read any content hence nothing gets copied.
>
> *What we are doing:*
> Here is our command:
> ./mlcp.sh copy \
>   -input_host "source-host" \
>   -input_port "8000" \
>   -input_username "read-only-user" \
>   -input_password "****" \
>   -input_database "source-db" \
>   -directory_filter "/some-directory/" \
>   -output_host "target-host" \
>   -output_port "8000" \
>   -output_username "admin" \
>   -output_password "****" \
>   -output_database "target-db"
>
> *What we think is causing problem:*
> We think that the user that we are using to connect to source machine does
> not have correct privileges. We followed this document [
> https://docs.marklogic.com/guide/ingestion/content-pump#id_47736] and
> granted [hadoop-user-read] role but still it did not work (mlcp can connect
> to source database but cannot read content). The same command works and
> copies content if we use admin user to connect to source database.
>
> It is not clear what minimal roles/privileges we need to setup so that
> given command will work. Could you please help us?
>
> -Regards,
>
> *Jaydip Rananavare*
>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to