From common-issues-return-152986-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri May 25 18:18:12 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 62E9B18067A for ; Fri, 25 May 2018 18:18:11 +0200 (CEST) Received: (qmail 16857 invoked by uid 500); 25 May 2018 16:18:06 -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 16738 invoked by uid 99); 25 May 2018 16:18:06 -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; Fri, 25 May 2018 16:18:06 +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 A366B1A1174 for ; Fri, 25 May 2018 16:18:05 +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 aBfaS3_zTJUM for ; Fri, 25 May 2018 16:18:04 +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 DA2625F640 for ; Fri, 25 May 2018 16:18:03 +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 AF066E0FA4 for ; Fri, 25 May 2018 16:18:02 +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 BD37521817 for ; Fri, 25 May 2018 16:18:01 +0000 (UTC) Date: Fri, 25 May 2018 16:18:01 +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] [Updated] (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.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] =C3=8D=C3=B1igo Goiri updated HADOOP-15454: --------------------------------- Component/s: test > TestRollingFileSystemSinkWithLocal fails on Windows > --------------------------------------------------- > > Key: HADOOP-15454 > URL: https://issues.apache.org/jira/browse/HADOOP-15454 > Project: Hadoop Common > Issue Type: Test > Components: test > Reporter: Xiao Liang > Assignee: Xiao Liang > Priority: Major > Labels: windows > Fix For: 2.10.0, 3.2.0, 3.1.1, 2.9.2, 3.0.3 > > 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