From hdfs-issues-return-220978-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu May 17 19:19:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 39EAF18076D for ; Thu, 17 May 2018 19:19:04 +0200 (CEST) Received: (qmail 55093 invoked by uid 500); 17 May 2018 17:19:03 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 55082 invoked by uid 99); 17 May 2018 17:19:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2018 17:19:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A1BE5CC840 for ; Thu, 17 May 2018 17:19:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Qc9bZHusWGMU for ; Thu, 17 May 2018 17:19:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 61B165F21E for ; Thu, 17 May 2018 17:19:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E6A30E0161 for ; Thu, 17 May 2018 17:19:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A56DA217A1 for ; Thu, 17 May 2018 17:19:00 +0000 (UTC) Date: Thu, 17 May 2018 17:19:00 +0000 (UTC) From: "Anbang Hu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (HDFS-13560) Insufficient system resources exist to complete the requested service for some tests on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-13560?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1647= 9410#comment-16479410 ]=20 Anbang Hu edited comment on HDFS-13560 at 5/17/18 5:18 PM: ----------------------------------------------------------- I think maintaining one function in which Windows limit is capped at Intege= r.MAX_VALUE is better than having two functions targeting Windows and POSIX= separately. Please kindly review=C2=A0[^HDFS-13560.004.patch]. was (Author: huanbang1993): I think maintaining one function in which Windows limit is capped at Intege= r.MAX_VALUE is better than having two functions targeting Windows and POSIX= separately. Please kindly review=C2=A0[^HDFS-13560.004.patch] > Insufficient system resources exist to complete the requested service for= some tests on Windows > -------------------------------------------------------------------------= ---------------------- > > Key: HDFS-13560 > URL: https://issues.apache.org/jira/browse/HDFS-13560 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Anbang Hu > Assignee: Anbang Hu > Priority: Major > Labels: Windows > Attachments: HDFS-13560.000.patch, HDFS-13560.001.patch, HDFS-135= 60.002.patch, HDFS-13560.003.patch, HDFS-13560.004.patch > > > On Windows, there are 30 tests in HDFS component giving error like the fo= llowing: > {color:#d04437}[ERROR] Tests run: 7, Failures: 0, Errors: 7, Skipped: 0,= Time elapsed: 50.149 s <<< FAILURE! - in org.apache.hadoop.hdfs.server.dat= anode.fsdataset.impl.TestLazyPersistFiles{color} > {color:#d04437} [ERROR] testDisableLazyPersistFileScrubber(org.apache.had= oop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistFiles) Time elapsed:= 16.513 s <<< ERROR!{color} > {color:#d04437} 1450: Insufficient system resources exist to complete the= requested service.{color} > {color:#d04437}at org.apache.hadoop.io.nativeio.NativeIO$Windows.extendWo= rkingSetSize(Native Method){color} > {color:#d04437} at org.apache.hadoop.hdfs.server.datanode.DataNode.startD= ataNode(DataNode.java:1339){color} > {color:#d04437} at org.apache.hadoop.hdfs.server.datanode.DataNode.= (DataNode.java:495){color} > {color:#d04437} at org.apache.hadoop.hdfs.server.datanode.DataNode.makeIn= stance(DataNode.java:2695){color} > {color:#d04437} at org.apache.hadoop.hdfs.server.datanode.DataNode.instan= tiateDataNode(DataNode.java:2598){color} > {color:#d04437} at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(M= iniDFSCluster.java:1554){color} > {color:#d04437} at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSClust= er(MiniDFSCluster.java:904){color} > {color:#d04437} at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCl= uster.java:514){color} > {color:#d04437} at org.apache.hadoop.hdfs.MiniDFSCluster$Builder.build(Mi= niDFSCluster.java:473){color} > {color:#d04437} at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.= LazyPersistTestCase.startUpCluster(LazyPersistTestCase.java:316){color} > {color:#d04437} at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.= LazyPersistTestCase$ClusterWithRamDiskBuilder.build(LazyPersistTestCase.jav= a:415){color} > {color:#d04437} at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.= TestLazyPersistFiles.testDisableLazyPersistFileScrubber(TestLazyPersistFile= s.java:128){color} > {color:#d04437} at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Me= thod){color} > {color:#d04437} at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth= odAccessorImpl.java:62){color} > {color:#d04437} at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega= tingMethodAccessorImpl.java:43){color} > {color:#d04437} at java.lang.reflect.Method.invoke(Method.java:498){color= } > {color:#d04437} at org.junit.runners.model.FrameworkMethod$1.runReflectiv= eCall(FrameworkMethod.java:47){color} > {color:#d04437} at org.junit.internal.runners.model.ReflectiveCallable.ru= n(ReflectiveCallable.java:12){color} > {color:#d04437} at org.junit.runners.model.FrameworkMethod.invokeExplosiv= ely(FrameworkMethod.java:44){color} > {color:#d04437} at org.junit.internal.runners.statements.InvokeMethod.eva= luate(InvokeMethod.java:17){color} > {color:#d04437} at org.junit.internal.runners.statements.RunAfters.evalua= te(RunAfters.java:27){color} > {color:#d04437} at org.junit.internal.runners.statements.FailOnTimeout$St= atementThread.run(FailOnTimeout.java:74){color} > {color:#333333}The involved tests are{color} > {code:java} > TestLazyPersistFiles,TestLazyPersistPolicy,TestLazyPersistReplicaRecovery= ,TestLazyPersistLockedMemory#testWritePipelineFailure,TestLazyPersistLocked= Memory#testShortBlockFinalized,TestLazyPersistReplicaPlacement#testRamDiskN= otChosenByDefault,TestLazyPersistReplicaPlacement#testFallbackToDisk,TestLa= zyPersistReplicaPlacement#testPlacementOnSizeLimitedRamDisk,TestLazyPersist= ReplicaPlacement#testPlacementOnRamDisk,TestLazyWriter#testDfsUsageCreateDe= lete,TestLazyWriter#testDeleteAfterPersist,TestLazyWriter#testDeleteBeforeP= ersist,TestLazyWriter#testLazyPersistBlocksAreSaved,TestDirectoryScanner#te= stDeleteBlockOnTransientStorage,TestDirectoryScanner#testRetainBlockOnPersi= stentStorage,TestDirectoryScanner#testExceptionHandlingWhileDirectoryScan,T= estDirectoryScanner#testDirectoryScanner,TestDirectoryScanner#testThrottlin= g,TestDirectoryScanner#testDirectoryScannerInFederatedCluster,TestNameNodeM= XBean#testNameNodeMXBeanInfo{code} > {color:#d04437}[ERROR] Errors:{color} > {color:#d04437}[ERROR] TestDirectoryScanner.testDeleteBlockOnTransientSto= rage:385 =E2=95=97 NativeIO Insuffic...{color} > {color:#d04437}[ERROR] TestDirectoryScanner.testDirectoryScanner:426->run= Test:431 =E2=95=97 NativeIO Insuffic...{color} > {color:#d04437}[ERROR] TestDirectoryScanner.testDirectoryScannerInFederat= edCluster:1026 =E2=95=97 NativeIO In...{color} > {color:#d04437}[ERROR] TestDirectoryScanner.testExceptionHandlingWhileDir= ectoryScan:982 =E2=95=97 NativeIO In...{color} > {color:#d04437}[ERROR] TestDirectoryScanner.testRetainBlockOnPersistentSt= orage:344 =E2=95=97 NativeIO Insuffi...{color} > {color:#d04437}[ERROR] TestDirectoryScanner.testThrottling:583 =E2=95=97 = NativeIO Insufficient system resourc...{color} > {color:#d04437}[ERROR] TestLazyPersistFiles.testAppendIsDenied:51->LazyPe= rsistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistFiles.testConcurrentRead:186->LazyP= ersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistFiles.testConcurrentWrites:237->Laz= yPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistFiles.testCorruptFilesAreDiscarded:= 94->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistFiles.testDisableLazyPersistFileScr= ubber:128->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistFiles.testFileShouldNotDiscardedIfN= NRestarted:157->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{c= olor} > {color:#d04437}[ERROR] TestLazyPersistFiles.testTruncateIsDenied:72->Lazy= PersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistLockedMemory.testShortBlockFinalize= d:134->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistLockedMemory.testWritePipelineFailu= re:154->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistPolicy.testPolicyNotSetByDefault:37= ->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistPolicy.testPolicyPersistenceInEditL= og:62->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistPolicy.testPolicyPersistenceInFsIma= ge:76->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistPolicy.testPolicyPropagation:50->La= zyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistReplicaPlacement.testFallbackToDisk= :72->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistReplicaPlacement.testPlacementOnRam= Disk:41->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyPersistReplicaPlacement.testPlacementOnSiz= eLimitedRamDisk:52->LazyPersistTestCase.startUpCluster:316 =E2=95=97 Native= IO{color} > {color:#d04437}[ERROR] TestLazyPersistReplicaPlacement.testRamDiskNotChos= enByDefault:163->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{= color} > {color:#d04437}[ERROR] TestLazyPersistReplicaRecovery.testDnRestartWithSa= vedReplicas:36->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{c= olor} > {color:#d04437}[ERROR] TestLazyPersistReplicaRecovery.testDnRestartWithUn= savedReplicas:61->LazyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO= {color} > {color:#d04437}[ERROR] TestLazyWriter.testDeleteAfterPersist:211->LazyPer= sistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyWriter.testDeleteBeforePersist:184->LazyPe= rsistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyWriter.testDfsUsageCreateDelete:236->LazyP= ersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestLazyWriter.testLazyPersistBlocksAreSaved:43->L= azyPersistTestCase.startUpCluster:316 =E2=95=97 NativeIO{color} > {color:#d04437}[ERROR] TestNameNodeMXBean.testNameNodeMXBeanInfo:99 =E2= =95=97 NativeIO Insufficient system re...{color} > {color:#d04437}[INFO]{color} > {color:#d04437}[ERROR] Tests run: 30, Failures: 0, Errors: 30, Skipped: 0= {color} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org