[
https://issues.apache.org/jira/browse/HDFS-14771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923196#comment-16923196
]
He Xiaoqiao edited comment on HDFS-14771 at 9/5/19 8:33 AM:
------------------------------------------------------------
Check failed unit test, I don't think they are related with this changes.
1. TestQuota failed because parameter check failed when input '3K' for
`setQuota` in branch-2 which does not support traditional binary prefix. The
root cause is different check mode between trunk and branch-2 and this issue
brings from HDFS-14633. I would like to resolve it later.
{code:java}
@Test
publicvoidtestClrQuotaOnRoot()throwsException{
longorignalQuota=dfs.getQuotaUsage(newPath("/")).getQuota();
DFSAdminadmin=newDFSAdmin(conf);
String[]args;
args=newString[]{"-setQuota","3K","/"};
runCommand(admin,args,false);
assertEquals(3*1024,dfs.getQuotaUsage(newPath("/")).getQuota());
args=newString[]{"-clrQuota","/"};
runCommand(admin,args,false);
assertEquals(orignalQuota,dfs.getQuotaUsage(newPath("/")).getQuota());
}
{code}
2.TestDirectoryScanner seems timeout always in branch-2. It may be related with
HDFS-14303, addendum patch does not commit to branch-2?
3.TestJournalNodeRespectsBindHostKeys run pass at local.
was (Author: hexiaoqiao):
Check failed unit test, I don't think they are related with this changes.
1. TestQuota failed because parameter check failed when input '3K' for
`setQuota` in branch-2 which does not support traditional binary prefix. The
root cause is different check mode between trunk and branch-2 and this issue
brings from HDFS-14633. I would like to resolve it later.
{code:java}
@Test
publicvoidtestClrQuotaOnRoot()throwsException{
longorignalQuota=dfs.getQuotaUsage(newPath("/")).getQuota();
DFSAdminadmin=newDFSAdmin(conf);
String[]args;
args=newString[]{"-setQuota","3K","/"};
runCommand(admin,args,false);
assertEquals(3*1024,dfs.getQuotaUsage(newPath("/")).getQuota());
args=newString[]{"-clrQuota","/"};
runCommand(admin,args,false);
assertEquals(orignalQuota,dfs.getQuotaUsage(newPath("/")).getQuota());
}
{code}
2.TestDirectoryScanner seems timeout always in branch-2. It may be related with
HDFS-14303.
3.TestJournalNodeRespectsBindHostKeys run pass at local.
> Backport HDFS-14617 to branch-2 (Improve fsimage load time by writing
> sub-sections to the fsimage index)
> --------------------------------------------------------------------------------------------------------
>
> Key: HDFS-14771
> URL: https://issues.apache.org/jira/browse/HDFS-14771
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 2.10.0
> Reporter: He Xiaoqiao
> Assignee: He Xiaoqiao
> Priority: Major
> Labels: release-blocker
> Attachments: HDFS-14771.branch-2.001.patch,
> HDFS-14771.branch-2.002.patch, HDFS-14771.branch-2.003.patch
>
>
> This JIRA aims to backport HDFS-14617 to branch-2: fsimage load time by
> writing sub-sections to the fsimage index.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]