This section describes how to copy new MRS jobs. Only clusters whose version is MRS 1.7.2 or earlier support job replication.
Currently, all types of jobs except for Spark SQL and Distcp jobs can be copied.
The Copy Job dialog box is displayed.
Table 1 describes job configuration information.
After being successfully submitted, a job changes to the Running state by default. You do not need to manually execute the job.
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 |
Key parameter for program execution. The parameter is specified by the function of the user's program. MRS is only responsible for loading the parameter. Multiple parameters are separated by space. Configuration method: Package name.Class name The parameter contains a maximum of 150,000 characters. It cannot contain special characters ;|&><'$, but can be left blank. NOTE:
When entering a parameter containing sensitive information (for example, login password), you can add an at sign (@) before the parameter name to encrypt the parameter value. This prevents the sensitive information from being persisted in plaintext. When you view job information on the MRS management console, the sensitive information is displayed as *. Example: username=admin @password=admin_123 |
Import From |
Path for inputting data Data can be stored in HDFS or OBS. The path varies depending on the file system.
The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&>,<'$, and can be left blank. |
Export To |
Path for outputting data NOTE:
Data can be stored in HDFS or OBS. The path varies depending on the file system.
The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&>,<'$, and can be left blank. |
Log Path |
Path for storing job logs that record job running status. Data can be stored in HDFS or OBS. The path varies depending on the file system.
The parameter contains a maximum of 1,023 characters, excluding special characters such as ;|&>,<'$, and can be left blank. |