Make an rdd out of elems
, write it to disk, verify the written partitions' sizes match fileSizes
, read it
back in, verify the contents are the same.
Make an rdd out of elems
, write it to disk, verify the written partitions' sizes match fileSizes
, read it
back in, verify the contents are the same.
if one integer is provided here, assume 4 partitions with that size. If two are provided, assume
4 partitions where the first's size matches the first integer, and the remaining three match the
second. Otherwise, the partitions' sizes and number must match fileSizes
.
The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().
The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest
Base-trait for tests that check round-trip correctness and on-disk sizes for a given RDD-serde implementation.