You can submit programs developed by yourself to MRS to execute them, and obtain the results.
This section describes how to submit a job (take a MapReduce job as an example) on the MRS console. MapReduce jobs are used to submit JAR programs to quickly process massive amounts of data in parallel and create a distributed data processing and execution environment.
If the job and file management functions are not supported on the cluster details page, submit the jobs in the background.
Before creating a job, you need to upload local data to OBS for data computing and analyzing. MRS allows exporting data from OBS to HDFS for computing and analyzing. After the data analysis and computing are completed, you can store the data in HDFS or export them to OBS. HDFS and OBS can also store the compressed data in the format of bz2 or gz.
If the IAM username contains spaces (for example, admin 01), a job cannot be created.
In the Basic Information area on the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.
Parameter | Description |
|---|---|
Name | Job name. It contains 1 to 64 characters. Only letters, digits, hyphens (-), and underscores (_) are allowed. NOTE: You are advised to set different names for different jobs. |
Program Path | Path of the program package to be executed. The following requirements must be met:
|
Parameters | (Optional) It is the key parameter for program execution. Separate multiple parameters with space. Configuration method: Program class name Data input path Data output path
|
Service Parameters | (Optional) Used to modify service configuration parameters for the job to be executed. The parameter modification applies only to the job to be executed. To add multiple parameters, click Table 2 describes the common parameters of a service. |
Command Reference | Command submitted to the background for execution when a job is submitted. |
Parameter | Description | Example Value |
|---|---|---|
fs.obs.access.key | Key ID for accessing OBS. | - |
fs.obs.secret.key | Key corresponding to the key ID for accessing OBS. | - |
After the job is created, you can manage it.