Advertisement
Guest User

Untitled

a guest
Jul 20th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1. mapred-site.xml
  2.  
  3. <?xml version="1.0"?>
  4. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  5. <!--
  6. Licensed under the Apache License, Version 2.0 (the "License");
  7. you may not use this file except in compliance with the License.
  8. You may obtain a copy of the License at
  9.  
  10. http://www.apache.org/licenses/LICENSE-2.0
  11.  
  12. Unless required by applicable law or agreed to in writing, software
  13. distributed under the License is distributed on an "AS IS" BASIS,
  14. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. See the License for the specific language governing permissions and
  16. limitations under the License. See accompanying LICENSE file.
  17. -->
  18.  
  19. <!-- Put site-specific property overrides in this file. -->
  20.  
  21. <configuration>
  22. <property>
  23. <name>mapreduce.job.tracker</name>
  24. <value>a:5431</value>
  25. </property>
  26. <property>
  27. <name>mapreduce.framework.name</name>
  28. <value>yarn</value>
  29. </property>
  30. </configuration>
  31.  
  32. hdfs-site.xml
  33.  
  34. <?xml version="1.0" encoding="UTF-8"?>
  35. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  36. <!--
  37. Licensed under the Apache License, Version 2.0 (the "License");
  38. you may not use this file except in compliance with the License.
  39. You may obtain a copy of the License at
  40.  
  41. http://www.apache.org/licenses/LICENSE-2.0
  42.  
  43. Unless required by applicable law or agreed to in writing, software
  44. distributed under the License is distributed on an "AS IS" BASIS,
  45. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  46. See the License for the specific language governing permissions and
  47. limitations under the License. See accompanying LICENSE file.
  48. -->
  49.  
  50. <!-- Put site-specific property overrides in this file. -->
  51.  
  52.  
  53. <configuration>
  54. <property>
  55. <name>dfs.replication</name>
  56. <value>3</value>
  57. </property>
  58.  
  59. <property>
  60. <name>dfs.name.dir</name>
  61. <value>/home/w13/namenode</value>
  62. </property>
  63. <property>
  64. <name>dfs.permissions</name>
  65. <value>false</value>
  66. </property>
  67. <property>
  68. <name>dfs.data.dir</name>
  69. <value>/home/w13/hdfs</value>
  70. </property>
  71. </configuration>
  72.  
  73. core-site.xml
  74. <?xml version="1.0" encoding="UTF-8"?>
  75. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  76. <!--
  77. Licensed under the Apache License, Version 2.0 (the "License");
  78. you may not use this file except in compliance with the License.
  79. You may obtain a copy of the License at
  80.  
  81. http://www.apache.org/licenses/LICENSE-2.0
  82.  
  83. Unless required by applicable law or agreed to in writing, software
  84. distributed under the License is distributed on an "AS IS" BASIS,
  85. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  86. See the License for the specific language governing permissions and
  87. limitations under the License. See accompanying LICENSE file.
  88. -->
  89.  
  90. <!-- Put site-specific property overrides in this file. -->
  91.  
  92. <configuration>
  93. <property>
  94. <name>fs.defaultFS</name>
  95. <value>hdfs://a:9000/</value>
  96. </property>
  97. </configuration>
  98.  
  99. yarn-site.xml
  100.  
  101. <?xml version="1.0"?>
  102. <!--
  103. Licensed under the Apache License, Version 2.0 (the "License");
  104. you may not use this file except in compliance with the License.
  105. You may obtain a copy of the License at
  106.  
  107. http://www.apache.org/licenses/LICENSE-2.0
  108.  
  109. Unless required by applicable law or agreed to in writing, software
  110. distributed under the License is distributed on an "AS IS" BASIS,
  111. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  112. See the License for the specific language governing permissions and
  113. limitations under the License. See accompanying LICENSE file.
  114. -->
  115. <configuration>
  116. <property>
  117. <name>yarn.resourcemanager.hostname</name>
  118. <value>a</value>
  119. </property>
  120. <property>
  121. <name>yarn.resourcemanager.resource-tracker.address</name>
  122. <value>a:8025</value>
  123. </property>
  124. <property>
  125. <name>yarn.resourcemanager.scheduler.address</name>
  126. <value>a:8035</value>
  127. </property>
  128. <property>
  129. <name>yarn.resourcemanager.address</name>
  130. <value>a:8050</value>
  131. </property>
  132. <property>
  133. <name>yarn.nodemanager.aux-services</name>
  134. <value>mapreduce_shuffle</value>
  135. </property>
  136.  
  137. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement