Hadoop象本3章

Hadoop象本3章

Hadoop 第2版

Hadoop 第2版

の3章をやるよ!

  1. localhostの件(P48)
  2. localhostは、「hadoop0.20.XXX/conf/core-site.xml 」このファイルに書いてあるアドレスを使う事。
    例「localhost:9090」等
  3. SHowFileStatusTest(P62)
  4. クラスを作る時は、JUnitで作る事。(on Eclipse)
    assertThat()は、staticに関数を呼び出すか(Assert.assertThat())
    import static org.junit.Assert.assertThat;
    を追加すべし。
    同様にis()メソッドも、staticに関数を呼び出すか(Is.is())
    import static org.hamcrest.core.Is; 
    を追加すべし。
    lessThanOrEqualTo()メソッドが無いって言われたので、「hamcrest-all-1.3.0RC2.jar」をダウンロード&staticインポート。
    ダウンロード先↓
    Google Code Archive - Long-term storage for Google Code Project Hosting.