From common-issues-return-152343-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Thu May 10 18:39:05 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 D1DA2180674 for ; Thu, 10 May 2018 18:39:04 +0200 (CEST) Received: (qmail 71819 invoked by uid 500); 10 May 2018 16:39:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 71469 invoked by uid 99); 10 May 2018 16:39:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2018 16:39:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 057E51A049E for ; Thu, 10 May 2018 16:39:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7zMMmNG9o3rf for ; Thu, 10 May 2018 16:39:02 +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 8BC225FBEA for ; Thu, 10 May 2018 16:39: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 DA9E9E0F73 for ; Thu, 10 May 2018 16:39: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 47ED72154C for ; Thu, 10 May 2018 16:39:00 +0000 (UTC) Date: Thu, 10 May 2018 16:39:00 +0000 (UTC) From: =?utf-8?Q?=C3=8D=C3=B1igo_Goiri_=28JIRA=29?= To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-15454) TestRollingFileSystemSinkWithLocal fails 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/HADOOP-15454?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 470685#comment-16470685 ]=20 =C3=8D=C3=B1igo Goiri commented on HADOOP-15454: -------------------------------------- Not sure what the first Yetus run was. [^HADOOP-15454.000.patch] looks good to me. The latest windows [report|https://builds.apache.org/job/hadoop-trunk-win/4= 60/testReport/org.apache.hadoop.metrics2.sink/TestRollingFileSystemSinkWith= Local/] also shows 6 failures. They should go away with these two. +1 Committing all the way to branch-2.9. > TestRollingFileSystemSinkWithLocal fails on Windows > --------------------------------------------------- > > Key: HADOOP-15454 > URL: https://issues.apache.org/jira/browse/HADOOP-15454 > Project: Hadoop Common > Issue Type: Test > Reporter: Xiao Liang > Assignee: Xiao Liang > Priority: Major > Labels: windows > Attachments: HADOOP-15454-branch-2.000.patch, HADOOP-15454.000.pa= tch > > > org.apache.hadoop.metrics2.sink.TestRollingFileSystemSinkWithLocal fails = on Windows, > *Error message:* > Illegal character in opaque part at index 2: D:\_work\8\s\hadoop-common-p= roject\hadoop-common\target\test\data\4\RollingFileSystemSinkTest\testSilen= tExistingWrite > *Stack trace:* > java.io.IOException: All datanodes [DatanodeInfoWithStorage[127.0.0.1:532= 35,DS-4d6119ac-31cc-4f48-8a5b-7f35b36a1c55,DISK]] are bad. Aborting... at o= rg.apache.hadoop.hdfs.DataStreamer.handleBadDatanode(DataStreamer.java:1538= ) at org.apache.hadoop.hdfs.DataStreamer.setupPipelineForAppendOrRecovery(D= ataStreamer.java:1472) at org.apache.hadoop.hdfs.DataStreamer.processDatano= deError(DataStreamer.java:1244) at org.apache.hadoop.hdfs.DataStreamer.run(= DataStreamer.java:663) > Drive letter in absolute path in Windows will fail the underlying URI che= ck. > Another issue is that for the=C2=A0failed write test case=C2=A0java.io.Fi= le#setWritable(boolean, boolean) is used, which does not work as expected o= n Windows and should be replaced by=C2=A0org.apache.hadoop.fs.FileUtil#setW= ritable. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org