You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "nijel (JIRA)" <ji...@apache.org> on 2015/09/28 10:21:04 UTC

[jira] [Created] (HDFS-9162) [OIV and OEV] : The output stream can be created only if the processor value specified is correct, if not return error to user.

nijel created HDFS-9162:
---------------------------

             Summary: [OIV and OEV] : The output stream can be created only if the processor value specified is correct, if not return error to user.
                 Key: HDFS-9162
                 URL: https://issues.apache.org/jira/browse/HDFS-9162
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: nijel
            Assignee: nijel


In both tools, the output file will be overwritten, if it exists.

Now if user passes invalid processor value, the file content will be lost.

in this case the PrintStream is created before checking the processor options. So the output file will be empty even if the command fails.

The output stream can be created only if the processor value specified is correct, if not return error to user.



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