You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Don Bosco Durai <bo...@apache.org> on 2016/04/09 18:15:40 UTC

Re: Need Help to choose Apache Ranger

Copying Ranger user mailing group …

Hi Rehan

>1. Either Apache Ranger is the only solution available for aforementioned features to manage i.e. authentication, authorization and auditing if not please state some alternatives ( I prefer if you please mention the open source solutions)
Apache Ranger provides comprehensive end to end security solution, excluding authentication. For authentication you have to use Kerberos.  Apache Knox also provides AD/LDAP authentication and security for components supporting JDBC/ODBC and REST APIs. Depending upon which Hadoop components you are using, you can also use their native features. You should also look into Apache Sentry. It is also open source providing security for various Hadoop components.

>2. Moreover is Solr is the prerequisite of Apache ranger?
While it is not mandatory, it is highly recommended. Ranger can send audit records to multiple destinations simultaneously. If you send audits to Solr, then you can do real-time query using Ranger Admin UI. You should also send to HDFS for long time archival and doing offline analytics.

>3. Is Apache ranger has some cost/licencing issue to implement or it is an open source solution because I hear from someone professional that on policies administration and all above mentioned stuff on HDP cluster, Apache ranger is the only solution but it have licensing issue, can you comment on it as well.
All features of Apache Ranger, including it's policy administration are 100% open source and released under Apache license. If you are aware of any specific components or libraries you are concerned of, then please let us know. We should be able to clarify or rectify it.

Thanks

Bosco


From:  Rehan Ahmed Ch <ch...@gmail.com>
Date:  Saturday, April 9, 2016 at 8:15 AM
To:  Don Bosco Durai <bo...@apache.org>
Subject:  Need Help to choose Apache Ranger

Hi Bosco.

How are you? Hope everything is going on fine.Sir, I need your help in Hadoop security. I need your view regarding, authentication, authorization and auditing of Hadoop cluster that

Either Apache Ranger is the only solution available for aforementioned features to manage i.e. authentication, authorization and auditing if not please state some alternatives ( I prefer if you please mention the open source solutions)

Moreover is Solr is the prerequisite of Apache ranger?

Is Apache ranger has some cost/licencing issue to implement or it is an open source solution because I hear from someone professional that on policies administration and all above mentioned stuff on HDP cluster, Apache ranger is the only solution but it have licensing issue, can you comment on it as well.
I will be very grateful if you please spare few minutes to comment on above mentioned question, that will help me a lot.

Thank you!

Rehan



Re: Need Help to choose Apache Ranger

Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
Thanks Bosco for the explanation.

Adding Ranger Dev group.

From: Don Bosco Durai <bo...@apache.org>>
Reply-To: "user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>" <us...@ranger.incubator.apache.org>>
Date: Wednesday, April 13, 2016 at 2:30 PM
To: Rehan Ahmed Ch <ch...@gmail.com>>
Cc: "user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>" <us...@ranger.incubator.apache.org>>
Subject: Re: Need Help to choose Apache Ranger

Copying Ranger user group...

Assuming you are referring for storing Audit records. Ranger currently supports 4 options (Solr, HDFS, DB and Log4Appender). The framework is extensible and you can write your custom destination. We also had a Kafka destination in the previous release. However, in this release we are asking users to use Log4Appender. E.g. You can use Kafka log4j appender and send it to Kafka. Similarly I know users who use log4j TCP appender to send to their custom app.

Regardless which destination you use,  the following features are available:

  1.  Ranger plugins have in-built mechanism to send the audits reliably to the destination. If the destination is down, it will write to local file and resume when it is available.
  2.  If the destination is slower than the rate the audits are generated, then it will spool to local file and throttle the writing. But it will eventually it will send the audits (local spool size is configurable and dependent on availability of disk space)
  3.  If you are using components like Hbase, Kafka or Solr which generate way too many audit records, then it will summarize the audits at the source based on unique user+request and send the summarized audits.
  4.  It uses different queues and spool file for each destination. So If you have destinations which support different speed (e.g. Solr v/s HDFS), you will not lose audits and also the faster destinations will get audit records sooner.

Saying that, you need to decide what you want to do with Audits and pick the appropriate destinations. From Ranger Admin UI point of view, we will only support Solr and DB. And we will drop support for DB in the next release. So if you are not going to use Ranger Admin to view the audit records, then you don't have to sent to Solr also.

We choose Solr for the following reasons:

  1.  Can scale to billions of documents
  2.  Transparent and native support for sharding and replications
  3.  Easy to add columns and also auto creates missing columns (like no sql). In RDBMS, alter table with large amount of data just doesn't work
  4.  Great searching capabilities
  5.  Native dashboard features like faceting, etc.
  6.  Easy to write your own custom application on top of it
  7.  Apache open source

In other words, Solr is a great product on its own :-)

Thanks

Bosco



From: Rehan Ahmed Ch <ch...@gmail.com>>
Date: Monday, April 11, 2016 at 2:10 AM
To: Don Bosco Durai <bo...@apache.org>>
Subject: Re: Need Help to choose Apache Ranger

Hi Don,

Can you please help to have some alternative of "Solr" in case we have opt to implement Ranger?

On Sun, Apr 10, 2016 at 12:09 AM, Rehan Ahmed Ch <ch...@gmail.com>> wrote:

Thank you very much dear Don Bosco for your outright response. Much obliged.

I will let you know in case if any your kind guidance will require. Thank you so much.

--
Truly,
Rehan Ahmed



--
Truly,
Rehan Ahmed

Re: Need Help to choose Apache Ranger

Posted by Velmurugan Periasamy <vp...@hortonworks.com>.
Thanks Bosco for the explanation.

Adding Ranger Dev group.

From: Don Bosco Durai <bo...@apache.org>>
Reply-To: "user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>" <us...@ranger.incubator.apache.org>>
Date: Wednesday, April 13, 2016 at 2:30 PM
To: Rehan Ahmed Ch <ch...@gmail.com>>
Cc: "user@ranger.incubator.apache.org<ma...@ranger.incubator.apache.org>" <us...@ranger.incubator.apache.org>>
Subject: Re: Need Help to choose Apache Ranger

Copying Ranger user group...

Assuming you are referring for storing Audit records. Ranger currently supports 4 options (Solr, HDFS, DB and Log4Appender). The framework is extensible and you can write your custom destination. We also had a Kafka destination in the previous release. However, in this release we are asking users to use Log4Appender. E.g. You can use Kafka log4j appender and send it to Kafka. Similarly I know users who use log4j TCP appender to send to their custom app.

Regardless which destination you use,  the following features are available:

  1.  Ranger plugins have in-built mechanism to send the audits reliably to the destination. If the destination is down, it will write to local file and resume when it is available.
  2.  If the destination is slower than the rate the audits are generated, then it will spool to local file and throttle the writing. But it will eventually it will send the audits (local spool size is configurable and dependent on availability of disk space)
  3.  If you are using components like Hbase, Kafka or Solr which generate way too many audit records, then it will summarize the audits at the source based on unique user+request and send the summarized audits.
  4.  It uses different queues and spool file for each destination. So If you have destinations which support different speed (e.g. Solr v/s HDFS), you will not lose audits and also the faster destinations will get audit records sooner.

Saying that, you need to decide what you want to do with Audits and pick the appropriate destinations. From Ranger Admin UI point of view, we will only support Solr and DB. And we will drop support for DB in the next release. So if you are not going to use Ranger Admin to view the audit records, then you don't have to sent to Solr also.

We choose Solr for the following reasons:

  1.  Can scale to billions of documents
  2.  Transparent and native support for sharding and replications
  3.  Easy to add columns and also auto creates missing columns (like no sql). In RDBMS, alter table with large amount of data just doesn't work
  4.  Great searching capabilities
  5.  Native dashboard features like faceting, etc.
  6.  Easy to write your own custom application on top of it
  7.  Apache open source

In other words, Solr is a great product on its own :-)

Thanks

Bosco



From: Rehan Ahmed Ch <ch...@gmail.com>>
Date: Monday, April 11, 2016 at 2:10 AM
To: Don Bosco Durai <bo...@apache.org>>
Subject: Re: Need Help to choose Apache Ranger

Hi Don,

Can you please help to have some alternative of "Solr" in case we have opt to implement Ranger?

On Sun, Apr 10, 2016 at 12:09 AM, Rehan Ahmed Ch <ch...@gmail.com>> wrote:

Thank you very much dear Don Bosco for your outright response. Much obliged.

I will let you know in case if any your kind guidance will require. Thank you so much.

--
Truly,
Rehan Ahmed



--
Truly,
Rehan Ahmed

Re: Need Help to choose Apache Ranger

Posted by Don Bosco Durai <bo...@apache.org>.
Copying Ranger user group…

Assuming you are referring for storing Audit records. Ranger currently supports 4 options (Solr, HDFS, DB and Log4Appender). The framework is extensible and you can write your custom destination. We also had a Kafka destination in the previous release. However, in this release we are asking users to use Log4Appender. E.g. You can use Kafka log4j appender and send it to Kafka. Similarly I know users who use log4j TCP appender to send to their custom app.

Regardless which destination you use,  the following features are available:
Ranger plugins have in-built mechanism to send the audits reliably to the destination. If the destination is down, it will write to local file and resume when it is available. 
If the destination is slower than the rate the audits are generated, then it will spool to local file and throttle the writing. But it will eventually it will send the audits (local spool size is configurable and dependent on availability of disk space)
If you are using components like Hbase, Kafka or Solr which generate way too many audit records, then it will summarize the audits at the source based on unique user+request and send the summarized audits.
It uses different queues and spool file for each destination. So If you have destinations which support different speed (e.g. Solr v/s HDFS), you will not lose audits and also the faster destinations will get audit records sooner.
Saying that, you need to decide what you want to do with Audits and pick the appropriate destinations. From Ranger Admin UI point of view, we will only support Solr and DB. And we will drop support for DB in the next release. So if you are not going to use Ranger Admin to view the audit records, then you don’t have to sent to Solr also. 

We choose Solr for the following reasons:
Can scale to billions of documents
Transparent and native support for sharding and replications
Easy to add columns and also auto creates missing columns (like no sql). In RDBMS, alter table with large amount of data just doesn’t work
Great searching capabilities
Native dashboard features like faceting, etc.
Easy to write your own custom application on top of it
Apache open source
In other words, Solr is a great product on its own :-)

Thanks

Bosco



From:  Rehan Ahmed Ch <ch...@gmail.com>
Date:  Monday, April 11, 2016 at 2:10 AM
To:  Don Bosco Durai <bo...@apache.org>
Subject:  Re: Need Help to choose Apache Ranger

Hi Don,

Can you please help to have some alternative of "Solr" in case we have opt to implement Ranger?

On Sun, Apr 10, 2016 at 12:09 AM, Rehan Ahmed Ch <ch...@gmail.com> wrote:
Thank you very much dear Don Bosco for your outright response. Much obliged.

I will let you know in case if any your kind guidance will require. Thank you so much.

-- 
Truly,
Rehan Ahmed



-- 
Truly,
Rehan Ahmed