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 "Jason Lowe (JIRA)" <ji...@apache.org> on 2017/11/30 19:33:00 UTC

[jira] [Created] (HADOOP-15078) dtutil ignores nonexistent files

Jason Lowe created HADOOP-15078:
-----------------------------------

             Summary: dtutil ignores nonexistent files
                 Key: HADOOP-15078
                 URL: https://issues.apache.org/jira/browse/HADOOP-15078
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
    Affects Versions: 3.0.0-alpha1
            Reporter: Jason Lowe


While investigating issues in HADOOP-15059 I ran the dtutil append command like this:
{noformat}
$ hadoop dtutil append -format protobuf foo foo.pb
{noformat}

expecting the append command to translate the existing tokens in file {{foo}} into the currently non-existent file {{foo.pb}}.  Instead the command executed without error and overwrote {{foo}} instead of creating {{foo.pb}} as I expected.  I now understand how append works, but it was very surprising to have dtutil _silently ignore_ filenames requested on the command-line.  At best it is a bit surprising to the user.  At worst it clobbers data the user did not expect to be overwritten.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org