RevolutionAnalytics/RHadoop — Issue #55: please consider adding backwards compatibility re: rmr 1.2's changed parameter names
Author: jeffreybreen
Created: 2012-02-28 21:35:13+00:00
State: open

On balance I appreciate the name changes to parameters in rmr 1.2 (e.g., todataframe -> to.data.frame), but it would be great to preserve backwards compatibility, especially when the change is non-obvious like the elimination of mapreduce()'s textinputformat parameter.

I think it could be as simple as adding 'textinputformat=NULL' to mapreduce's declaration and adding some code like this:

```
if ( !is.null(textinputformat) )
{
input.format = list(mode='text', format=textinputformat, streaming.format=NULL)
warning('textinputformat parameter to mapreduce() has been deprecated')
}
```

Thanks,
Jeffrey