Add-MapReduce [Deprecated]
This PowerShell cmdlet configures MapReduce tasks to process and generate large data sets with a parallel, distributed algorithm on a clustered cache. This cmdlet also queues any tasks if the server is busy. During task execution, all task failure errors are logged in the cache log (after a specified limit of exceptions are avoided).
Add-MapReduce -CacheName [-ChunkSize] [-MaxExceptions] [-MaxTasks] [-QueueSize] [-Server] [-Port] [-NoLogo] [-Credentials]
Examples
- This command configures MapReduce execution on demoCache with default options.
Add-MapReduce -CacheName demoCache
- This command configures MapReduce on demoCache with 10 tasks to be executed in parallel with chunks of 100 elements each, 30 tasks to be enqueued, and a maximum 10 exceptions to be avoided.
Add-MapReduce -CacheName demoCache -MaxTasks 10 -ChunkSize 100 -QueueSize 30 -MaxExceptions 10
Properties
Note
The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName* |
<String> |
Specifies the cache name for which MapReduce will be configured. | - |
-ChunkSize |
<Integer> |
Specifies the number of elements a chunk should contain before it is transmitted to combiner or reducer. | 0 (zero) |
-MaxExceptions |
<Integer> |
Specifies maximum avoidable exceptions while executing the task. | 0 (zero) |
-MaxTasks |
<Integer> |
Specifies the maximum number of tasks to be executed in parallel. | 0 (zero) |
-QueueSize |
<Integer> |
Specifies the maximum number of tasks that can be queued if the server is busy. | 0 (zero) |
-Server |
<String> |
Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered. | Local Machine |
-Port |
<Integer> |
Specifies the port on which NCache Service is running. | 8250 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | - |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user with the appropriate permissions at the node. | - |