updateAttributes: Update Attributes of a 'ddo' or 'ddf' Object
Description
Update attributes of a 'ddo' or 'ddf' object
Usage
updateAttributes(obj, control = NULL)
Arguments
obj
an object of class 'ddo' or 'ddf'
control
parameters specifying how the backend should handle things (most-likely parameters to rhwatch in RHIPE) - see rhipeControl
Value
an object of class 'ddo' or 'ddf'
Details
This function looks for missing attributes related to a ddo or ddf (distributed data object or data frame) object and runs MapReduce to update them. These attributes include "splitSizeDistn", "keys", "nDiv", "nRow", and "splitRowDistn". These attributes are useful for subsequent computations that might rely on them. The result is the input modified to reflect the updated attributes, and thus it should be used as obj <- updateAttributes(obj).
References
Bennett, Janine, et al. "Numerically stable, single-pass, parallel statistics algorithms.' Cluster Computing and Workshops", 2009. CLUSTER09. IEEE International Conference on. IEEE, 2009