Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

How to bind Sentry service to 0.0.0.0 ?

SOLVED Go to solution
Highlighted

How to bind Sentry service to 0.0.0.0 ?

New Contributor

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to bind Sentry service to 0.0.0.0 ?

Cloudera Employee
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
1 REPLY 1

Re: How to bind Sentry service to 0.0.0.0 ?

Cloudera Employee
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