我要评分
获取效率
正确性
完整性
易理解

JSON File Description

Change the OmniShuffle installation directory, user, package upload path, ZooKeeper user name, and Spark user name in all JSON files based on your requirements.

create user.json

{
"Name": "null",
"Description": "null",
"TasksSequence": [
{
"TaskType": "ExcuteCommand",
"Name": "Creating a nologin user ockadmin",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "useradd ockadmin",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Adding ockadmin to the ockadmin group",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "usermod -a -G ockadmin ockadmin",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Setting a password for user ockadmin",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "passwd ockadmin",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_OUTPUT_COMMAND",
"ExpectPrint": "passwd: all authentication tokens updated successfully.",
"OutPutCommands": [
{
"echoInfo": "New password:",
"command": "Entering the user password"
},
{
"echoInfo": "Retype new password:",
"command": "Entering the user password again"
},

]
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Setting limits for user ockadmin",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "echo \"ockadmin  hard    nofile  102400\" >> /etc/security/limits.conf",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},

]
}

check.json

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
	"Name": "null",
	"Description": "null",
	"TasksSequence": [
		{
			"TaskType": "ExcuteCommand",
			"Name": "Checking whether Spark is installed",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "echo $SPARK_HOME",
			"CheckForSuccess": {
				"CheckErrorCode": false,
				"ExpectErrorCode": -1,
				"DeterminePrintMode": "JUDGMENT_MSG_TRUE",
				"ExpectPrint": "spark"
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Checking numactl",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "numactl -s",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Checking whether the GCC version is 7.3",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "gcc -v",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_TRUE",
				"ExpectPrint": "gcc version 7.3.0"
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Checking expect",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "expect -v",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Checking ifconfig",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "ifconfig",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Checking whether the haveged service is running",
			"Description": "",
			"TimeOut": 600,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": " systemctl status haveged.service",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_TRUE",
				"ExpectPrint": "active (running)"
			}
		},
		
	]
}

install.json

{
	"Name": "null",
	"Description": "null",
	"TasksSequence": [
		{
			"TaskType": "FileTransfer",
			"Name": "Transferring a file package",
			"Description": "Location to which the file is transferred (in the remote environment). You are advised to use the home directory of the ockadmin user.",
			"TimeOut": 600,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"TransferDirection": "ToRemoteHost",
			"Protocol": "SFTP",
			"LocalPath": "D:\\shell\\ock\\BoostKit-ock-bigdata-spark_2.0.0_openeuler-aarch64.tar.gz",
			"RemotePath": "/home/ockadmin"
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Decompressing the installation package",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "/home/ockadmin",
			"Command": "tar -zxvf BoostKit-ock-bigdata-spark_2.0.0_openeuler-aarch64.tar.gz",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Decompressing the internal installation package",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "/home/ockadmin",
			"Command": "tar -zxvf BoostKit-omnishuffle_1.3.0.tar.gz",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Decompressing the internal deployment package OCKUtils",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "/home/ockadmin/BoostKit-omnishuffle_1.3.0",
			"Command": "tar -zxvf omnishuffleUtils_euleros-aarch64.tar.gz",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},
		{
			"TaskType": "ExcuteCommand",
			"Name": "Entering the Spark version",
			"Description": "If the Spark version in the environment is 3.1, run sed 'spark-3.1' to assign the version number to parameter spark_version in common_params.sh in the remote environment. If the Spark version is not 3.1, assign the version number to parameter spark_version in the same way.",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "sed -i 's/^spark_version.*/spark_version=\"spark-3.1\"/g' /home/ockadmin/BoostKit-omnishuffle_1.3.0/omnishuffleUtils/common/common_params.sh",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},
		
		{
			"TaskType": "ExcuteCommand",
			"Name": "Granting the ockadmin user the permission to use files in the /home/ockadmin directory",
			"Description": "",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "chown -R ockadmin:ockadmin /home/ockadmin",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
				"ExpectPrint": ""
			}
		},	
		{
			"TaskType": "ExcuteCommand",
			"Name": "Installing OmniShuffle as user ockadmin",
			"Description": "If no directory is specified in the command, ~/opt is used by default.",
			"TimeOut": 60,
			"ExceptionHandle": {
				"Retry": 0,
				"WaitBeforeRetry": 10,
				"ExitMode": "ExitWorkFlow"
			},
			"Path": "",
			"Command": "su - ockadmin -c 'sh /home/ockadmin/BoostKit-omnishuffle_1.3.0/omnishuffleUtils/bin/ock_install.sh'",
			"CheckForSuccess": {
				"CheckErrorCode": true,
				"ExpectErrorCode": 0,
				"DeterminePrintMode": "JUDGMENT_MSG_TRUE",
				"ExpectPrint": "ock installed successfully"
			}
		},
		
	]
}

distribute.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"Name": "null",
"Description": "null",
"TasksSequence": [
{
"TaskType": "FileTransfer",
"Name": "Distributing the configuration file ock.conf",
"Description": "Distributing the modified configuration file",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"TransferDirection": "ToRemoteHost",
"Protocol": "SFTP",
"LocalPath": "D:\\shell\\conf\\ock.conf",
"RemotePath": "/home/ockadmin/opt/ock/conf"
},
{
"TaskType": "FileTransfer",
"Name": "Distributing the configuration file mf.conf",
"Description": "",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"TransferDirection": "ToRemoteHost",
"Protocol": "SFTP",
"LocalPath": "D:\\shell\\conf\\mf.conf",
"RemotePath": "/home/ockadmin/opt/ock/conf"
},
{
"TaskType": "ExcuteCommand",
"Name": "Modifying two parameters of security.client.principle in ock.conf",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin/opt/ock/conf",
"Command": "sed -i \"s#security.client.principle.*#security.client.principle=zkcli/$(hostname)@HUAWEI.COM#g\" ock.conf",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},

]
}

certificate.json

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
{
"Name": "null",
"Description": "null",
"TasksSequence": [
{
"TaskType": "FileTransfer",
"Name": "Uploading the agent_node_list file",
"Description": "Setting the remote path to the path of the certificate extracted from the installation package",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"TransferDirection": "ToRemoteHost",
"Protocol": "SFTP",
"LocalPath": "D:\\shell\\conf\\agent_node_list",
"RemotePath": "/home/ockadmin/opt/ock/ucache/23.0.0/linux-aarch64/sbin/security"
},
{
"TaskType": "FileTransfer",
"Name": "Uploading the CA_node_list file",
"Description": "",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"TransferDirection": "ToRemoteHost",
"Protocol": "SFTP",
"LocalPath": "D:\\shell\\conf\\CA_node_list",
"RemotePath": "/home/ockadmin/opt/ock/ucache/23.0.0/linux-aarch64/sbin/security"
},
{
"TaskType": "ExcuteCommand",
"Name": "Changing the owner of agent_node_list to ockadmin",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin/opt/ock/ucache/23.0.0/linux-aarch64/sbin/security",
"Command": "chown ockadmin:ockadmin agent_node_list",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Changing the owner of CA_node_list to ockadmin",
"Description": "",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin/opt/ock/ucache/23.0.0/linux-aarch64/sbin/security",
"Command": "chown ockadmin:ockadmin CA_node_list",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "cert",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "su - ockadmin -c 'bash $OCK_HOME/ucache/23.0.0/linux-aarch64/sbin/security/cert_manager.sh root ockadmin ockadmin Sparkadmin'",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_OUTPUT_COMMAND",
"ExpectPrint": "SUCCESS",
"OutPutCommands": [
{
"echoInfo": "Enter OPS user password:",
"command": "Entering the actual user password"
},
{
"echoInfo": "Enter Agent password:",
"command": "Entering the actual agent password"
},
{
"echoInfo": "Enter CA password:",
"command": "Entering the actual CA password"
},

]
}
},

]}

start.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"Name": "null",
"Description": "null",
"TasksSequence": [
{
"TaskType": "ExcuteCommand",
"Name": "Starting OCK",
"Description": "",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "$OCK_HOME/ucache/$OCK_VERSION/linux-$(arch)/sbin/ock-start-ockd.sh",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_TRUE",
"ExpectPrint": "ockd started successfully"
}
},

]
}

stop.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"Name": "null",
"Description": "null",
"TasksSequence": [
{
"TaskType": "ExcuteCommand",
"Name": "Stopping OmniShuffle",
"Description": "",
"TimeOut": 300,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "$OCK_HOME/ucache/$OCK_VERSION/linux-$(arch)/sbin/ock-stop-ockd.sh",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_TRUE",
"ExpectPrint": "ockd stop successfully"
}
},

]
}

upgrade.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"Name": "null",
"Description": "null",
"TasksSequence": [
{
"TaskType": "FileTransfer",
"Name": "Uploading the installation package to be upgraded",
"Description": "",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"TransferDirection": "ToRemoteHost",
"Protocol": "SFTP",
"LocalPath": "D:\\shell\\ock\\BoostKit-ock-bigdata-spark_2.0.0_openeuler-aarch64.tar.gz",
"RemotePath": "/home/ockadmin/opt"
},
{
"TaskType": "ExcuteCommand",
"Name": "Decompressing the BoostKit-ock-bigdata-spark package",
"Description": "",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin/opt",
"Command": "tar -xvf BoostKit-ock-bigdata-spark_2.0.0_openeuler-aarch64.tar.gz'",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Performing an upgrade",
"Description": "",
"TimeOut": 600,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin/opt",
"Command": "su - ockadmin -c '$OCK_HOME/ucache/$OCK_VERSION/linux-$(arch)/bin/upgrade -o BoostKit-omnishuffle_1.3.0.tar.gz'",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},

]
}

uninstall.json

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"Name": "null",
"Description": "null",
"TasksSequence": [
{
"TaskType": "ExcuteCommand",
"Name": "Uninstalling OmniShuffle",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "",
"Command": "sh  $OCK_MG/ock_uninstall.sh",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_TRUE",
"ExpectPrint": "Ock uninstalled successfully"
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Deleting the uploaded TAR package",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin",
"Command": "rm -rf BoostKit-ock-bigdata-spark_2.0.0_openeuler-aarch64.tar.gz",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Deleting the extracted TAR package",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin",
"Command": "rm -rf BoostKit-omnishuffle_1.3.0.tar.gz",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Deleting the extracted files",
"Description": "",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/ockadmin",
"Command": "rm -rf BoostKit-omnishuffle_1.3.0",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Deleting the sparkadmin security key file",
"Description": "Add this part after the security feature is enabled.",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/sparkadmin",
"Command": "rm -rf huawei",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},
{
"TaskType": "ExcuteCommand",
"Name": "Deleting the zookeeperadmin security key file",
"Description": "Add this part after the security feature is enabled.",
"TimeOut": 60,
"ExceptionHandle": {
"Retry": 0,
"WaitBeforeRetry": 10,
"ExitMode": "ExitWorkFlow"
},
"Path": "/home/zookeeperadmin",
"Command": "rm -rf huawei",
"CheckForSuccess": {
"CheckErrorCode": true,
"ExpectErrorCode": 0,
"DeterminePrintMode": "JUDGMENT_MSG_FALSE",
"ExpectPrint": ""
}
},

]
}