hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kengo Seki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12187) Whitespace plugin shows unexpected error messages if gitdiffcontent is empty
Date Sun, 12 Jul 2015 13:31:04 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kengo Seki updated HADOOP-12187:
--------------------------------
    Attachment: HADOOP-12187.HADOOP-12111.02.patch

Thanks for the comment Allen, attaching a revised patch.
I confirmed gitdiffcontent is created if it does not exist and the error messages disappear.

> 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, HADOOP-12187.HADOOP-12111.02.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)

Mime
View raw message