thichxai
thichxai

Reputation: 1147

MLCP privileges

I grant hadoop-user-read privilege to developers to run MLCP export data. Do I missing any additional privileges for mlcp user?. developers always get this errors.

DEBUG mapreduce.MarkLogicRecordReader: Input query: com.marklogic.xcc.impl.AdhocImpl@1be7bae5
19/11/22 13:08:47 INFO contentpump.LocalJobRunner:  completed 0%
19/11/22 13:08:47 INFO contentpump.LocalJobRunner: com.marklogic.mapreduce.MarkLogicCounter: 
19/11/22 13:08:47 INFO contentpump.LocalJobRunner: INPUT_RECORDS: 0
19/11/22 13:08:47 INFO contentpump.LocalJobRunner: OUTPUT_RECORDS: 0
19/11/22 13:08:47 INFO contentpump.LocalJobRunner: Total execution time: 0 sec

Upvotes: 1

Views: 79

Answers (1)

Mike Gardner
Mike Gardner

Reputation: 6651

You may need to verify that the hadoop-user-read role has permissions to read the documents. You can view documents permissions using the xdmp:document-get-permissions command, or by using the Admin Interface, under Configure-->Databases-->[DB Name]-->Permissions and submitting a URI to retrieve the permissions.

You can find more on permissions in the MarkLogic docs:

Finding Default Permissions

Setting Document Permissions

Upvotes: 1

Related Questions