Advertisement
Guest User

core-xml

a guest
Mar 5th, 2014
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  3.  
  4. <!-- Put site-specific property overrides in this file. -->
  5. <configuration>
  6.  
  7. <!-- General Security Settings -->
  8. <!--
  9. <property>
  10. <name>hadoop.security.authentication</name>
  11. <value>kerberos</value>
  12. </property>
  13.  
  14. <property>
  15. <name>hadoop.security.authorization</name>
  16. <value>true</value>
  17. </property>
  18.  
  19. <property>
  20. <name>dfs.permissions</name>
  21. <value>true</value>
  22. </property>
  23. -->
  24.  
  25. <!-- Hadoop Web Console Authentication settings
  26. The value of the hadoop.http.authentication.kerberos.principal property
  27. must use a principal name such as HTTP/host@REALM as required by the
  28. SPNEGO specification (RFC-4559 4.1)
  29. -->
  30. <!--
  31. <property>
  32. <name>hadoop.http.filter.initializers</name>
  33. <value>org.apache.hadoop.security.AuthenticationFilterInitializer</value>
  34. </property>
  35.  
  36. <property>
  37. <name>hadoop.http.authentication.type</name>
  38. <value>kerberos</value>
  39. </property>
  40.  
  41. <property>
  42. <name>hadoop.http.authentication.token.validity</name>
  43. <value>36000</value>
  44. </property>
  45.  
  46. <property>
  47. <name>hadoop.http.authentication.signature.secret</name>
  48. <value>hadoop</value>
  49. </property>
  50.  
  51. <property>
  52. <name>hadoop.http.authentication.cookie.domain</name>
  53. <value>.example.com</value>
  54. </property>
  55.  
  56. <property>
  57. <name>hadoop.http.authentication.simple.anonymous.allowed</name>
  58. <value>false</value>
  59. </property>
  60.  
  61. <property>
  62. <name>hadoop.http.authentication.kerberos.principal</name>
  63. <value>HTTP/_HOST@REALM</value>
  64. </property>
  65.  
  66. <property>
  67. <name>hadoop.http.authentication.kerberos.keytab</name>
  68. <value>/path/to/dse.keytab</value>
  69. </property>
  70. -->
  71.  
  72. <!-- General CFS/DFS settings -->
  73. <property>
  74. <name>io.seqfile.compress.blocksize</name>
  75. <value>1048576</value>
  76. <description>
  77. The minimum block size for compression in block compressed
  78. SequenceFiles.
  79. </description>
  80. </property>
  81.  
  82. <!-- 64 MB default -->
  83. <property>
  84. <name>fs.local.block.size</name>
  85. <value>67108864</value>
  86. </property>
  87.  
  88. <!-- 2 MB SubBlock Size -->
  89. <property>
  90. <name>fs.local.subblock.size</name>
  91. <value>2097152</value>
  92. </property>
  93.  
  94. <!--
  95. Uncomment these properties to override default consistency levels used by CFS.
  96. Default read and write consistency levels
  97. are QUORUM for SimpleStrategy and LOCAL_QUORUM for NetworkTopologyStrategy.
  98.  
  99. If read CL is set to QUORUM, CFS will internally
  100. try to read blocks at ONE for performance reasons, before attempting QUORUM.
  101. This is safe to do so, because blocks in CFS are immutable.
  102. -->
  103. <!--
  104. <property>
  105. <name>dse.consistencylevel.read</name>
  106. <value>QUORUM</value>
  107. </property>
  108.  
  109. <property>
  110. <name>dse.consistencylevel.write</name>
  111. <value>QUORUM</value>
  112. </property>
  113. -->
  114.  
  115. <!-- CFS Repair batch size -->
  116. <property>
  117. <name>dse.cfs.repair.batchsize</name>
  118. <value>300</value>
  119. </property>
  120.  
  121. <!-- real world cluster configuration checket http://hadoop.apache.org/docs/r1.0.3/cluster_setup.html-->
  122. <!--
  123. // Larger amount of memory allocated for the in-memory file-system used to merge map-outputs at
  124. // the reduces.
  125. <property>
  126. <name>fs.inmemory.size.mb</name>
  127. <value>200</value>
  128. </property>
  129.  
  130. // More streams merged at once while sorting files.
  131. <property>
  132. <name>io.sort.factor</name>
  133. <value>100</value>
  134. </property>
  135.  
  136. // Higher memory-limit while sorting data.
  137. <property>
  138. <name>io.sort.mb</name>
  139. <value>200</value>
  140. </property>
  141. -->
  142. </configuration>
  143. bash-4.1$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement