Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3451

test-libhdfs fails on Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.18.0
    • 0.18.0
    • test
    • None
    • Linux

    • Reviewed

    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

      Attachments

        1. HADOOP-3451-1.patch
          4 kB
          Lohit Vijaya Renu

        Activity

          People

            lohit Lohit Vijaya Renu
            mukundm Mukund Madhugiri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: