AnsweredAssumed Answered

User does not have permission for flushPuts()

Question asked by vinsopasa on Jun 8, 2017
Latest reply on Jun 15, 2017 by vinsopasa

Exception in thread "main" com.mapr.db.exceptions.AccessDeniedException: User 'mapradmin' (user id 2001) does not have permission for flushPuts() on '/user/mapradmin/json/ff_phone'.
at com.mapr.db.exceptions.ExceptionHandler.handle(ExceptionHandler.java:59)
at com.mapr.db.impl.MapRDBTableImpl.flush(MapRDBTableImpl.java:334)
at com.mdp.connectedtraveler.ff.dao.impl.FrequentFlyerDaoImpl.addFFPhoneData(FrequentFlyerDaoImpl.java:90)
at com.mdp.connectedtraveler.ff.dao.impl.FrequentFlyerDaoImpl.persistFFData(FrequentFlyerDaoImpl.java:45)
at com.mdp.connectedtraveler.ff.service.impl.FrequentFlyerServiceImpl.persistFFData(FrequentFlyerServiceImpl.java:20)
at com.mdp.connectedtraveler.App.processFrequentFlyerData(App.java:190)
at com.mdp.connectedtraveler.App.main(App.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:752)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: org.apache.hadoop.security.AccessControlException: User 'mapradmin' (user id 2001) does not have permission for flushPuts() on '/user/mapradmin/json/ff_phone'.
at com.mapr.fs.Inode.checkError(Inode.java:1746)
at com.mapr.fs.Inode.checkError(Inode.java:1719)
at com.mapr.fs.Inode.flushPuts(Inode.java:1084)
at com.mapr.fs.MapRHTable.flushCommits(MapRHTable.java:255)
at com.mapr.db.impl.MapRDBTableImpl.flush(MapRDBTableImpl.java:332)

Outcomes