Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BB2869139 for ; Tue, 14 May 2013 14:19:24 +0000 (UTC) Received: (qmail 40985 invoked by uid 500); 14 May 2013 14:19:23 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 40126 invoked by uid 500); 14 May 2013 14:19:18 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 39789 invoked by uid 99); 14 May 2013 14:19:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 14:19:15 +0000 Date: Tue, 14 May 2013 14:19:15 +0000 (UTC) From: "Stephen Fritz (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-4821) It's possible to create files with special characters in the filenames, but 'hadoop fs -ls' gives no indication MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Stephen Fritz created HDFS-4821: ----------------------------------- Summary: It's possible to create files with special characters in the filenames, but 'hadoop fs -ls' gives no indication Key: HDFS-4821 URL: https://issues.apache.org/jira/browse/HDFS-4821 Project: Hadoop HDFS Issue Type: Improvement Components: hdfs-client Reporter: Stephen Fritz For example: -bash-4.1$ hadoop fs -mkdir /user/hdfs -bash-4.1$ hadoop fs -touchz /user/hdfs/dupfile -bash-4.1$ hadoop fs -touchz /user/hdfs/dupfile^M -bash-4.1$ hadoop fs -ls /user/hdfs Found 2 items -rw-r--r-- 3 hdfs supergroup 0 2013-05-14 07:13 /user/hdfs/dupfile -rw-r--r-- 3 hdfs supergroup 0 2013-05-14 07:13 /user/hdfs/dupfile By way of comparison, bash will print a '?' at the end of the file name, indicating there's a special character in the filename, which isn't perfect but at least gives an indication that there's more to the filename than just alphanumeric characters -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira