Advertisement
mahmoodn

hadoop config

May 4th, 2015
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.63 KB | None | 0 0
  1. [mahmood@tiger ~]$ cd bigdatabench/apache/hadoop-1.0.2/conf/
  2. [mahmood@tiger conf]$ cat core-site.xml
  3. <?xml version="1.0"?>
  4. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  5. <!-- Put site-specific property overrides in this file. -->
  6. <configuration>
  7. <property>
  8.   <name>fs.default.name</name>
  9.   <value>hdfs://localhost:54310</value>
  10. </property>
  11. </configuration>
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. [mahmood@tiger conf]$ cat mapred-site.xml
  19. <?xml version="1.0"?>
  20. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  21. <!-- Put site-specific property overrides in this file. -->
  22. <configuration>
  23. <property>
  24.   <name>mapred.job.tracker</name>
  25.   <value>localhost:54311</value>
  26. </property>
  27. <property>
  28.   <name>mapred.child.java.opts</name>
  29.   <value>-Xmx512m</value>
  30. </property>
  31. <property>
  32.   <name>mapred.tasktracker.map.tasks.maximum</name>
  33.   <value>4</value>
  34. </property>
  35. <property>
  36.   <name>mapred.tasktracker.reduce.tasks.maximum</name>
  37.   <value>4</value>
  38. </property>
  39. </configuration>
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50. [mahmood@tiger conf]$ cat hdfs-site.xml
  51. <?xml version="1.0"?>
  52. <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
  53. <!-- Put site-specific property overrides in this file. -->
  54. <configuration>
  55. <property>
  56.   <name>dfs.replication</name>
  57.   <value>1</value>
  58. </property>
  59. <property>
  60.   <name>hadoop.tmp.dir</name>
  61.   <value>/data/apache/hadoop-1.0.2/folders/tmp</value>
  62. </property>
  63. <property>
  64.   <name>dfs.name.dir</name>
  65.   <value>/data/apache/hadoop-1.0.2/folders/name</value>
  66. </property>
  67. <property>
  68.   <name>dfs.data.dir</name>
  69.   <value>/data/apache/hadoop-1.0.2/folders/data</value>
  70. </property>
  71. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement