MultiTap is deprecated in 1.1 with MultiSourceTap.
http://www.cascading.org/1.1/javadoc/cascading/tap/MultiSourceTap.html
The behavior you are explaining is supported.
If it persists, i'll open a bug in 1.1 and see if I can get it resolved for you.
In the mean time, give GlobHfs a try, it might be easier to use.
http://www.cascading.org/1.1/javadoc/cascading/tap/GlobHfs.html
ckw
> --
> You received this message because you are subscribed to the Google Groups "cascading-user" group.
> To post to this group, send email to cascadi...@googlegroups.com.
> To unsubscribe from this group, send email to cascading-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en.
>
--
Chris K Wensel
ch...@concurrentinc.com
http://www.concurrentinc.com
Using directories should work instead of files. Works fine in my applications actually.
what version of Hadoop?
ckw
--
Chris K Wensel
ch...@concurrentinc.com
http://www.concurrentinc.com
-- Concurrent, Inc. offers mentoring, support, and licensing for Cascading - support open-source by buying support
Its interesting your not seeing a failure when setting the paths via the raw apis as Cascading uses those same apis.
ckw
> --
> You received this message because you are subscribed to the Google Groups "cascading-user" group.
> To post to this group, send email to cascadi...@googlegroups.com.
> To unsubscribe from this group, send email to cascading-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cascading-user?hl=en.
>
--
Chris K Wensel
ch...@concurrentinc.com
package impatient;
import cascading.flow.FlowConnector;
import cascading.flow.FlowDef;
import cascading.flow.local.LocalFlowConnector;
import cascading.pipe.Pipe;
import cascading.scheme.Scheme;
import cascading.scheme.local.TextDelimited;
import cascading.tap.local.FileTap;
import cascading.scheme.local.TextLine;
import cascading.tap.SinkMode;
import cascading.tap.Tap;
import cascading.tuple.Fields;
public class Main
{
public static void main( String[] args )
{
String inPath = "/opt/spark/dataset.matt";
String outPath = "/home/jmill383/cascadingdemo.txt";
FlowConnector lfc = new LocalFlowConnector();
Scheme sourceScheme = new TextDelimited(new Fields("warctype", "filename", "readerid", "warcdate", "absoluteoff", "warcinfo"), true, "," );
Scheme sinkScheme = new TextDelimited(new Fields("warctype", "filename", "readerid", "warcdate", "absoluteoff", "warcinfo"), true, ",");
// Scheme sourceScheme = new TextLine(new Fields("offset", "line"));
// Scheme sinkScheme = new TextLine(new Fields("line"));
// create the source tap
Tap inTap = new FileTap( sourceScheme, inPath);
// create the sink tap
Tap outTap = new FileTap( sinkScheme, outPath, SinkMode.UPDATE );
// specify a pipe to connect the taps
Pipe copyPipe = new Pipe( "copy" );
// connect the taps, pipes, etc., into a flow
FlowDef flowDef = FlowDef.flowDef().addSource( copyPipe, inTap ).addTailSink( copyPipe, outTap ).setName( "Copy" );
// run the flowclear
lfc.connect(flowDef).complete();
}
}