I have created a HBase Coprocessor which listens to a table (say TableA). Both Coprocessor setting with HBase and actual TableA creation was done by same user (say UserA). I have a spark job (again run by UserA) which adds data into the TableA. When HBase Coprocessor registers this added data, it starts and fails with the error: org.apache.hadoop.hbase.security.AccessDeniedException:
Insufficient permissions for user 'UserA' (global, action=ADMIN) Also, this causes the HBase Region Servers to go down. We have to manually restart these servers again to resume operations on HBase. Adding the UserA as a HBase ADMIN fixed the issue for now, but its not exactly a good practice. Functionally, am I missing something with respect to the access controls on the coprocessors or HBase?
... View more
I am trying to run SelectHiveQL on nifi to connect to Hive. I have defined HiveConnectionPool with the connection string to Hive server but i get connection failure error. The connection string is in the following format: jdbc:hive://<serverName>:10000/testdb I have also tried: jdbc:hive2://<serverName>:10000/testdb The error I receive in either case, when I Enable HiveConnectionPool is "Error Getting Hive Connection". Note: I have the pointed the "Hive Configuration Resources" to the hdfs-site.xml, core-site.xml, hive-site.xml and mapred-site.xml. I have set the rest of the parameters to either default or left blank(if not mandatory to have value). Thanks for your suggestions in advance.
... View more