Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1064E200C47 for ; Thu, 30 Mar 2017 18:51:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0EE4B160B9A; Thu, 30 Mar 2017 16:51:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 54044160B7E for ; Thu, 30 Mar 2017 18:51:47 +0200 (CEST) Received: (qmail 94279 invoked by uid 500); 30 Mar 2017 16:51:45 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 94270 invoked by uid 99); 30 Mar 2017 16:51:45 -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, 30 Mar 2017 16:51:45 +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 ACC3B1A7A09 for ; Thu, 30 Mar 2017 16:51:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0KMU1iFROQev for ; Thu, 30 Mar 2017 16:51:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E73EF5FB62 for ; Thu, 30 Mar 2017 16:51:42 +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 3FA8FE0AFC for ; Thu, 30 Mar 2017 16:51:42 +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 B47FC21DDB for ; Thu, 30 Mar 2017 16:51:41 +0000 (UTC) Date: Thu, 30 Mar 2017 16:51:41 +0000 (UTC) From: "Daniel Halperin (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1453) Unicode chars in local file system paths break dataflow runner tests. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Mar 2017 16:51:48 -0000 [ https://issues.apache.org/jira/browse/BEAM-1453?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15949= 394#comment-15949394 ]=20 Daniel Halperin commented on BEAM-1453: --------------------------------------- [~peihe0@gmail.com] any updates here? > Unicode chars in local file system paths break dataflow runner tests. > --------------------------------------------------------------------- > > Key: BEAM-1453 > URL: https://issues.apache.org/jira/browse/BEAM-1453 > Project: Beam > Issue Type: Bug > Components: runner-dataflow > Reporter: Pei He > > toResourceIdentifier("/=E6=A0=B9=E7=9B=AE=E5=BD=95/") failed with followi= ng error, and I think it fails with any unicode chars, probably related to:= =20 > http://stackoverflow.com/questions/37409379/invalidpathexception-for-chin= ese-filename > testGetCurrentDirectoryInUnix(org.apache.beam.sdk.io.LocalResourceIdTest)= Time elapsed: 0.011 sec <<< ERROR! > java.nio.file.InvalidPathException: Malformed input or input contains unm= appable characters: /??? > at sun.nio.fs.UnixPath.encode(UnixPath.java:147) > at sun.nio.fs.UnixPath.(UnixPath.java:71) > at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281) > at java.nio.file.Paths.get(Paths.java:84) > at org.apache.beam.sdk.io.LocalResourceIdTest.toResourceIdentifier(LocalR= esourceIdTest.java:244) > at org.apache.beam.sdk.io.LocalResourceIdTest.testGetCurrentDirectoryInUn= ix(LocalResourceIdTest.java:204) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j= ava:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess= orImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkM= ethod.java:50) > at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCall= able.java:12) > at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMet= hod.java:47) > at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMeth= od.java:17) > at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(= ExpectedException.java:239) > at org.junit.rules.RunRules.evaluate(RunRules.java:20) > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn= er.java:78) > at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunn= er.java:57) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) -- This message was sent by Atlassian JIRA (v6.3.15#6346)