Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎07-25-2016
Accepted Solution

How to bind Sentry service to 0.0.0.0 ?

Hi.

 

On an Oracle BDA system where several network interfaces exist on each host, how can I bind Sentry to wildcard address 0.0.0.0 ?

 

I've already tried by adding:
<property>
  <name>sentry.service.server.rpcaddress</name>
  <value>0.0.0.0</value>
</property>

to Sentry Service Advanced Configuration Snippet (Safety Valve) for sentry-site.xml

 

but it's stil not working (I've double checked that generated sentry-site.xml file contains the property).

 

Any help is appreciated.

 

Thanks in advance.

 

Cloudera Employee
Posts: 1
Registered: ‎04-09-2018

Re: How to bind Sentry service to 0.0.0.0 ?

Hello,

I see that you've configured "sentry.service.server.rpcaddress" whereas the actual value is "sentry.service.server.rpc-address". So, there should be a hyphen (-) between rpc and address. For more details, you can refer the below link:

https://cwiki.apache.org/confluence/display/SENTRY/Sentry+Service+Configuration

Regards,
Priyanka Soni