[
https://issues.apache.org/jira/browse/HDFS-11650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011347#comment-16011347
]
Chen Liang edited comment on HDFS-11650 at 5/15/17 9:23 PM:
------------------------------------------------------------
Turns out, the reason for the failure to load the image file was that,
HDFS-11519 changed {{MiniDFSCluster#getStorageDirPath}}, to rename the data dir
from format "data1" to something link "dn1_data0". However the existing image
file hadoop-22-dfs-dir.tgz still has the old format. This causes the failure to
locate the datanode dir and results in a "file system not formatted" error.
v001 patch includes a new image file hadoop-22-dfs-dir-ozone.tgz with the name
of the data directories remapped to the new format, and points the test to the
new image file.
was (Author: vagarychen):
Turns out, the reason for the failure to load the image file was that,
HDFS-11519 changed {{MiniDFSCluster#getStorageDirPath}}, to rename the data dir
from format "data1" to something link "dn1_dn0". However the existing image
file hadoop-22-dfs-dir.tgz still has the old format. This causes the failure to
locate the datanode dir and results in a "file system not formatted" error.
v001 patch includes a new image file hadoop-22-dfs-dir-ozone.tgz with the name
of the data directories remapped to the new format, and points the test to the
new image file.
> Ozone: fix the consistently timeout test testUpgradeFromRel22Image
> ------------------------------------------------------------------
>
> Key: HDFS-11650
> URL: https://issues.apache.org/jira/browse/HDFS-11650
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Chen Liang
> Assignee: Chen Liang
> Attachments: HDFS-11650-HDFS-7240.001.patch
>
>
> Recently, the test TestDFSUpgradeFromImage.testUpgradeFromRel22Image has been
> consistently failing due to timeout. JIRAs that encountered this include (but
> not limited to) HDFS-11642, HDFS-11635, HDFS-11062 and HDFS-11618. While this
> test passes in trunk.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]