AnsweredAssumed Answered

Permission Issue in MapR DB JSON table insert

Question asked by sabamu28 on May 1, 2017
Latest reply on May 2, 2017 by vmeghraj
Branched to a new discussion

Trying to insert in MarR DB json table. The table is created by other user, when I try to write to that table by mapr user, it shows this error. Multiple user must be able to access this table.

 

2017-05-01 17:11:33,6470 ERROR Client fs/client/fileclient/cc/putbuffer.cc:1091 Thread: 12436 Error in PutRPC for table /prod/data/maprdb/testtable, error = Permission denied(13), action=WRITE, user=mapr, family=defa, tablet 5050.624.526162, periodicFlush = 1
2017-05-01 17:11:33,6470 ERROR Client fs/client/fileclient/cc/putbuffer.cc:1285 Thread: 12436 Marking Flush-failed for table /prod/data/maprdb/testtable
2017-05-01 17:11:33,6471 ERROR Client fs/client/fileclient/cc/writequeue.cc :165 Thread: 12436 WriteBuf null/err. 13
2017-05-01 17:11:33,6471 ERROR Tabletcache fs/client/fileclient/cc/tabletcache.cc:410 Thread: 12376 A background flush/put failed for table /prod/data/maprdb/testtable, aborting operation
Exception in thread "main" com.mapr.db.exceptions.DBException: User 'mapr' (user id ....) does not have permission for close() on '/prod/data/maprdb/testtable'.
at com.mapr.db.impl.MapRDBTableImpl.close(MapRDBTableImpl.java:1725)

.................

Caused by: org.apache.hadoop.security.AccessControlException: User 'mapr' (user id ....) does not have permission for close() on '/prod/data/maprdb/testtable'

Outcomes