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

Ravi Prakash updated MAPREDUCE-4297:
------------------------------------

    Attachment: MAPREDUCE-4297.patch

Thanks for reviewing this Bobby!

I wasn't sure because I was thinking a byte in Text might decode to whitespace 
but its getLength() could possibly not be 0. But you are right! We want to 
ignore those cases. I've removed that condition, and trimmed the strings before 
comparing and assigning.
                
> Usersmap file in gridmix should not fail on empty lines
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4297
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4297
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/gridmix
>    Affects Versions: 0.23.1
>            Reporter: Ravi Prakash
>            Assignee: Ravi Prakash
>         Attachments: MAPREDUCE-4297.patch, MAPREDUCE-4297.patch
>
>
> An empty line (e.g. at the end of the file) in the usersmap file will cause 
> gridmix to fail. Empty lines should be silently ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to