[ https://issues.apache.org/jira/browse/HDFS-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14905062#comment-14905062 ]
Hadoop QA commented on HDFS-8873: --------------------------------- \\ \\ | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 18m 15s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:green}+1{color} | tests included | 0m 0s | The patch appears to include 1 new or modified test files. | | {color:green}+1{color} | javac | 7m 58s | There were no new javac warning messages. | | {color:green}+1{color} | javadoc | 10m 15s | There were no new javadoc warning messages. | | {color:green}+1{color} | release audit | 0m 24s | The applied patch does not increase the total number of release audit warnings. | | {color:red}-1{color} | checkstyle | 1m 24s | The applied patch generated 8 new checkstyle issues (total was 442, now 443). | | {color:red}-1{color} | whitespace | 0m 3s | The patch has 3 line(s) that end in whitespace. Use git apply --whitespace=fix. | | {color:green}+1{color} | install | 1m 26s | mvn install still works. | | {color:green}+1{color} | eclipse:eclipse | 0m 36s | The patch built with eclipse:eclipse. | | {color:green}+1{color} | findbugs | 2m 31s | The patch does not introduce any new Findbugs (version 3.0.0) warnings. | | {color:green}+1{color} | native | 3m 16s | Pre-build of native portion | | {color:red}-1{color} | hdfs tests | 138m 33s | Tests failed in hadoop-hdfs. | | | | 184m 47s | | \\ \\ || Reason || Tests || | Failed unit tests | hadoop.hdfs.TestDFSRename | | | hadoop.hdfs.TestDatanodeConfig | | | hadoop.hdfs.TestBlockReaderFactory | | | hadoop.hdfs.server.namenode.ha.TestDFSUpgradeWithHA | | | hadoop.hdfs.TestDFSClientRetries | | | hadoop.hdfs.TestFileCreationDelete | | | hadoop.hdfs.TestSnapshotCommands | | | hadoop.hdfs.TestFileConcurrentReader | | | hadoop.hdfs.TestFileAppend2 | | | hadoop.hdfs.tools.TestDFSAdmin | | | hadoop.hdfs.TestBlockStoragePolicy | | | hadoop.hdfs.TestLeaseRecovery | | | hadoop.hdfs.TestClientProtocolForPipelineRecovery | | | hadoop.hdfs.tools.TestDelegationTokenFetcher | | | hadoop.tracing.TestTraceAdmin | | | hadoop.hdfs.TestWriteConfigurationToDFS | | | hadoop.hdfs.tools.TestStoragePolicyCommands | | | hadoop.hdfs.TestReplication | | | hadoop.hdfs.TestPipelines | | | hadoop.hdfs.tools.TestGetGroups | | | hadoop.hdfs.TestParallelShortCircuitRead | | | hadoop.hdfs.TestRenameWhileOpen | | | hadoop.hdfs.TestBlocksScheduledCounter | | | hadoop.hdfs.TestRollingUpgradeRollback | | | hadoop.hdfs.protocolPB.TestPBHelper | | | hadoop.hdfs.tools.TestDFSAdminWithHA | | | hadoop.hdfs.TestDataTransferKeepalive | | | hadoop.hdfs.TestFSInputChecker | | | hadoop.hdfs.shortcircuit.TestShortCircuitLocalRead | | | hadoop.hdfs.TestRead | | | hadoop.hdfs.TestDistributedFileSystem | | | hadoop.hdfs.TestHDFSTrash | | | hadoop.hdfs.TestExternalBlockReader | | | hadoop.hdfs.TestDatanodeRegistration | | | hadoop.hdfs.TestCrcCorruption | | | hadoop.hdfs.tools.TestDFSHAAdminMiniCluster | | | hadoop.hdfs.TestSmallBlock | | | hadoop.hdfs.TestDFSRollback | | | hadoop.hdfs.TestDFSStorageStateRecovery | | | hadoop.hdfs.TestDFSUtil | | | hadoop.hdfs.TestHdfsAdmin | | | hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer | | | hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewerForContentSummary | | | hadoop.hdfs.TestAbandonBlock | | | hadoop.hdfs.TestConnCache | | | hadoop.hdfs.TestFileCorruption | | | hadoop.hdfs.TestHDFSServerPorts | | | hadoop.hdfs.TestParallelShortCircuitLegacyRead | | | hadoop.hdfs.TestRollingUpgradeDowngrade | | | hadoop.hdfs.TestDFSFinalize | | | hadoop.hdfs.TestLocalDFS | | | hadoop.hdfs.TestBlockMissingException | | | hadoop.hdfs.TestFileAppend3 | | | hadoop.hdfs.TestFileLengthOnClusterRestart | | | hadoop.hdfs.crypto.TestHdfsCryptoStreams | | | hadoop.hdfs.TestDatanodeStartupFixesLegacyStorageIDs | | | hadoop.hdfs.TestRollingUpgrade | | | hadoop.hdfs.tools.TestDebugAdmin | | | hadoop.hdfs.TestPersistBlocks | | | hadoop.hdfs.tools.offlineEditsViewer.TestOfflineEditsViewer | | | hadoop.hdfs.protocol.datatransfer.sasl.TestSaslDataTransfer | | | hadoop.hdfs.TestDFSPermission | | | hadoop.hdfs.TestDFSInotifyEventInputStream | | | hadoop.hdfs.TestFileAppend | | | hadoop.hdfs.TestDFSClientExcludedNodes | | | hadoop.hdfs.TestMiniDFSCluster | | | hadoop.hdfs.TestParallelRead | | | hadoop.hdfs.TestPread | | | hadoop.tracing.TestTracing | | | hadoop.hdfs.TestReservedRawPaths | | | hadoop.hdfs.TestEncryptionZonesWithHA | | | hadoop.hdfs.TestParallelShortCircuitReadNoChecksum | | | hadoop.hdfs.TestHFlush | | | hadoop.hdfs.TestParallelUnixDomainRead | | | hadoop.hdfs.TestDatanodeReport | | | hadoop.hdfs.security.TestDelegationTokenForProxyUser | | | hadoop.hdfs.TestDatanodeLayoutUpgrade | | | hadoop.hdfs.TestFileAppendRestart | | | hadoop.hdfs.TestRemoteBlockReader2 | | | hadoop.hdfs.TestSetrepIncreasing | | | hadoop.hdfs.security.TestDelegationToken | | | hadoop.hdfs.shortcircuit.TestShortCircuitCache | | | hadoop.hdfs.TestReadWhileWriting | | | hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewerForXAttr | | | hadoop.hdfs.TestLease | | | hadoop.hdfs.TestEncryptedTransfer | | | hadoop.hdfs.TestFetchImage | | | hadoop.hdfs.TestDFSUpgradeFromImage | | | hadoop.hdfs.TestReplaceDatanodeOnFailure | | | hadoop.hdfs.TestEncryptionZonesWithKMS | | | hadoop.hdfs.TestClientBlockVerification | | | hadoop.hdfs.TestGetBlocks | | | hadoop.hdfs.TestWriteBlockGetsBlockLengthHint | | | hadoop.hdfs.TestMissingBlocksAlert | | | hadoop.hdfs.security.token.block.TestBlockToken | | | hadoop.hdfs.tools.TestDFSZKFailoverController | | | hadoop.hdfs.TestBlockReaderLocal | | | hadoop.hdfs.TestHDFSFileSystemContract | | | hadoop.hdfs.TestDFSStartupVersions | | | hadoop.hdfs.TestAppendSnapshotTruncate | | | hadoop.hdfs.TestDatanodeDeath | | | hadoop.hdfs.TestSafeMode | | | hadoop.hdfs.TestListFilesInFileContext | | | hadoop.hdfs.TestSeekBug | | | hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewerForAcl | | | hadoop.hdfs.TestDisableConnCache | | | hadoop.hdfs.TestLargeBlock | | | hadoop.hdfs.TestBlockReaderLocalLegacy | | | hadoop.hdfs.TestMultiThreadedHflush | | | hadoop.tracing.TestTracingShortCircuitLocalRead | | | hadoop.hdfs.TestClose | | | hadoop.hdfs.TestSetTimes | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12761918/HDFS-8873.006.patch | | Optional Tests | javadoc javac unit findbugs checkstyle | | git revision | trunk / c890c51 | | checkstyle | https://builds.apache.org/job/PreCommit-HDFS-Build/12625/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt | | whitespace | https://builds.apache.org/job/PreCommit-HDFS-Build/12625/artifact/patchprocess/whitespace.txt | | hadoop-hdfs test log | https://builds.apache.org/job/PreCommit-HDFS-Build/12625/artifact/patchprocess/testrun_hadoop-hdfs.txt | | Test Results | https://builds.apache.org/job/PreCommit-HDFS-Build/12625/testReport/ | | Java | 1.7.0_55 | | uname | Linux asf901.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/12625/console | This message was automatically generated. > throttle directoryScanner > ------------------------- > > Key: HDFS-8873 > URL: https://issues.apache.org/jira/browse/HDFS-8873 > Project: Hadoop HDFS > Issue Type: Improvement > Components: datanode > Affects Versions: 2.7.1 > Reporter: Nathan Roberts > Assignee: Daniel Templeton > Attachments: HDFS-8873.001.patch, HDFS-8873.002.patch, > HDFS-8873.003.patch, HDFS-8873.004.patch, HDFS-8873.005.patch, > HDFS-8873.006.patch > > > The new 2-level directory layout can make directory scans expensive in terms > of disk seeks (see HDFS-8791) for details. > It would be good if the directoryScanner() had a configurable duty cycle that > would reduce its impact on disk performance (much like the approach in > HDFS-8617). > Without such a throttle, disks can go 100% busy for many minutes at a time > (assuming the common case of all inodes in cache but no directory blocks > cached, 64K seeks are required for full directory listing which translates to > 655 seconds) -- This message was sent by Atlassian JIRA (v6.3.4#6332)