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

Allen Wittenauer commented on HADOOP-12187:
-------------------------------------------

gitdiffcontent is expected to exist, so we should probably just touch it when 
it is supposed to be created.  Otherwise other plugins  (and probably do) will 
have this same issue.

> Whitespace plugin shows unexpected error messages if gitdiffcontent is empty
> ----------------------------------------------------------------------------
>
>                 Key: HADOOP-12187
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12187
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Minor
>         Attachments: HADOOP-12187.HADOOP-12111.01.patch
>
>
> In the case that gitdiffcontent is empty such as only removing lines, the 
> following error messages are shown in console:
> {code}
> awk: cmd. line:1: fatal: cannot open file 
> `/tmp/test-patch-pig/3298/gitdiffcontent.txt' for reading (No such file or 
> directory)
> grep: /tmp/test-patch-pig/3298/gitdiffcontent.txt: No such file or directory
> {code}



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

Reply via email to