E-MapReduce 如何创建作业?
CreateJob 创建作业
请求参数
返回参数
示例
请求示例
- [backcolor=transparent]https[backcolor=transparent]:[backcolor=transparent]//emr.aliyuncs.com/?Action=CreateJob
- [backcolor=transparent]&[backcolor=transparent]Name[backcolor=transparent]=[backcolor=transparent]CreateJobApiTest[backcolor=transparent]-[backcolor=transparent]SPARK
- [backcolor=transparent]&[backcolor=transparent]Type[backcolor=transparent]=[backcolor=transparent]SPARK
- [backcolor=transparent]&[backcolor=transparent]EnvParam[backcolor=transparent]=--[backcolor=transparent]class[backcolor=transparent]%[backcolor=transparent]20org[backcolor=transparent].[backcolor=transparent]apache[backcolor=transparent].[backcolor=transparent]spark[backcolor=transparent].[backcolor=transparent]examples[backcolor=transparent].[backcolor=transparent]SparkPi[backcolor=transparent]%[backcolor=transparent]20[backcolor=transparent]--[backcolor=transparent]master[backcolor=transparent]%[backcolor=transparent]20yarn[backcolor=transparent]-[backcolor=transparent]client[backcolor=transparent]%[backcolor=transparent]20[backcolor=transparent]%[backcolor=transparent]E2[backcolor=transparent]%[backcolor=transparent]80[backcolor=transparent]%[backcolor=transparent]93num[backcolor=transparent]-[backcolor=transparent]executors[backcolor=transparent]%[backcolor=transparent]202[backcolor=transparent]%[backcolor=transparent]20[backcolor=transparent]--[backcolor=transparent]executor[backcolor=transparent]-[backcolor=transparent]memory[backcolor=transparent]%[backcolor=transparent]202g[backcolor=transparent]%[backcolor=transparent]20[backcolor=transparent]--[backcolor=transparent]executor[backcolor=transparent]-[backcolor=transparent]cores[backcolor=transparent]%[backcolor=transparent]202[backcolor=transparent]%[backcolor=transparent]20[backcolor=transparent]/[backcolor=transparent]opt[backcolor=transparent]/[backcolor=transparent]apps[backcolor=transparent]/[backcolor=transparent]spark[backcolor=transparent]-[backcolor=transparent]1.6[backcolor=transparent].[backcolor=transparent]0[backcolor=transparent]-[backcolor=transparent]bin[backcolor=transparent]-[backcolor=transparent]hadoop2[backcolor=transparent].[backcolor=transparent]6[backcolor=transparent]/[backcolor=transparent]lib[backcolor=transparent]/[backcolor=transparent]spark[backcolor=transparent]-[backcolor=transparent]examples[backcolor=transparent]*.[backcolor=transparent]jar[backcolor=transparent]%[backcolor=transparent]2010
- [backcolor=transparent]&[backcolor=transparent]FailAct[backcolor=transparent]=[backcolor=transparent]STOP
- [backcolor=transparent]&[backcolor=transparent]RegionId[backcolor=transparent]=[backcolor=transparent]cn[backcolor=transparent]-[backcolor=transparent]hangzhou
- [backcolor=transparent]&公共请求参数
返回格式
JSON 格式
- [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"34B08619-2636-49F9-AB4E-CD8D347B1E07"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"InstanceId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"J-13A570B821D4BAB3"
- [backcolor=transparent]}
收起
0
条回答
写回答
取消
提交回答