Hi Kunal,
Cascading's local mode is (much) faster than Hadoop local mode, which is why we typically run most of our tests using it.
But this obviously creates the issue of how to switch to using Hadoop taps and other classes when you want to run on Hadoop, either locally or on a cluster.
There is built-in support in Cascading for abstracting away the platform for tests - e.g. see
HadoopPlatform
This is used for running tests against multiple platforms, but we wanted something that would let us run the same workflow tool code with -test parameter (for Cascading local) vs. Hadoop.
So we added something for our needs in cascading.utils - see
BasePlatform, among others.
-- Ken
From: Kunal Lahiri
Sent: August 21, 2015 12:59:37pm PDT
To: cascading-user
Subject: Using Cascadcing Local vs Cascading on Hadoop Local Mode