Advertisement
Guest User

Hadoop Conf XML

a guest
Aug 12th, 2013
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.34 KB | None | 0 0
  1. CORE SITE XML.
  2. ------------------------------------------------------------
  3. <?xml version="1.0"?>
  4. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  5.  
  6. <!-- Put site-specific property overrides in this file. -->
  7.  
  8. <configuration>
  9.     <property>
  10.         <name>fs.default.name</name>
  11.         <value>hdfs://192.168.22.63/</value>
  12.         <final>true</final>
  13.     </property>
  14. </configuration>
  15.  
  16. ------------------------------------------------------------
  17.  
  18. HDFS SITE XML
  19. ------------------------------------------------------------
  20. <?xml version="1.0"?>
  21. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  22.  
  23. <!-- Put site-specific property overrides in this file. -->
  24.  
  25. <configuration>
  26.     <property>
  27.         <name>dfs.name.dir</name>
  28.         <value>/hdfs/name</value>
  29.         <final>true</final>
  30.     </property>
  31.     <property>
  32.         <name>dfs.data.dir</name>
  33.         <value>/hdfs/data</value>
  34.         <final>true</final>
  35.     </property>
  36.     <property>
  37.         <name>fs.checkpoint.dir</name>
  38.         <value>/hdfs/namesecondary</value>
  39.         <final>true</final>
  40.     </property>
  41. </configuration>
  42.  
  43. ------------------------------------------------------------
  44.  
  45. MAPRED SITE XML
  46. ------------------------------------------------------------
  47. <?xml version="1.0"?>
  48. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  49.  
  50. <!-- Put site-specific property overrides in this file. -->
  51.  
  52. <configuration>
  53.     <property>
  54.         <name>mapred.job.tracker</name>
  55.         <value>192.168.22.63:8021</value>
  56.         <final>true</final>
  57.     </property>
  58.     <property>
  59.         <name>mapred.local.dir</name>
  60.         <value>/mapred/local</value>
  61.         <final>true</final>
  62.     </property>
  63.     <property>
  64.         <name>mapred.system.dir</name>
  65.         <value>/hadooptmp/mapred/system</value>
  66.         <final>true</final>
  67.     </property>
  68.     <property>
  69.         <name>mapred.tasktracker.map.tasks.maximum</name>
  70.         <value>7</value>
  71.         <final>true</final>
  72.     </property>
  73.     <property>
  74.         <name>mapred.tasktracker.reduce.tasks.maximum</name>
  75.         <value>7</value>
  76.         <final>true</final>
  77.     </property>
  78.     <property>
  79.         <name>mapred.child.java.opts</name>
  80.         <value>-Xmx400m</value>
  81.         <!-- Not marked as final so jobs can include JVM debugging options -->
  82.     </property>
  83. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement