Hi Shrey:

You raise a valid point here.

The indent for creation of multiple repositories was to support multiple 
cluster from a single RANGER-ADMIN UI. 
For example, the RANGER-ADMIN UI should be able to store policies for hadoopdev 
as well as hadooptest clusters. 
Instead of hosting a separate RANGER-ADMIN UI, you can use a single 
RANGER-ADMIN UI to support multiple hadoop cluster instances.

Currently, the ranger ui does not have a way to STOP the admin from creating 
two separate  hadoop repositories (hadoop1, hadoop2) pointing to same hadoop 
cluster instances.
However, hdfs plugin can be configured to pull policies from only one of the 
hadoop repository.

Is there a good way to preventing the admin from creating two different 
repositories for the same cluster?

Thanks,
Selva-



> On Jan 23, 2015, at 9:28 AM, Shrey Mehrotra <[email protected]> 
> wrote:
> 
> Hi All,
>  
> We are creating repositories in Ranger and found that multiple HDFS or Hive 
> repositories could be created for a single cluster (pointing to single 
> namenode IP or metastore URI), but in agents we provide only one repository 
> that would be used by the agent interceptors.  Is this the expected behavior 
> or could we restrict creation of 1 repository for one cluster (say hadoopdev 
> for namenode ip 192.168.25.47:8020) ?. What would be the benefit of defining 
> multiple repositories for a single cluster as only one is going to be used 
> and would not be changed after Ranger deployment?
>  
> Any inputs would be helpful.
>  
> Thanks & Regards,
> Shrey Mehrotra
> Senior Software Engineer, iLabs
> Impetus Infotech Pvt. Ltd.
>  
> 
> 
> 
> 
> 
> 
> 
> NOTE: This message may contain information that is confidential, proprietary, 
> privileged or otherwise protected by law. The message is intended solely for 
> the named addressee. If received in error, please destroy and notify the 
> sender. Any use of this email is prohibited when received in error. Impetus 
> does not represent, warrant and/or guarantee, that the integrity of this 
> communication has been maintained nor that the communication is free of 
> errors, virus, interception or interference.
> 
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to 
> which it is addressed and may contain information that is confidential, 
> privileged and exempt from disclosure under applicable law. If the reader of 
> this message is not the intended recipient, you are hereby notified that any 
> printing, copying, dissemination, distribution, disclosure or forwarding of 
> this communication is strictly prohibited. If you have received this 
> communication in error, please contact the sender immediately and delete it 
> from your system. Thank You.

Reply via email to