Error: Operation not permitted, need M7/H7 license with ACE support enabled.

Document created by sumesh_kurup on Feb 8, 2016
Version 1Show Document
  • View in full screen mode

Author: Sumesh Kurup

 

Original Publication Date: February 4, 2015

 

Issue:

 

When users try to create a M7/MaprDB table, they encounter the following exception :

 

#####

hbase(main):002:0> create '/hbase/perf/testTable', {NAME=>'cf1'}, {NAME=>'cf2'}
2014-10-16 11:22:58,8712 ERROR Client fs/client/fileclient/cc/dbclient.cc:798 Thread: 10700 CreateTable failed for table testTable, error Function not implemented(38)

 

ERROR: java.io.IOException: Failed to create table: /hbase/perf/testTable , Error: Operation not permitted, need M7/H7 license with ACE support enabled.

####

Resolution:

This exception comes in when you try to create an M7 table when you do not have the ACE's enabled . You can go ahead and cross verify this on the cluster by the following command. If the ACEs is not enabled the output would be as below:

 

# maprcli config load -json | grep "mfs.feature.db.ace.support"
"mfs.feature.db.ace.support":"0",

 

To enable ACEs, issue the following command:

# maprcli config save -values '{"mfs.feature.db.ace.support":"1"}' 

PS: If you upgraded to version 3.1 or later of the MapR distribution for Hadoop from an earlier version, ACEs are not automatically enabled.


For more information on the ACE and Enabling Table Authorization, please refer to the below link:

 

http://doc.mapr.com/display/MapR3/Enabling+Table+Authorization+with+Access+Control+Expressions

Attachments

    Outcomes