You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mukund Madhugiri (JIRA)" <ji...@apache.org> on 2007/11/12 20:14:51 UTC
[jira] Created: (HADOOP-2194) dfs cat on a file that does not exist
throws a java IOException
dfs cat on a file that does not exist throws a java IOException
---------------------------------------------------------------
Key: HADOOP-2194
URL: https://issues.apache.org/jira/browse/HADOOP-2194
Project: Hadoop
Issue Type: Bug
Components: dfs
Affects Versions: 0.15.1, 0.16.0
Reporter: Mukund Madhugiri
Fix For: 0.16.0
The dfs cat command throws an IOException when the file does not exist:
bin/hadoop dfs -cat doesnotexist
cat: java.io.IOException: Cannot open filename<home directory>/doesnotexist]
In Linux, if a file does not exist, cat displays this:
cat: doesnotexist: No such file or directory
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.