Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Edit $HADOOP_COMMON_HOME/etc/hadoop/hdfs-site.xml and add the following configuration.

Code Block
xml
xml

<?xml version="1.0" encoding="UTF-8"?>

...


<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

...


<configuration>

...


  <property>
    <name>fs.default.name</name>

...


    <value>hdfs://localhost/</value>

...


  </property>

...


  
  <property>
    <name>dfs.namenode.name.dir</name>

...


    <value>file:///tmp/bk-nn-local-

...

snapshot</value>

...


  </property>

...



  <property>
    <name>dfs.namenode.edits.dir</name>

...


    <value>file:///tmp/bk-nn-local-

...

edits</value>

...


  </property>

...



  <property>
    <name>dfs.namenode.shared.edits.dir</name>

...


    <value>bookkeeper://localhost:2181/hdfsjournal</value>

...


  </property>

...



  <property>
    <name>dfs.namenode.edits.journal-plugin.bookkeeper</name>

...


    <value>org.apache.hadoop.contrib.bkjournal.BookKeeperJournalManager</value>

...


  </property>

...


</configuration>

...

xml
Code Block
xml

Benchmarks