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

Nichole Treadway commented on HBASE-1861:
-----------------------------------------

I've been testing this in 0.90.2. I found that some reduce tasks fail with a 
File Not Found exception if there are no keys in the input data which would 
fall into the region assigned to that reduce task. 

>From what I can determine, it seems that an output directory is created in the 
>write() method and expected to exist in the writeMetaData() method...if there 
>are no keys to be written for that reduce task, the write method is never 
>called, but writeMetaData is expecting the output directory to exist...thus 
>the FnF exception.

Simply checking if the file exists should fix the issue. I've patched this on 
my end...should I post my fix here?

> Multi-Family support for bulk upload tools (HFileOutputFormat / loadtable.rb)
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-1861
>                 URL: https://issues.apache.org/jira/browse/HBASE-1861
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce
>    Affects Versions: 0.20.0
>            Reporter: Jonathan Gray
>            Assignee: Nicolas Spiegelberg
>             Fix For: 0.92.0
>
>         Attachments: HBASE1861-incomplete.patch
>
>
> Add multi-family support to bulk upload tools from HBASE-48.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to