You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kazuho Fujii (JIRA)" <ji...@apache.org> on 2016/01/21 16:00:47 UTC

[jira] [Commented] (HADOOP-12043) Display warning if defaultFs is not set when running fs commands.

    [ https://issues.apache.org/jira/browse/HADOOP-12043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15110717#comment-15110717 ] 

Kazuho Fujii commented on HADOOP-12043:
---------------------------------------

Hi,

This function is useful. But, I think "fs.defaultFs" in the warning message should be the correct name "fs.defaultFS". A user who does not set fs.defaultFS property or mistypes the property name gets confused when seeing the message. At least I was misled.

How do you think?

> Display warning if defaultFs is not set when running fs commands.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-12043
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12043
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>    Affects Versions: 2.7.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8322.000.patch, HDFS-8322.001.patch, HDFS-8322.002.patch, HDFS-8322.003.patch, HDFS-8322.003.patch, HDFS-8322.004.patch, HDFS-8322.005.patch, HDFS-8322.006.patch
>
>
> Using {{LocalFileSystem}} is rarely the intention of running {{hadoop fs -ls}}.
> This JIRA proposes displaying a warning message if hadoop fs -ls is showing the local filesystem or using default fs.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)