Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 19th, 2013  |  syntax: XML  |  size: 2.06 KB  |  views: 66  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!-- Hadoop core-site.xml -->
  2. <configuration>
  3.   <property>
  4.     <name>fs.default.name</name>
  5.     <value>hdfs://127.0.0.1/</value>
  6.   </property>
  7. </configuration>
  8.  
  9. <!-- hdfs-site.xml -->
  10. <configuration>
  11.   <property>
  12.     <name>dfs.replication</name>
  13.     <value>1</value>
  14.   </property>
  15.   <property>
  16.     <name>dfs.support.append</name>
  17.     <value>true</value>
  18.   </property>
  19.   <property>
  20.     <name>dfs.datanode.max.xcievers</name>
  21.     <value>4096</value>
  22.   </property>
  23.   <property>
  24.     <name>dfs.name.dir</name>
  25.     <value>/home/debian/hadoop/install/var/namenode</value>
  26.   </property>
  27.   <property>
  28.     <name>dfs.data.dir</name>
  29.     <value>/home/debian/hadoop/install/var/datanode</value>
  30.   </property>
  31. </configuration>
  32.  
  33. <!-- hbase-site.xml -->
  34. <configuration>
  35.   <property>
  36.     <name>dfs.support.append</name>
  37.     <value>true</value>
  38.   </property>
  39.  <property>
  40.     <name>hbase.rootdir</name>
  41.     <value>hdfs://127.0.0.1:8020/hbase</value>
  42.   </property>
  43.   <property>
  44.     <name>hbase.cluster.distributed</name>
  45.     <value>true</value>
  46.   </property>
  47.   <property>
  48.     <name>hbase.zookeeper.quorum</name>
  49.     <value>debian-vm</value>
  50.   </property>
  51.   <property>
  52.     <name>hbase.master</name>
  53.     <value>debain-vm</value>
  54.   </property>
  55.   <property>
  56.     <name>hbase.zookeeper.property.clientPort</name>
  57.     <value>2181</value>
  58.   </property>
  59.   <property>
  60.     <name>zookeeper.session.timeout</name>
  61.     <value>180000</value>
  62.   </property>
  63.   <property>
  64.     <name>zookeeper.znode.rootserver</name>
  65.     <value>debian-vm</value>
  66.   </property>
  67.   <property>
  68.     <name>hbase.zookeeper.property.dataDir</name>
  69.     <value>/home/debian/hadoop/install/var/zookeeper</value>
  70.   </property>
  71. </configuration>
  72.  
  73. <!-- /etc/profile.d/hadoop-home.sh -->
  74. export HADOOP_INSTALL=/home/debian/hadoop/install/hadoop-1.0.4
  75. export PATH=${HADOOP_INSTALL}/bin:${PATH}
  76. #export HBASE_INSTALL=/home/debian/hadoop/hbase_install/hbase-0.94.5
  77. export HBASE_INSTALL=/home/debian/hadoop/hbase_install/hbase-0.94.4
  78. export HBASE_HOME=${HBASE_INSTALL}
  79. export PATH=${HBASE_INSTALL}/bin:${PATH}
clone this paste RAW Paste Data