[
https://issues.apache.org/jira/browse/HDFS-6763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14511639#comment-14511639
]
Kihwal Lee commented on HDFS-6763:
----------------------------------
bq. The applied patch generated 1 additional checkstyle issues.
There is no additional issue. I've downloaded the two XML (patched, trunk) and
diffed. They are identical.
The test failures were caused by a strange error that I cannot reproduce. All
failed test cases saw ZipException while loading conf. I do not believe it is
related to the patch.
{noformat}
2015-04-24 00:48:05,059 FATAL conf.Configuration
(Configuration.java:loadResource(2719)) - error parsing conf core-default.xml
java.util.zip.ZipException: invalid code lengths set
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:122)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at
org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown
Source)
at
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:150)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2546)
at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2534)
at
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2605)
at
org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2558)
at
org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2469)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:1205)
at org.apache.hadoop.conf.Configuration.set(Configuration.java:1177)
at
org.apache.hadoop.hdfs.server.datanode.TestBPOfferService.setupMocks(TestBPOfferService.java:107)
{noformat}
> Initialize file system-wide quota once on transitioning to active
> -----------------------------------------------------------------
>
> Key: HDFS-6763
> URL: https://issues.apache.org/jira/browse/HDFS-6763
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: ha, namenode
> Reporter: Daryn Sharp
> Assignee: Kihwal Lee
> Attachments: HDFS-6763.patch
>
>
> {{FSImage#loadEdits}} calls {{updateCountForQuota}} to recalculate & verify
> quotas for the entire namespace. A standby NN using shared edits calls this
> method every minute. The standby may appear to "hang" for many seconds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)