rmr.str {rmr2}R Documentation

Print a variable's content

Description

One way to debug mapper and reducers on the "hadoop" backend is to print diagnostic messages. This function helps you do safely so by printing a summary of the stack, the name of the variable and its value onto standard error. This means that if Hadoop is running in standalone mode the message will appear in console, otherwise in the logs.

Usage

rmr.str(x, ...)

Arguments

x

The variable to print

...

Additional arguments to str (called by rmr.str)

Value

x

Examples

mapreduce(to.dfs(1), map = function(k, v) rmr.str(v))

[Package rmr2 version 3.3.1 Index]