hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-145) LocalFile ignores active container and HDataStorage can't copy to other DataStrorage
Date Fri, 15 Jan 2010 05:50:55 GMT

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

Alan Gates resolved PIG-145.
----------------------------

    Resolution: Won't Fix

As of Pig 0.6 true local mode (ie Pig executing the code rather than through Map Reduce) has
been removed.

> LocalFile ignores active container and HDataStorage can't copy to other DataStrorage
> ------------------------------------------------------------------------------------
>
>                 Key: PIG-145
>                 URL: https://issues.apache.org/jira/browse/PIG-145
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Charlie Groves
>         Attachments: PIG-145-DataStorage_Bugs.patch
>
>
> As part of starting to rewrite the DataStorage APIs, I wrote some unit tests for the
existing DataStorage implementations to make sure I wasn't breaking anything.  In testing
the open code, I found that LocalFile doesn't respect the active container you set you LocalDataStorage,
so if you open a relative file, it's relative to wherever you're running the code.  Similarly,
while testing the copy operations, I found that HFile doesn't allow copying to anything other
than other HFiles and that HDirectory's copy operation was never used because it had the wrong
signature.
> The attached patch fixes these issues and adds tests for much of the DataStorage API
for both of the existing backends.  There are no tests for the sopen code as I'm planning
on changing that significantly in rewriting these.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message