简体   繁体   English

游侠的架构令人困惑

[英]Confusing by Ranger architecture

After spent whole day to setup and study Hortonworks' Ranger, I'm reluctantly able to use it now, but I'm still very confusing by it's structure. 在花了整整一天的时间来设置和研究Hortonworks的Ranger之后,我现在勉强可以使用它,但是我仍然对其结构感到困惑。 I'm listing the questions below: 我列出以下问题:

  1. What's the relationship between Ranger and Knox, why Hortonworks provides two solutions for same position? 游侠与诺克斯之间是什么关系,为什么Hortonworks为同一职位提供两种解决方案? If I want apply them for my Hadoop cluster, what's the best practice? 如果我想将它们应用于我的Hadoop集群,最佳实践是什么?

  2. Why I have to use UserSync? 为什么我必须使用UserSync? or in the other words, Ranger-Admin has ability to talk with LDAP/AD to get users, why it still needs UserSync? 换句话说,Ranger-Admin可以与LDAP / AD对话以获取用户,为什么它仍需要UserSync? and how if UserSync gonna to talk with LDAP/AD also(or a different ldap server), what would happen? 以及如果UserSync也要与LDAP / AD(或其他ldap服务器)通信,会发生什么? will it impacts to Ranger-Admin self's LDAP/AD connection? 是否会影响Ranger-Admin自身的LDAP / AD连接?

  3. Similar question for plugin's audit connection, as Ranger-Admin has audit connection, why plugin need itself's connection to audit database? 对于插件的审计连接,存在类似的问题,因为Ranger-Admin具有审计连接,为什么插件需要自身与审计数据库的连接? Why they don't just push audit information to Admin, and let Admin to make decision where to store the information? 为什么他们不只是将审核信息推送给Admin,而是让Admin决定将信息存储在何处? How if they(Admin and plugin) talk to different database, what gonna happen? 如果他们(管理员和插件)与不同的数据库通信,将会怎样?

I think I can briefly answer Q1 我想我可以简要回答第一季度

What's the relationship between Ranger and Knox, why Hortonworks provides two solutions for same position? 游侠与诺克斯之间是什么关系,为什么Hortonworks为同一职位提供两种解决方案? If I want apply them for my Hadoop cluster, what's the best practice? 如果我想将它们应用于我的Hadoop集群,最佳实践是什么?

They are for different purpose. 它们是出于不同的目的。 Ranger gives you fine-grained ACLs control, Knox is a proxy server (gateway) that gives a centralized web service security layer. Ranger为您提供了细粒度的ACL控制,Knox是提供中央Web服务安全层的代理服务器(网关)。 That says, using Ranger, you have a central place (UI) to manage ACLs for hadoop stack services, eg who can access a table on hive; 也就是说,使用Ranger,您可以在一个中央位置(UI)来管理hadoop堆栈服务的ACL,例如谁可以访问hive上的表; using knox, you can put all your hadoop services under a private network using un-secure http protocol, and knox server running on gateway node (outside can access) that has https enabled, it gives user a central http/https entry to access web services that supports user login (some of hadoop stack services, eg hadoop, doesn't support this yet). 使用knox,您可以使用不安全的http协议将所有hadoop服务置于专用网络下,并且在启用了https的网关节点(外部可以访问)上运行的knox服务器,它为用户提供了一个中央http / https条目来访问Web支持用户登录的服务(某些hadoop堆栈服务,例如hadoop,尚不支持此功能)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM