Re: New installation of HBase ignoring cell visibility (even though it's active)

2018-02-24 Thread Ted Yu
bq. a warning message in the shell should be displayed if simple auth and cell visibility are in use together. Makes sense. Please log a JIRA. On Sat, Feb 24, 2018 at 9:06 AM, Mike Thomsen wrote: > Ted/Anoop, > > I realized what the problem was. When I installed HBase previously (and had > thi

Re: New installation of HBase ignoring cell visibility (even though it's active)

2018-02-24 Thread Mike Thomsen
Ted/Anoop, I realized what the problem was. When I installed HBase previously (and had this working) it was on a Linux machine with a package that created the hbase superuser and loaded the services with that. I was starting HBase on the Mac my company just gave me and was using my user account. E

Re: New installation of HBase ignoring cell visibility (even though it's active)

2018-02-24 Thread Ted Yu
I noted that SIMPLE_AUTHENTICATION was returned. Here is related code for getSecurityCapabilities(): if (User.isHBaseSecurityEnabled(master.getConfiguration())) { capabilities.add(SecurityCapabilitiesResponse.Capability. SECURE_AUTHENTICATION); } else { capabilities.

Re: New installation of HBase ignoring cell visibility (even though it's active)

2018-02-24 Thread Mike Thomsen
Hi Anoop, Looks like it's running as michaelthomsen: hbase(main):013:0> whoami michaelthomsen (auth:SIMPLE) groups: staff, everyone, localaccounts, _appserverusr, admin, _appserveradm, _lpadmin, com.apple.sharepoint.group.2, _appstore, _lpoperator, _developer, com.apple.access_ftp, com.apple.

Re: New installation of HBase ignoring cell visibility (even though it's active)

2018-02-24 Thread Anoop John
As which user you are running the scan shell command? It has to be as michaelthomasen as u have set auths to this uname. Looks like the user running the command is the hbase super user who started the RS process. Then all cells will be returned irrespective of its visibility and scan auths. Anoop

New installation of HBase ignoring cell visibility (even though it's active)

2018-02-24 Thread Mike Thomsen
(hbase-site.xml is attached) I reinstalled HBase on my development machine and the console shows that it's just ignoring the cell visibility settings even though it shows they're active: hbase(main):001:0> list TABLE 0 row(s) in 0.1630 seconds => [] hbase(main):002:0> get_auths "michaelthomsen"

Integrating Hbase with Solr

2018-02-24 Thread Nitin Gupta
Hi Guys, Any good reference to integrate Hbase and Solr using Lily Update indexer and Morphlines? I didn’t find any example using both indexer and morphlines. Sent from my iPhone