Thank you, Vihang. The problem I see is that though the hive plugin is enabled, the service is not listed in the Ranger tables, nor does it show up in the Ranger UI. I will have to debug more to understand the issue.
I will update in case I am able to figure this out. Thank you. On Wed, Jul 25, 2018 at 2:02 AM Vihang Karajgaonkar <vih...@cloudera.com> wrote: > I am not an expert in Ranger, but as long as Ranger uses HMS public APIs > it should work. Some of the HMS APIs (get_partitions_by_expr) may not work > if you don't have hive jars in the metastore classpath. However, this API > is only used by Hive so I don't think that could be the cause of your > issue. Also, ACID tables have some limitations in standalone mode. > > One way to debug further would be to run a different client to connect to > HMS and see if it is able to connect. Also check if it works in a > non-secure setup (to rule out if the issue is related to Kerberos). > > On Tue, Jul 24, 2018 at 3:45 AM, Sandhya Agarwal <write2s...@gmail.com> > wrote: > >> Thank you so much for the response. However, I do not see any errors in >> both HMS / Ranger logs. But, just to clarify, I am assuming Ranger is >> supported even with the standalone hive metastore. >> >> On Mon, Jul 23, 2018 at 11:09 PM Vihang Karajgaonkar <vih...@cloudera.com> >> wrote: >> >>> I am not super-familiar with Ranger but do you see any errors in HMS >>> logs. Assuming Ranger is trying to connect to HMS, it should log some >>> exceptions if the connection is not successful. Also would be helpful to >>> look for errors in Ranger logs. >>> >>> On Mon, Jul 23, 2018 at 4:21 AM, Sandhya Agarwal <write2s...@gmail.com> >>> wrote: >>> >>>> Hello, >>>> >>>> I am trying to enable the ranger hive plugin 2.0.0, for standalone hive >>>> metastore 3.0.0. I do not see the link happening, even though both my >>>> ranger admin and hive metastore services are restarted and running without >>>> any errors, after enabling the ranger-hive-plugin. Any pointers ? >>>> >>>> Thank you, >>>> Sandhya >>>> >>> >>> >