[
https://issues.apache.org/jira/browse/CRUNCH-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769896#comment-16769896
]
Josh Wills commented on CRUNCH-676:
-----------------------------------
Got it; I'm trying to noodle on any downsides from doing this, but haven't come
up with anything yet. I'll think about it over the weekend, but if I/anyone
else doesn't come up with anything, it should be pretty straightforward. Thanks
for suggesting it Ryan!
> Declare createTempPath() in the Pipeline interface
> --------------------------------------------------
>
> Key: CRUNCH-676
> URL: https://issues.apache.org/jira/browse/CRUNCH-676
> Project: Crunch
> Issue Type: New Feature
> Components: Core
> Reporter: Ryan Kemp
> Assignee: Josh Wills
> Priority: Minor
>
> DistributedPipeline declares public createTempPath(), but MemPipeline does
> not. Can createTempPath() be declared in Pipeline and implemented in
> MemPipeline?
> The method in MemPipeline could be extremely similar to DistributedPipeline.
> * conf.get("crunch.tmp.dir", "/tmp");
> * Maintain a
> [tempFileIndex|https://github.com/apache/crunch/blob/apache-crunch-0.15.0/crunch-core/src/main/java/org/apache/crunch/impl/dist/DistributedPipeline.java#L82]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)