Click or drag to resize

RangePartitionerCreatePartitionFile Method

Creates a file defining the partitioning split points by sampling the input data.

Namespace:  Ookii.Jumbo.Jet.Samples.IO
Assembly:  Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax
public static void CreatePartitionFile(
	FileSystemClient fileSystemClient,
	string partitionFilePath,
	IDataInput input,
	int partitions,
	int sampleSize
)

Parameters

fileSystemClient
Type: Ookii.Jumbo.Dfs.FileSystemFileSystemClient
The FileSystemClient used to access the DFS.
partitionFilePath
Type: SystemString
The path on the DFS where the partitioning data should be stored.
input
Type: Ookii.Jumbo.Jet.IOIDataInput
The input of the job.
partitions
Type: SystemInt32
The number of partitions.
sampleSize
Type: SystemInt32
The total number of records to sample.
See Also