Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E35EE10264 for ; Mon, 3 Feb 2014 11:04:15 +0000 (UTC) Received: (qmail 39931 invoked by uid 500); 3 Feb 2014 11:04:12 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 39833 invoked by uid 500); 3 Feb 2014 11:04:10 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 39809 invoked by uid 99); 3 Feb 2014 11:04:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 11:04:09 +0000 Date: Mon, 3 Feb 2014 11:04:09 +0000 (UTC) From: "Harsh J (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-174) GnuWin32 coreutils df output causes DF to throw MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harsh J resolved HDFS-174. -------------------------- Resolution: Not A Problem HDFS currently has proper Windows environment support without relying on local unix-like tools to be available. Resolving as 'Not a Problem' (anymore). > GnuWin32 coreutils df output causes DF to throw > ----------------------------------------------- > > Key: HDFS-174 > URL: https://issues.apache.org/jira/browse/HDFS-174 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Albert Strasheim > Priority: Minor > > The output from GnuWin32's coreutils's df looks like this: > C:\Program Files\GnuWin32\bin>df -k "C:\hadoop-0.13.0" > Filesystem 1K-blocks Used Available Use% Mounted on > df: `NTFS': No such file or directory > - 96124924 86288848 9836076 90% C:\ > This causes DF's parsing to fail with the following exception: > Exception in thread "main" java.io.IOException: df: `NTFS': No such file or directory > at org.apache.hadoop.fs.DF.doDF(DF.java:65) > at org.apache.hadoop.fs.DF.(DF.java:54) > at org.apache.hadoop.fs.DF.main(DF.java:168) > Fixing this would be useful since it might allow for Hadoop to be used without installing Cygwin. -- This message was sent by Atlassian JIRA (v6.1.5#6160)