[ 
https://issues.apache.org/jira/browse/HDFS-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992280#comment-14992280
 ] 

Colin Patrick McCabe commented on HDFS-9252:
--------------------------------------------

Looks like some unit tests failed because they couldn't run {{/bin/ls}} ?
{code}
Error while running command to get file permissions : ExitCodeException 
exitCode=127: /bin/ls: error while loading shared libraries: libattr.so.1: 
failed to map segment from shared object: Permission denied
{code}
Sigh.  Re-triggering jenkins.

> Change TestFileTruncate to use FsDatasetTestUtils to get block file size and 
> genstamp.
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-9252
>                 URL: https://issues.apache.org/jira/browse/HDFS-9252
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.7.1
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>         Attachments: HDFS-9252.00.patch, HDFS-9252.01.patch, 
> HDFS-9252.02.patch, HDFS-9252.03.patch
>
>
> {{TestFileTruncate}} verifies block size and genstamp by directly accessing 
> the  local filesystem, e.g.:
> {code}
> assertTrue(cluster.getBlockMetadataFile(dn0,
>    newBlock.getBlock()).getName().endsWith(
>    newBlock.getBlock().getGenerationStamp() + ".meta"));
> {code}
> Lets abstract the fsdataset-special logic behind FsDatasetTestUtils.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to