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 4A52C200C46 for ; Wed, 22 Feb 2017 05:56:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 48E75160B68; Wed, 22 Feb 2017 04:56:50 +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 97447160B77 for ; Wed, 22 Feb 2017 05:56:49 +0100 (CET) Received: (qmail 44747 invoked by uid 500); 22 Feb 2017 04:56:48 -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 44706 invoked by uid 99); 22 Feb 2017 04:56:48 -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; Wed, 22 Feb 2017 04:56:48 +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 2C289C023C for ; Wed, 22 Feb 2017 04:56:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ivPWYq-szcRy for ; Wed, 22 Feb 2017 04:56:47 +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 E9B2E5FDDC for ; Wed, 22 Feb 2017 04:56:46 +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 C2A9BE0A04 for ; Wed, 22 Feb 2017 04:56:44 +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 443DA24127 for ; Wed, 22 Feb 2017 04:56:44 +0000 (UTC) Date: Wed, 22 Feb 2017 04:56:44 +0000 (UTC) From: "Vinayakumar B (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-11434) TestQuota fails in windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 22 Feb 2017 04:56:50 -0000 [ https://issues.apache.org/jira/browse/HDFS-11434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877474#comment-15877474 ] Vinayakumar B commented on HDFS-11434: -------------------------------------- Directly changing the {{PathUtils}} may add confusion where this method is called to get the local filesystem path. Ex: {{TestDiskBalancerCommand}}. TestQuota (and possibly other) usages of PathUtils are to get the randomized HDFS path, not Local Path. Since each running test have its own HDFS cluster to run with, randomness in path not required. It can run with simple path names such as '/testquota/test1'. So I feel for the current issue fix, patch v1 looks better. > TestQuota fails in windows > -------------------------- > > Key: HDFS-11434 > URL: https://issues.apache.org/jira/browse/HDFS-11434 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Reporter: Brahma Reddy Battula > Assignee: Brahma Reddy Battula > Attachments: HDFS-11434-002.patch, HDFS-11434.patch > > > {noformat} > java.lang.IllegalArgumentException: Pathname /D:/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/qTr6mgA9Yv/TestQuota/testQuotaCommands from D:/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/qTr6mgA9Yv/TestQuota/testQuotaCommands is not a valid DFS filename. > at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:212) > at org.apache.hadoop.hdfs.DistributedFileSystem$25.doCall(DistributedFileSystem.java:1119) > at org.apache.hadoop.hdfs.DistributedFileSystem$25.doCall(DistributedFileSystem.java:1116) > at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) > at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirsInternal(DistributedFileSystem.java:1133) > at org.apache.hadoop.hdfs.DistributedFileSystem.mkdirs(DistributedFileSystem.java:1108) > at org.apache.hadoop.fs.FileSystem.mkdirs(FileSystem.java:2218) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org