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

Ashutosh Chauhan commented on HCATALOG-154:
-------------------------------------------

bq. fixed race condition and moved resolution outside of getOutputLocation 
since output is intermediate.

Sorry, but I am having difficulty in following what was the problem originally 
which patch is fixing. How can both bulkOSD and directOSD both return path for 
getOutputLocation() I thought only one of them will be active at a time and if 
so there is no possibility of race condition. Also, both of them now returns 
null. Earlier, they were returning valid strings, how come then it was working 
earlier and will continue to work. Also, what do you mean by intermediate 
output, I thought these formats always deal with end user data and not with 
intermediate data between map and reduce.
                
> HBase bulkOSD and directOSD return inconsistent path for getOutputLocation()
> ----------------------------------------------------------------------------
>
>                 Key: HCATALOG-154
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-154
>             Project: HCatalog
>          Issue Type: Bug
>          Components: hbase
>    Affects Versions: 0.3
>            Reporter: David Capwell
>            Assignee: Francis Liu
>              Labels: hbase
>             Fix For: 0.3
>
>         Attachments: HCATALOG-154.patch, HCATALOG-154_rev2.patch, 
> HCATALOG-154_rev3.patch, HCATALOG-154_rev3_svn.patch
>
>
> org.apache.hcatalog.common.HCatException : 2001 : Error setting output 
> information. Cause : java.io.IOException: bulkOSD and directOSD return 
> inconsistent path for getOutputLocation()
>   at 
> org.apache.hcatalog.mapreduce.HCatOutputFormat.setOutput(HCatOutputFormat.java:257)
> ...
>   at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: bulkOSD and directOSD return inconsistent 
> path for getOutputLocation()
>   at 
> org.apache.hcatalog.hbase.HBaseOutputStorageDriver.getOutputLocation(HBaseOutputStorageDriver.java:52)
>   at 
> org.apache.hcatalog.mapreduce.HCatOutputFormat.setOutput(HCatOutputFormat.java:155)
>   ... 24 more

--
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