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 "joel belafa (JIRA)" <ji...@apache.org> on 2015/11/23 16:40:11 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=15022292#comment-15022292 ] 

joel belafa commented on HADOOP-12043:
--------------------------------------

Hi , 

this message is a problem with automation tools (such as ansible ) as they are generally configured to  retrieve (and fail finding) any messages in stderr. 

So could you please provide a way to disable these messages ? 

This is critical for us. 

Thanks 

> 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)