Description
test-libhdfs fails on Linux
Console output:
[exec] Opened /tmp/testfile.txt for writing successfully...
[exec] Wrote 14 bytes
[exec] Current position: 14
[exec] Flushed /tmp/testfile.txt successfully!
[exec] hdfsAvailable: 14
[exec] Current position: 1
[exec] Read following 13 bytes:
[exec] ello, World!
[exec] Read following 14 bytes:
[exec] Hello, World!
[exec] hdfsCopy(remote-local): Success!
[exec] hdfsCopy(remote-remote): Success!
[exec] hdfsMove(local-local): Success!
[exec] hdfsMove(remote-local): Success!
[exec] hdfsRename: Success!
[exec] hdfsCopy(remote-remote): Success!
[exec] hdfsCreateDirectory: Success!
[exec] hdfsSetReplication: Success!
[exec] hdfsGetWorkingDirectory: hdfs://localhost:23000/user/hadoopqa
[exec] hdfsSetWorkingDirectory: Success!
[exec] hdfsGetWorkingDirectory: /tmp
[exec] hdfsGetDefaultBlockSize: 67108864
[exec] hdfsGetCapacity: 1645537427456
[exec] hdfsGetUsed: 24576
[exec] hdfsGetPathInfo - SUCCESS!
[exec] Name: /tmp, Type: D, Replication: 0, BlockSize: 0, Size: 0, LastMod: Tue May 27 03:27:35 2008
[exec] Name: hdfs://localhost:23000/tmp/newdir, Type: D, Replication: 0, BlockSize: 0, Size: 0, LastMod: Tue May 27 03:27:35 2008
[exec] Name: hdfs://localhost:23000/tmp/testfile.txt, Type: F, Replication: 2, BlockSize: 67108864, Size: 14, LastMod: Tue May 27 03:27:35 2008
[exec] Name: hdfs://localhost:23000/tmp/testfile2.txt, Type: F, Replication: 1, BlockSize: 67108864, Size: 14, LastMod: Tue May 27 03:27:35 2008
[exec] Exception in thread "main" java.lang.NoSuchMethodError: getFileCacheHints
[exec] stopping datanode
[exec] stopping namenode
[exec] exiting with 1
[exec] make: *** [test] Error 1