You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2019/02/14 21:24:00 UTC
[jira] [Commented] (CRUNCH-676) Declare createTempPath() in the
Pipeline interface
[ https://issues.apache.org/jira/browse/CRUNCH-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768724#comment-16768724 ]
Josh Wills commented on CRUNCH-676:
-----------------------------------
[~rkemp] curious for more context on this; I don't usually think of MemPipeline as creating temp files in the way that ~ all of the distributed impls do; what's the use case for it?
> 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)