Currently JDBCTap is defined as Tap<JobConf, RecordReader, OutputCollector> which is incompatible with Cascading's local mode, which uses java.util.Properties rather than org.apache.hadoop.mapred.JobConf.
It would be useful to run cascading-jdbc in local mode, for a number of reasons, such as
- Testing. For example we would like to unit test our JDBC integration in Scalding, but not able to execute in local mode makes it impractical.
- Small jobs. During development, or production, it may be useful to execute a job in local mode that can nevertheless connect to DBs.