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

Tony Wu commented on HDFS-9490:
-------------------------------

The failed tests are not related to this patch. Only 
{{TestPendingCorruptDnMessages}} and {{TestNameNodeMetadataConsistency}} uses 
the updated {{MiniDFSCluster#changeGenStampOfBlock}}. Both of these tests pass 
fine.

Manually ran the failed tests with jdk 1.8 on OSX and they all pass.

The failed JDK 1.7 tests both suffer from permission denied error (might be a 
test system issue):
org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testListCacheDirectives:
{{Error while running command to get file permissions : ExitCodeException 
exitCode=127: /bin/ls: error while loading shared libraries: libc.so.6: failed 
to map segment from shared object: Permission denied}}
org.apache.hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA.testListCacheDirectives:
{{bash: error while loading shared libraries: libdl.so.2: failed to map segment 
from shared object: Permission denied}}

The failed JDK 1.8 tests : 
TestSeveralNameNodes is tracked by HDFS-9376


> MiniDFSCluster should change block generation stamp via FsDatasetTestUtils
> --------------------------------------------------------------------------
>
>                 Key: HDFS-9490
>                 URL: https://issues.apache.org/jira/browse/HDFS-9490
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 2.7.1
>            Reporter: Tony Wu
>            Assignee: Tony Wu
>            Priority: Minor
>         Attachments: HDFS-9490.001.patch, HDFS-9490.002.patch
>
>
> {{MiniDFSCluster#changeGenStampOfBlock}} directly manipulates the block meta 
> file to update the generation stamp. This depends on file based {{FsDataset}}.
> We can abstract the change generation stamp operation in 
> {{FsDatasetTestUtils}}.



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

Reply via email to