hadoop-policy.xml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3. <!--
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License. See accompanying LICENSE file.
  13. -->
  14. <!-- Put site-specific property overrides in this file. -->
  15. <configuration>
  16. <property>
  17. <name>security.client.protocol.acl</name>
  18. <value>*</value>
  19. <description>ACL for ClientProtocol, which is used by user code
  20. via the DistributedFileSystem.
  21. The ACL is a comma-separated list of user and group names. The user and
  22. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  23. A special value of "*" means all users are allowed.</description>
  24. </property>
  25. <property>
  26. <name>security.client.datanode.protocol.acl</name>
  27. <value>*</value>
  28. <description>ACL for ClientDatanodeProtocol, the client-to-datanode protocol
  29. for block recovery.
  30. The ACL is a comma-separated list of user and group names. The user and
  31. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  32. A special value of "*" means all users are allowed.</description>
  33. </property>
  34. <property>
  35. <name>security.datanode.protocol.acl</name>
  36. <value>*</value>
  37. <description>ACL for DatanodeProtocol, which is used by datanodes to
  38. communicate with the namenode.
  39. The ACL is a comma-separated list of user and group names. The user and
  40. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  41. A special value of "*" means all users are allowed.</description>
  42. </property>
  43. <property>
  44. <name>security.inter.datanode.protocol.acl</name>
  45. <value>*</value>
  46. <description>ACL for InterDatanodeProtocol, the inter-datanode protocol
  47. for updating generation timestamp.
  48. The ACL is a comma-separated list of user and group names. The user and
  49. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  50. A special value of "*" means all users are allowed.</description>
  51. </property>
  52. <property>
  53. <name>security.namenode.protocol.acl</name>
  54. <value>*</value>
  55. <description>ACL for NamenodeProtocol, the protocol used by the secondary
  56. namenode to communicate with the namenode.
  57. The ACL is a comma-separated list of user and group names. The user and
  58. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  59. A special value of "*" means all users are allowed.</description>
  60. </property>
  61. <property>
  62. <name>security.inter.tracker.protocol.acl</name>
  63. <value>*</value>
  64. <description>ACL for InterTrackerProtocol, used by the tasktrackers to
  65. communicate with the jobtracker.
  66. The ACL is a comma-separated list of user and group names. The user and
  67. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  68. A special value of "*" means all users are allowed.</description>
  69. </property>
  70. <property>
  71. <name>security.job.submission.protocol.acl</name>
  72. <value>*</value>
  73. <description>ACL for JobSubmissionProtocol, used by job clients to
  74. communciate with the jobtracker for job submission, querying job status etc.
  75. The ACL is a comma-separated list of user and group names. The user and
  76. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  77. A special value of "*" means all users are allowed.</description>
  78. </property>
  79. <property>
  80. <name>security.task.umbilical.protocol.acl</name>
  81. <value>*</value>
  82. <description>ACL for TaskUmbilicalProtocol, used by the map and reduce
  83. tasks to communicate with the parent tasktracker.
  84. The ACL is a comma-separated list of user and group names. The user and
  85. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  86. A special value of "*" means all users are allowed.</description>
  87. </property>
  88. <property>
  89. <name>security.admin.operations.protocol.acl</name>
  90. <value>${HADOOP_HDFS_USER}</value>
  91. <description>ACL for AdminOperationsProtocol. Used for admin commands.
  92. The ACL is a comma-separated list of user and group names. The user and
  93. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  94. A special value of "*" means all users are allowed.</description>
  95. </property>
  96. <property>
  97. <name>security.refresh.usertogroups.mappings.protocol.acl</name>
  98. <value>${HADOOP_HDFS_USER}</value>
  99. <description>ACL for RefreshUserMappingsProtocol. Used to refresh
  100. users mappings. The ACL is a comma-separated list of user and
  101. group names. The user and group list is separated by a blank. For
  102. e.g. "alice,bob users,wheel". A special value of "*" means all
  103. users are allowed.</description>
  104. </property>
  105. <property>
  106. <name>security.refresh.policy.protocol.acl</name>
  107. <value>${HADOOP_HDFS_USER}</value>
  108. <description>ACL for RefreshAuthorizationPolicyProtocol, used by the
  109. dfsadmin and mradmin commands to refresh the security policy in-effect.
  110. The ACL is a comma-separated list of user and group names. The user and
  111. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  112. A special value of "*" means all users are allowed.</description>
  113. </property>
  114. <!-- YARN Protocols -->
  115. <property>
  116. <name>security.resourcetracker.protocol.acl</name>
  117. <value>${HADOOP_YARN_USER}</value>
  118. <description>ACL for ResourceTracker protocol, used by the
  119. ResourceManager and NodeManager to communicate with each other.
  120. The ACL is a comma-separated list of user and group names. The user and
  121. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  122. A special value of "*" means all users are allowed.</description>
  123. </property>
  124. <property>
  125. <name>security.admin.protocol.acl</name>
  126. <value>${HADOOP_YARN_USER}</value>
  127. <description>ACL for RMAdminProtocol, for admin commands.
  128. The ACL is a comma-separated list of user and group names. The user and
  129. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  130. A special value of "*" means all users are allowed.</description>
  131. </property>
  132. <property>
  133. <name>security.client.resourcemanager.protocol.acl</name>
  134. <value>*</value>
  135. <description>ACL for ClientRMProtocol, used by the ResourceManager
  136. and applications submission clients to communicate with each other.
  137. The ACL is a comma-separated list of user and group names. The user and
  138. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  139. A special value of "*" means all users are allowed.</description>
  140. </property>
  141. <property>
  142. <name>security.applicationmaster.resourcemanager.protocol.acl</name>
  143. <value>*</value>
  144. <description>ACL for AMRMProtocol, used by the ResourceManager
  145. and ApplicationMasters to communicate with each other.
  146. The ACL is a comma-separated list of user and group names. The user and
  147. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  148. A special value of "*" means all users are allowed.</description>
  149. </property>
  150. <property>
  151. <name>security.containermanager.protocol.acl</name>
  152. <value>*</value>
  153. <description>ACL for ContainerManager protocol, used by the NodeManager
  154. and ApplicationMasters to communicate with each other.
  155. The ACL is a comma-separated list of user and group names. The user and
  156. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  157. A special value of "*" means all users are allowed.</description>
  158. </property>
  159. <property>
  160. <name>security.resourcelocalizer.protocol.acl</name>
  161. <value>*</value>
  162. <description>ACL for ResourceLocalizer protocol, used by the NodeManager
  163. and ResourceLocalizer to communicate with each other.
  164. The ACL is a comma-separated list of user and group names. The user and
  165. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  166. A special value of "*" means all users are allowed.</description>
  167. </property>
  168. <property>
  169. <name>security.job.task.protocol.acl</name>
  170. <value>*</value>
  171. <description>ACL for TaskUmbilicalProtocol, used by the map and reduce
  172. tasks to communicate with the parent tasktracker.
  173. The ACL is a comma-separated list of user and group names. The user and
  174. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  175. A special value of "*" means all users are allowed.</description>
  176. </property>
  177. <property>
  178. <name>security.job.client.protocol.acl</name>
  179. <value>*</value>
  180. <description>ACL for MRClientProtocol, used by job clients to
  181. communciate with the MR ApplicationMaster to query job status etc.
  182. The ACL is a comma-separated list of user and group names. The user and
  183. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  184. A special value of "*" means all users are allowed.</description>
  185. </property>
  186. <property>
  187. <name>security.ha.service.protocol.acl</name>
  188. <value>*</value>
  189. <description>ACL for HAService protocol used by HAAdmin to manage the
  190. active and stand-by states of namenode.</description>
  191. </property>
  192. <property>
  193. <name>security.zkfc.protocol.acl</name>
  194. <value>*</value>
  195. <description>ACL for access to the ZK Failover Controller
  196. </description>
  197. </property>
  198. <property>
  199. <name>security.mrhs.client.protocol.acl</name>
  200. <value>*</value>
  201. <description>ACL for HSClientProtocol, used by job clients to
  202. communciate with the MR History Server job status etc.
  203. The ACL is a comma-separated list of user and group names. The user and
  204. group list is separated by a blank. For e.g. "alice,bob users,wheel".
  205. A special value of "*" means all users are allowed.</description>
  206. </property>
  207. </configuration>