You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "lohit vijayarenu (JIRA)" <ji...@apache.org> on 2008/05/28 00:56:59 UTC

[jira] Updated: (HADOOP-3451) test-libhdfs fails on Linux

     [ https://issues.apache.org/jira/browse/HADOOP-3451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

lohit vijayarenu updated HADOOP-3451:
-------------------------------------

    Attachment: HADOOP-3451-1.patch

Looks like only LINUX test-libhdfs caught this. Attached patch replaces the use of removed getFileCacheHints to getFileBLockLocations.

> test-libhdfs fails on Linux
> ---------------------------
>
>                 Key: HADOOP-3451
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3451
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.18.0
>         Environment: Linux
>            Reporter: Mukund Madhugiri
>            Priority: Blocker
>             Fix For: 0.18.0
>
>         Attachments: HADOOP-3451-1.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.