{"id":9739,"date":"2025-04-18T17:37:11","date_gmt":"2025-04-18T09:37:11","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/9739.html"},"modified":"2025-04-18T17:37:11","modified_gmt":"2025-04-18T09:37:11","slug":"%e3%80%90datasophon%e3%80%91yarn%e9%85%8d%e7%bd%ae%e5%8e%86%e5%8f%b2%e6%9c%8d%e5%8a%a1%e5%99%a8jobhistory%e5%92%8cspark%e9%9b%86%e6%88%90historyserver","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/9739.html","title":{"rendered":"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer"},"content":{"rendered":"<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1080\" id=\"VSlBJ\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093706-68021d42cc48b.jpg\" width=\"1200\" \/><\/p>\n<p id=\"u9045b4a3\">\u76ee\u5f55<\/p>\n<p id=\"HqDEG-toc\" style=\"margin-left:0px\">\u4e00\u3001\u6982\u8ff0<\/p>\n<p id=\"aa7d375e-toc\" style=\"margin-left:40px\">1.1\u5386\u53f2\u670d\u52a1\u5668JobHistory<\/p>\n<p id=\"b6v4v-toc\" style=\"margin-left:40px\">1.2 Spark\u5386\u53f2\u670d\u52a1\u5668HistoryServer<\/p>\n<p id=\"IVHU6-toc\" style=\"margin-left:0px\">\u4e8c\u3001\u96c6\u6210\u914d\u7f6e<\/p>\n<hr id=\"hr-toc\" \/>\n<h2><span style=\"color:#956fe7\">\u4e00\u3001\u6982\u8ff0<\/span><\/h2>\n<hr id=\"HkMPp\" \/>\n<h3 id=\"aa7d375e\">1.1\u5386\u53f2\u670d\u52a1\u5668JobHistory<\/h3>\n<hr \/>\n<p id=\"ud986d575\">\u4e3a\u4e86\u67e5\u770b\u7a0b\u5e8f\u7684\u5386\u53f2\u8fd0\u884c\u60c5\u51b5&#xff0c;\u9700\u8981\u914d\u7f6e\u4e00\u4e0b\u5386\u53f2\u670d\u52a1\u5668\u3002\u65b9\u4fbf\u5728xxxx:8088\u67e5\u770b\u5386\u53f2\u4efb\u52a1\u8fd0\u884c\u65e5\u5fd7\u4fe1\u606f\u3002<\/p>\n<h3 id=\"b6v4v\">1.2 Spark\u5386\u53f2\u670d\u52a1\u5668HistoryServer<\/h3>\n<hr \/>\n<p id=\"ua37f17b2\">HistoryServer\u670d\u52a1\u53ef\u4ee5\u8ba9\u7528\u6237\u901a\u8fc7Spark UI\u754c\u9762&#xff0c;\u67e5\u770b\u5386\u53f2\u5e94\u7528&#xff08;\u5df2\u7ecf\u6267\u884c\u5b8c\u7684\u5e94\u7528&#xff09;\u7684\u6267\u884c\u7ec6\u8282&#xff0c;\u6bd4\u5982job\u4fe1\u606f\u3001stage\u4fe1\u606f\u3001task\u4fe1\u606f\u7b49&#xff0c;\u8be5\u529f\u80fd\u662f\u57fa\u4e8espark eventlogs\u65e5\u5fd7\u6587\u4ef6\u7684&#xff0c;\u6240\u4ee5\u5fc5\u987b\u6253\u5f00eventlogs\u65e5\u5fd7\u5f00\u5173\u3002\u65b9\u4fbf\u5728xxxx:8088\u67e5\u770b\u5386\u53f2\u4efb\u52a1\u8fd0\u884c\u65e5\u5fd7\u4fe1\u606f\u3002<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"643\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093707-68021d435b117.png\" width=\"1200\" \/><\/p>\n<hr \/>\n<h2 id=\"IVHU6\"><span style=\"color:#956fe7\">\u4e8c\u3001\u96c6\u6210\u914d\u7f6e<\/span><\/h2>\n<hr id=\"Hq4M9\" \/>\n<p id=\"ub231063e\">yarn-site.xml<\/p>\n<p>&lt;property&gt;<br \/>\n    &lt;name&gt;yarn.log.server.url&lt;\/name&gt;<br \/>\n    &lt;value&gt;http:\/\/xxxxx:19888\/jobhistory\/logs&lt;\/value&gt;<br \/>\n&lt;\/property&gt; <\/p>\n<p id=\"uf4f1c8cb\">mapred-site.xml<\/p>\n<p> &lt;property&gt;<br \/>\n     &lt;name&gt;mapreduce.jobhistory.address&lt;\/name&gt;<br \/>\n     &lt;value&gt;xxxxx:10020&lt;\/value&gt;<br \/>\n &lt;\/property&gt;<\/p>\n<p> &lt;property&gt;<br \/>\n     &lt;name&gt;mapreduce.jobhistory.webapp.address&lt;\/name&gt;<br \/>\n     &lt;value&gt;xxxxx19888&lt;\/value&gt;<br \/>\n &lt;\/property&gt;<\/p>\n<p id=\"u2ad6edff\">\u5982\u4e0b\u662fYARN\u5b8c\u6574\u7684service_ddl.json<\/p>\n<p id=\"ua4f98490\">cat YARN\/service_ddl.json<\/p>\n<p>{<br \/>\n  &#034;name&#034;: &#034;YARN&#034;,<br \/>\n  &#034;label&#034;: &#034;YARN&#034;,<br \/>\n  &#034;description&#034;: &#034;\u5206\u5e03\u5f0f\u8d44\u6e90\u8c03\u5ea6\u4e0e\u7ba1\u7406\u5e73\u53f0&#034;,<br \/>\n  &#034;version&#034;: &#034;3.3.3&#034;,<br \/>\n  &#034;sortNum&#034;: 2,<br \/>\n  &#034;dependencies&#034;:[&#034;HDFS&#034;],<br \/>\n  &#034;packageName&#034;: &#034;hadoop-3.3.3.tar.gz&#034;,<br \/>\n  &#034;decompressPackageName&#034;: &#034;hadoop-3.3.3&#034;,<br \/>\n  &#034;roles&#034;: [<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;ResourceManager&#034;,<br \/>\n      &#034;label&#034;: &#034;ResourceManager&#034;,<br \/>\n      &#034;roleType&#034;: &#034;master&#034;,<br \/>\n      &#034;cardinality&#034;: &#034;1&#034;,<br \/>\n      &#034;runAs&#034;: {<br \/>\n        &#034;user&#034;: &#034;yarn&#034;,<br \/>\n        &#034;group&#034;: &#034;hadoop&#034;<br \/>\n      },<br \/>\n      &#034;sortNum&#034;: 1,<br \/>\n      &#034;logFile&#034;: &#034;logs\/hadoop-yarn-resourcemanager-${host}.log&#034;,<br \/>\n      &#034;jmxPort&#034;: 9323,<br \/>\n      &#034;startRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;start&#034;,<br \/>\n          &#034;resourcemanager&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;stopRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;600&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;stop&#034;,<br \/>\n          &#034;resourcemanager&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;statusRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;status&#034;,<br \/>\n          &#034;resourcemanager&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;restartRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;restart&#034;,<br \/>\n          &#034;resourcemanager&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;externalLink&#034;: {<br \/>\n        &#034;name&#034;: &#034;ResourceManager UI&#034;,<br \/>\n        &#034;label&#034;: &#034;ResourceManager UI&#034;,<br \/>\n        &#034;url&#034;: &#034;http:\/\/${host}:8088\/ui2&#034;<br \/>\n      }<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;NodeManager&#034;,<br \/>\n      &#034;label&#034;: &#034;NodeManager&#034;,<br \/>\n      &#034;roleType&#034;: &#034;worker&#034;,<br \/>\n      &#034;cardinality&#034;: &#034;1&#034;,<br \/>\n      &#034;runAs&#034;: {<br \/>\n        &#034;user&#034;: &#034;yarn&#034;,<br \/>\n        &#034;group&#034;: &#034;hadoop&#034;<br \/>\n      },<br \/>\n      &#034;sortNum&#034;: 2,<br \/>\n      &#034;logFile&#034;: &#034;logs\/hadoop-yarn-nodemanager-${host}.log&#034;,<br \/>\n      &#034;jmxPort&#034;: 9324,<br \/>\n      &#034;startRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;start&#034;,<br \/>\n          &#034;nodemanager&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;stopRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;600&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;stop&#034;,<br \/>\n          &#034;nodemanager&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;statusRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;status&#034;,&#034;nodemanager&#034;<br \/>\n        ]<br \/>\n      }<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;HistoryServer&#034;,<br \/>\n      &#034;label&#034;: &#034;HistoryServer&#034;,<br \/>\n      &#034;roleType&#034;: &#034;master&#034;,<br \/>\n      &#034;cardinality&#034;: &#034;1&#034;,<br \/>\n      &#034;runAs&#034;: {<br \/>\n        &#034;user&#034;: &#034;mapred&#034;,<br \/>\n        &#034;group&#034;: &#034;hadoop&#034;<br \/>\n      },<br \/>\n      &#034;sortNum&#034;: 3,<br \/>\n      &#034;logFile&#034;: &#034;logs\/hadoop-mapred-historyserver-${host}.log&#034;,<br \/>\n      &#034;jmxPort&#034;: 9325,<br \/>\n      &#034;startRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;start&#034;,<br \/>\n          &#034;historyserver&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;stopRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;600&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;stop&#034;,<br \/>\n          &#034;historyserver&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;statusRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_hadoop.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;status&#034;,&#034;historyserver&#034;<br \/>\n        ]<br \/>\n      }<br \/>\n    },{<br \/>\n      &#034;name&#034;: &#034;YarnClient&#034;,<br \/>\n      &#034;label&#034;: &#034;YarnClient&#034;,<br \/>\n      &#034;roleType&#034;: &#034;client&#034;,<br \/>\n      &#034;cardinality&#034;: &#034;1&#034;,<br \/>\n      &#034;runAs&#034;: {<br \/>\n        &#034;user&#034;: &#034;yarn&#034;,<br \/>\n        &#034;group&#034;: &#034;hadoop&#034;<br \/>\n      }<br \/>\n    }<br \/>\n  ],<br \/>\n  &#034;configWriter&#034;: {<br \/>\n    &#034;generators&#034;: [<br \/>\n      {<br \/>\n        &#034;filename&#034;: &#034;yarn-site.xml&#034;,<br \/>\n        &#034;configFormat&#034;: &#034;xml&#034;,<br \/>\n        &#034;outputDirectory&#034;: &#034;etc\/hadoop\/&#034;,<br \/>\n        &#034;includeParams&#034;: [<br \/>\n          &#034;yarn.nodemanager.resource.cpu-vcores&#034;,<br \/>\n          &#034;yarn.nodemanager.resource.memory-mb&#034;,<br \/>\n          &#034;yarn.scheduler.minimum-allocation-mb&#034;,<br \/>\n          &#034;yarn.scheduler.minimum-allocation-vcores&#034;,<br \/>\n          &#034;yarn.log.server.url&#034;,<br \/>\n          &#034;yarn.nodemanager.aux-services&#034;,<br \/>\n          &#034;yarn.log-aggregation-enable&#034;,<br \/>\n          &#034;yarn.resourcemanager.ha.enabled&#034;,<br \/>\n          &#034;yarn.resourcemanager.hostname&#034;,<br \/>\n          &#034;yarn.resourcemanager.address&#034;,<br \/>\n          &#034;yarn.resourcemanager.webapp.address&#034;,<br \/>\n          &#034;yarn.resourcemanager.scheduler.address&#034;,<br \/>\n          &#034;yarn.resourcemanager.resource-tracker.address&#034;,<br \/>\n          &#034;yarn.resourcemanager.store.class&#034;,<br \/>\n          &#034;yarn.application.classpath&#034;,<br \/>\n          &#034;yarn.nodemanager.local-dirs&#034;,<br \/>\n          &#034;yarn.nodemanager.log-dirs&#034;,<br \/>\n          &#034;yarn.nodemanager.address&#034;,<br \/>\n          &#034;yarn.nodemanager.resource.count-logical-processors-as-cores&#034;,<br \/>\n          &#034;yarn.nodemanager.resource.detect-hardware-capabilities&#034;,<br \/>\n          &#034;yarn.nodemanager.resource.pcores-vcores-multiplier&#034;,<br \/>\n          &#034;yarn.resourcemanager.am.max-attempts&#034;,<br \/>\n          &#034;yarn.node-labels.enabled&#034;,<br \/>\n          &#034;yarn.node-labels.fs-store.root-dir&#034;,<br \/>\n          &#034;yarn.resourcemanager.principal&#034;,<br \/>\n          &#034;yarn.resourcemanager.keytab&#034;,<br \/>\n          &#034;yarn.nodemanager.principal&#034;,<br \/>\n          &#034;yarn.nodemanager.keytab&#034;,<br \/>\n          &#034;yarn.nodemanager.container-executor.class&#034;,<br \/>\n          &#034;yarn.nodemanager.linux-container-executor.group&#034;,<br \/>\n          &#034;yarn.nodemanager.linux-container-executor.path&#034;,<br \/>\n          &#034;custom.yarn.site.xml&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      {<br \/>\n        &#034;filename&#034;: &#034;mapred-site.xml&#034;,<br \/>\n        &#034;configFormat&#034;: &#034;xml&#034;,<br \/>\n        &#034;outputDirectory&#034;: &#034;etc\/hadoop\/&#034;,<br \/>\n        &#034;includeParams&#034;: [<br \/>\n          &#034;mapreduce.jobhistory.keytab&#034;,<br \/>\n          &#034;mapreduce.jobhistory.principal&#034;,<br \/>\n          &#034;mapreduce.cluster.local.dir&#034;,<br \/>\n          &#034;mapreduce.jobhistory.address&#034;,<br \/>\n          &#034;mapreduce.jobhistory.webapp.address&#034;,<br \/>\n          &#034;custom.mapred.site.xml&#034;<br \/>\n        ]<br \/>\n      }<br \/>\n    ]<br \/>\n  },<br \/>\n  &#034;parameters&#034;: [<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.node-labels.fs-store.root-dir&#034;,<br \/>\n      &#034;label&#034;: &#034;Node Label\u5b58\u50a8\u76ee\u5f55&#034;,<br \/>\n      &#034;description&#034;: &#034;Node Label\u5b58\u50a8\u76ee\u5f55&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;hdfs:\/\/${dfs.nameservices}\/user\/yarn\/nodeLabels&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;hdfs:\/\/${dfs.nameservices}\/user\/yarn\/nodeLabels&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.resource.cpu-vcores&#034;,<br \/>\n      &#034;label&#034;: &#034;nodemanager\u865a\u62df\u6838\u6570&#034;,<br \/>\n      &#034;description&#034;: &#034;nodemanager\u865a\u62df\u6838\u6570&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;-1&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.resource.memory-mb&#034;,<br \/>\n      &#034;label&#034;: &#034;Nodemanaer\u8282\u70b9\u4e0aYARN\u53ef\u4f7f\u7528\u7684\u7269\u7406\u5185\u5b58\u603b\u91cf&#034;,<br \/>\n      &#034;description&#034;: &#034;Nodemanaer\u8282\u70b9\u4e0aYARN\u53ef\u4f7f\u7528\u7684\u7269\u7406\u5185\u5b58\u603b\u91cf&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;2048&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.scheduler.minimum-allocation-mb&#034;,<br \/>\n      &#034;label&#034;: &#034;\u6700\u5c0f\u53ef\u5206\u914d\u5bb9\u5668\u7684\u5927\u5c0f&#034;,<br \/>\n      &#034;description&#034;: &#034;\u6700\u5c0f\u53ef\u5206\u914d\u5bb9\u5668\u7684\u5927\u5c0f&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;1024&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.scheduler.minimum-allocation-vcores&#034;,<br \/>\n      &#034;label&#034;: &#034;nodemanager\u6700\u5c0f\u865a\u62df\u6838\u6570&#034;,<br \/>\n      &#034;description&#034;: &#034;nodemanager\u6700\u5c0f\u865a\u62df\u6838\u6570&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;1&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.resource.count-logical-processors-as-cores&#034;,<br \/>\n      &#034;label&#034;: &#034;\u662f\u5426\u5c06\u7269\u7406\u6838\u6570\u4f5c\u4e3a\u865a\u62df\u6838\u6570&#034;,<br \/>\n      &#034;description&#034;: &#034;\u662f\u5426\u5c06\u7269\u7406\u6838\u6570\u4f5c\u4e3a\u865a\u62df\u6838\u6570&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;switch&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: true<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.resource.detect-hardware-capabilities&#034;,<br \/>\n      &#034;label&#034;: &#034;\u662f\u5426\u8ba9yarn\u81ea\u5df1\u68c0\u6d4b\u786c\u4ef6\u8fdb\u884c\u914d\u7f6e&#034;,<br \/>\n      &#034;description&#034;: &#034;\u662f\u5426\u8ba9yarn\u81ea\u5df1\u68c0\u6d4b\u786c\u4ef6\u8fdb\u884c\u914d\u7f6e&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;switch&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: true<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.resource.pcores-vcores-multiplier&#034;,<br \/>\n      &#034;label&#034;: &#034;\u865a\u62df\u6838\u6570\u4e0e\u7269\u7406\u6838\u6570\u6bd4\u4f8b&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;0.75&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.am.max-attempts&#034;,<br \/>\n      &#034;label&#034;: &#034;AM\u91cd\u8bd5\u6b21\u6570&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;4&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.aux-services&#034;,<br \/>\n      &#034;label&#034;: &#034;yarn\u670d\u52a1\u673a\u5236&#034;,<br \/>\n      &#034;description&#034;: &#034;yarn\u670d\u52a1\u673a\u5236&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;mapreduce_shuffle&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;mapreduce_shuffle&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.log-aggregation-enable&#034;,<br \/>\n      &#034;label&#034;: &#034;\u662f\u5426\u5f00\u542fyarn\u65e5\u5fd7\u805a\u5408&#034;,<br \/>\n      &#034;description&#034;: &#034;\u5f00\u542fyarn\u65e5\u5fd7\u805a\u5408&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;switch&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: true<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.ha.enabled&#034;,<br \/>\n      &#034;label&#034;: &#034;\u662f\u5426\u542f\u7528resourcemanager ha&#034;,<br \/>\n      &#034;description&#034;: &#034;\u662f\u5426\u542f\u7528resourcemanager ha&#034;,<br \/>\n      &#034;configType&#034;: &#034;ha&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;switch&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: false<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.hostname&#034;,<br \/>\n      &#034;label&#034;: &#034;rm\u4e3b\u673a\u540d&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;configType&#034;: &#034;ha&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.webapp.address&#034;,<br \/>\n      &#034;label&#034;: &#034;rm web\u5730\u5740&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}:8088&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.address&#034;,<br \/>\n      &#034;label&#034;: &#034;ResourceManager\u5bf9\u5ba2\u6237\u7aef\u66b4\u9732\u7684\u5730\u5740rm&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}:8032&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.scheduler.address&#034;,<br \/>\n      &#034;label&#034;: &#034;ResourceManager\u5bf9ApplicationMaster\u66b4\u9732\u7684\u8bbf\u95ee\u5730\u5740rm&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}:8030&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.resource-tracker.address&#034;,<br \/>\n      &#034;label&#034;: &#034;ResourceManager\u5bf9NodeManager\u66b4\u9732\u7684\u5730\u5740rm&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;configType&#034;: &#034;ha&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}:8031&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.store.class&#034;,<br \/>\n      &#034;label&#034;: &#034;yarn\u72b6\u6001\u4fe1\u606f\u5b58\u50a8\u7c7b&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;configType&#034;: &#034;ha&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.address&#034;,<br \/>\n      &#034;label&#034;: &#034;nodemanager\u5730\u5740&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;0.0.0.0:45454&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.log.server.url&#034;,<br \/>\n      &#034;label&#034;: &#034;historyserver\u5730\u5740&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;http:\/\/${historyserverHost}:19888\/jobhistory\/logs&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.log-aggregation.retain-seconds&#034;,<br \/>\n      &#034;label&#034;: &#034;\u65e5\u5fd7\u4fdd\u7559\u65f6\u957f&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;2592000&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.remote-app-log-dir&#034;,<br \/>\n      &#034;label&#034;: &#034;\u65e5\u5fd7\u4fdd\u7559\u4f4d\u7f6e&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;hdfs:\/\/${dfs.nameservices}\/user\/yarn\/yarn-logs\/&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.local-dirs&#034;,<br \/>\n      &#034;label&#034;: &#034;NodeManager\u672c\u5730\u5b58\u50a8\u76ee\u5f55&#034;,<br \/>\n      &#034;description&#034;: &#034;NodeManager\u672c\u5730\u5b58\u50a8\u76ee\u5f55&#xff0c;\u53ef\u914d\u7f6e\u591a\u4e2a&#xff0c;\u6309\u9017\u53f7\u5206\u9694&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;configType&#034;: &#034;path&#034;,<br \/>\n      &#034;separator&#034;: &#034;,&#034;,<br \/>\n      &#034;type&#034;: &#034;multiple&#034;,<br \/>\n      &#034;value&#034;: [<br \/>\n        &#034;\/data\/nm&#034;<br \/>\n      ],<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.log-dirs&#034;,<br \/>\n      &#034;label&#034;: &#034;NodeManager\u65e5\u5fd7\u5b58\u50a8\u76ee\u5f55&#034;,<br \/>\n      &#034;description&#034;: &#034;NodeManager\u65e5\u5fd7\u5b58\u50a8\u76ee\u5f55&#xff0c;\u53ef\u914d\u7f6e\u591a\u4e2a&#xff0c;\u6309\u9017\u53f7\u5206\u9694&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;configType&#034;: &#034;path&#034;,<br \/>\n      &#034;separator&#034;: &#034;,&#034;,<br \/>\n      &#034;type&#034;: &#034;multiple&#034;,<br \/>\n      &#034;value&#034;: [<br \/>\n        &#034;\/data\/nm\/userlogs&#034;<br \/>\n      ],<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;mapreduce.cluster.local.dir&#034;,<br \/>\n      &#034;label&#034;: &#034;MapReduce\u672c\u5730\u5b58\u50a8\u76ee\u5f55&#034;,<br \/>\n      &#034;description&#034;: &#034;MapReduce\u672c\u5730\u5b58\u50a8\u76ee\u5f55&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;configType&#034;: &#034;path&#034;,<br \/>\n      &#034;separator&#034;: &#034;,&#034;,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;\/data\/mapred\/local&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;\/data\/mapred\/local&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;mapreduce.jobhistory.address&#034;,<br \/>\n      &#034;label&#034;: &#034;MapReduceJobHistoryServer\u5730\u5740&#034;,<br \/>\n      &#034;description&#034;: &#034;MapReduceJobHistoryServer\u5730\u5740&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}:10020&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;mapreduce.jobhistory.webapp.address&#034;,<br \/>\n      &#034;label&#034;: &#034;MapReduceJobHistoryServerWeb-UI\u5730\u5740&#034;,<br \/>\n      &#034;description&#034;: &#034;MapReduceJobHistoryServerWeb-UI\u5730\u5740&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}:19888&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.application.classpath&#034;,<br \/>\n      &#034;label&#034;: &#034;yarn\u5e94\u7528\u7a0b\u5e8f\u52a0\u8f7d\u7684classpath&#034;,<br \/>\n      &#034;description&#034;: &#034;yarn\u5e94\u7528\u7a0b\u5e8f\u52a0\u8f7d\u7684classpath&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;separator&#034;: &#034;,&#034;,<br \/>\n      &#034;type&#034;: &#034;multiple&#034;,<br \/>\n      &#034;value&#034;:[&#034;${HADOOP_HOME}\/etc\/hadoop&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/common\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/common\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/hdfs&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/hdfs\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/hdfs\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/mapreduce\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/mapreduce\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/yarn&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/yarn\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/yarn\/*&#034;],<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: [&#034;${HADOOP_HOME}\/etc\/hadoop&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/common\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/common\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/hdfs&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/hdfs\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/hdfs\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/mapreduce\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/mapreduce\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/yarn&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/yarn\/lib\/*&#034;,&#034;${HADOOP_HOME}\/share\/hadoop\/yarn\/*&#034;]<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.principal&#034;,<br \/>\n      &#034;label&#034;: &#034;ResourceManager\u670d\u52a1\u7684Kerberos\u4e3b\u4f53&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;rm\/_HOST&#064;HADOOP.COM&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;rm\/_HOST&#064;HADOOP.COM&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.resourcemanager.keytab&#034;,<br \/>\n      &#034;label&#034;: &#034;ResourceManager\u670d\u52a1\u7684Kerberos\u5bc6\u94a5\u6587\u4ef6\u8def\u5f84&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;\/etc\/security\/keytab\/rm.service.keytab&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;\/etc\/security\/keytab\/rm.service.keytab&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.principal&#034;,<br \/>\n      &#034;label&#034;: &#034;NodeManager\u670d\u52a1\u7684Kerberos\u4e3b\u4f53&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;nm\/_HOST&#064;HADOOP.COM&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;nm\/_HOST&#064;HADOOP.COM&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.keytab&#034;,<br \/>\n      &#034;label&#034;: &#034;NodeManager\u670d\u52a1\u7684Kerberos\u5bc6\u94a5\u6587\u4ef6\u8def\u5f84&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;\/etc\/security\/keytab\/nm.service.keytab&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;\/etc\/security\/keytab\/nm.service.keytab&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;mapreduce.jobhistory.principal&#034;,<br \/>\n      &#034;label&#034;: &#034;JobHistory\u670d\u52a1\u7684Kerberos\u4e3b\u4f53&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;jhs\/_HOST&#064;HADOOP.COM&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;jhs\/_HOST&#064;HADOOP.COM&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;mapreduce.jobhistory.keytab&#034;,<br \/>\n      &#034;label&#034;: &#034;JobHistory\u670d\u52a1\u7684Kerberos\u5bc6\u94a5\u6587\u4ef6\u8def\u5f84&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;\/etc\/security\/keytab\/jhs.service.keytab&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;\/etc\/security\/keytab\/jhs.service.keytab&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.container-executor.class&#034;,<br \/>\n      &#034;label&#034;: &#034;\u4f7f\u7528LinuxContainerExecutor\u7ba1\u7406Container&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.linux-container-executor.group&#034;,<br \/>\n      &#034;label&#034;: &#034;NodeManager\u7684\u542f\u52a8\u7528\u6237\u7684\u6240\u5c5e\u7ec4&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;hadoop&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;hadoop&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.nodemanager.linux-container-executor.path&#034;,<br \/>\n      &#034;label&#034;: &#034;LinuxContainerExecutor\u811a\u672c\u8def\u5f84&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;configType&#034;: &#034;kb&#034;,<br \/>\n      &#034;configWithKerberos&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;${HADOOP_HOME}\/bin\/container-executor&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: true,<br \/>\n      &#034;defaultValue&#034;: &#034;${HADOOP_HOME}\/bin\/container-executor&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;yarn.node-labels.enabled&#034;,<br \/>\n      &#034;label&#034;: &#034;\u542f\u7528YARN\u6807\u7b7e\u8c03\u5ea6&#034;,<br \/>\n      &#034;description&#034;: &#034;\u5f00\u542f YARN Node Labels&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;switch&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: false<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;enableKerberos&#034;,<br \/>\n      &#034;label&#034;: &#034;\u542f\u7528Kerberos\u8ba4\u8bc1&#034;,<br \/>\n      &#034;description&#034;: &#034;\u542f\u7528Kerberos\u8ba4\u8bc1&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;switch&#034;,<br \/>\n      &#034;value&#034;: false,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: false<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;custom.yarn.site.xml&#034;,<br \/>\n      &#034;label&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6eyarn-site.xml&#034;,<br \/>\n      &#034;description&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6e&#034;,<br \/>\n      &#034;configType&#034;: &#034;custom&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;type&#034;: &#034;multipleWithKey&#034;,<br \/>\n      &#034;value&#034;: [],<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;custom.mapred.site.xml&#034;,<br \/>\n      &#034;label&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6emapred-site.xml&#034;,<br \/>\n      &#034;description&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6e&#034;,<br \/>\n      &#034;configType&#034;: &#034;custom&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;type&#034;: &#034;multipleWithKey&#034;,<br \/>\n      &#034;value&#034;: [],<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;&#034;<br \/>\n    }<br \/>\n  ]<br \/>\n} <\/p>\n<p id=\"uf36b3cdb\">\u5982\u4e0b\u662fSPARK3\u5b8c\u6574\u7684service_ddl.json<\/p>\n<p id=\"u73ec6d8c\">cat SPARK3\/service_ddl.json<\/p>\n<p>{<br \/>\n  &#034;name&#034;: &#034;SPARK3&#034;,<br \/>\n  &#034;label&#034;: &#034;Spark3&#034;,<br \/>\n  &#034;description&#034;: &#034;\u5206\u5e03\u5f0f\u8ba1\u7b97\u7cfb\u7edf&#034;,<br \/>\n  &#034;version&#034;: &#034;3.1.3&#034;,<br \/>\n  &#034;sortNum&#034;: 7,<br \/>\n  &#034;dependencies&#034;:[],<br \/>\n  &#034;packageName&#034;: &#034;spark-3.1.3.tar.gz&#034;,<br \/>\n  &#034;decompressPackageName&#034;: &#034;spark-3.1.3&#034;,<br \/>\n  &#034;roles&#034;: [<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;SparkClient3&#034;,<br \/>\n      &#034;label&#034;: &#034;SparkClient3&#034;,<br \/>\n      &#034;roleType&#034;: &#034;client&#034;,<br \/>\n      &#034;cardinality&#034;: &#034;1&#034;,<br \/>\n      &#034;logFile&#034;: &#034;logs\/hadoop-${user}-datanode-${host}.log&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;SparkHistoryServer&#034;,<br \/>\n      &#034;label&#034;: &#034;SparkHistoryServer&#034;,<br \/>\n      &#034;roleType&#034;: &#034;master&#034;,<br \/>\n      &#034;runAs&#034;: {<br \/>\n        &#034;user&#034;: &#034;hdfs&#034;,<br \/>\n        &#034;group&#034;: &#034;hadoop&#034;<br \/>\n      },<br \/>\n      &#034;cardinality&#034;: 1,<br \/>\n      &#034;logFile&#034;: &#034;logs\/spark-HistoryServer-${host}.out&#034;,<br \/>\n      &#034;jmxPort&#034;: 9094,<br \/>\n      &#034;startRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_histroy_server.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;start&#034;,<br \/>\n          &#034;histroyserver&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;stopRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;600&#034;,<br \/>\n        &#034;program&#034;: &#034;control_histroy_server.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;stop&#034;,<br \/>\n          &#034;histroyserver&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;statusRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_histroy_server.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;status&#034;,<br \/>\n          &#034;histroyserver&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;restartRunner&#034;: {<br \/>\n        &#034;timeout&#034;: &#034;60&#034;,<br \/>\n        &#034;program&#034;: &#034;control_histroy_server.sh&#034;,<br \/>\n        &#034;args&#034;: [<br \/>\n          &#034;restart&#034;,<br \/>\n          &#034;histroyserver&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      &#034;externalLink&#034;: {<br \/>\n        &#034;name&#034;: &#034;SparkHistoryServer Ui&#034;,<br \/>\n        &#034;label&#034;: &#034;SparkHistoryServer Ui&#034;,<br \/>\n        &#034;url&#034;: &#034;http:\/\/${host}:18081&#034;<br \/>\n      }<br \/>\n    }<br \/>\n  ],<br \/>\n  &#034;configWriter&#034;: {<br \/>\n    &#034;generators&#034;: [<br \/>\n      {<br \/>\n        &#034;filename&#034;: &#034;spark-env.sh&#034;,<br \/>\n        &#034;configFormat&#034;: &#034;custom&#034;,<br \/>\n        &#034;templateName&#034;: &#034;spark-env.ftl&#034;,<br \/>\n        &#034;outputDirectory&#034;: &#034;conf&#034;,<br \/>\n        &#034;includeParams&#034;: [<br \/>\n          &#034;SPARK_DIST_CLASSPATH&#034;,<br \/>\n          &#034;HADOOP_CONF_DIR&#034;,<br \/>\n          &#034;YARN_CONF_DIR&#034;,<br \/>\n          &#034;custom.spark.env.sh&#034;<br \/>\n        ]<br \/>\n      },<br \/>\n      {<br \/>\n        &#034;filename&#034;: &#034;spark-defaults.conf&#034;,<br \/>\n        &#034;configFormat&#034;: &#034;properties2&#034;,<br \/>\n        &#034;outputDirectory&#034;: &#034;conf&#034;,<br \/>\n        &#034;includeParams&#034;: [<br \/>\n          &#034;spark.eventLog.dir&#034;,<br \/>\n          &#034;spark.history.fs.logDirectory&#034;,<br \/>\n          &#034;spark.eventLog.enabled&#034;,<br \/>\n          &#034;spark.master&#034;,<br \/>\n          &#034;spark.history.ui.port&#034;,<br \/>\n          &#034;spark.yarn.historyServer.address&#034;,<br \/>\n          &#034;spark.yarn.queue&#034;,<br \/>\n      &#034;spark.history.fs.cleaner.enabled&#034;,<br \/>\n          &#034;spark.history.fs.cleaner.interval&#034;,<br \/>\n          &#034;spark.history.fs.cleaner.maxAge&#034;,<br \/>\n          &#034;custom.spark.defaults.conf&#034;<br \/>\n        ]<br \/>\n      }<br \/>\n    ]<br \/>\n  },<br \/>\n  &#034;parameters&#034;: [<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.eventLog.dir&#034;,<br \/>\n      &#034;label&#034;: &#034;eventLog\u8f93\u51fa\u7684hdfs\u8def\u5f84&#034;,<br \/>\n      &#034;description&#034;: &#034;eventLog\u8f93\u51fa\u7684hdfs\u8def\u5f84&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;hdfs:\/\/${host}:8020\/spark3-history&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.history.fs.logDirectory&#034;,<br \/>\n      &#034;label&#034;: &#034;Spark\u5386\u53f2\u65e5\u5fd7HDFS\u76ee\u5f55&#034;,<br \/>\n      &#034;description&#034;: &#034;Spark\u5386\u53f2\u65e5\u5fd7HDFS\u76ee\u5f55&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;hdfs:\/\/${host}:8020\/spark3-history&#034;<br \/>\n    },<br \/>\n   {<br \/>\n      &#034;name&#034;: &#034;spark.eventLog.enabled&#034;,<br \/>\n      &#034;label&#034;: &#034;\u5f00\u542fspark\u4e8b\u4ef6\u65e5\u5fd7&#034;,<br \/>\n      &#034;description&#034;: &#034;\u5f00\u542fspark\u4e8b\u4ef6\u65e5\u5fd7&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;true&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.master&#034;,<br \/>\n      &#034;label&#034;: &#034;\u5f00\u542fsparkmaster&#034;,<br \/>\n      &#034;description&#034;: &#034;\u5f00\u542fsparkmaster&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;yarn&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.history.ui.port&#034;,<br \/>\n      &#034;label&#034;: &#034;sparkhistoryweb\u7aef\u53e3&#034;,<br \/>\n      &#034;description&#034;: &#034;sparkhistoryweb\u7aef\u53e3&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;18081&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;18081&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.yarn.queue&#034;,<br \/>\n      &#034;label&#034;: &#034;\u6307\u5b9a\u63d0\u4ea4\u5230Yarn\u7684\u8d44\u6e90\u6c60&#034;,<br \/>\n      &#034;description&#034;: &#034;\u6307\u5b9a\u63d0\u4ea4\u5230Yarn\u7684\u8d44\u6e90\u6c60&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;default&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.yarn.historyServer.address&#034;,<br \/>\n      &#034;label&#034;: &#034;application\u7684\u65e5\u5fd7\u8bbf\u95ee\u5730\u5740&#034;,<br \/>\n      &#034;description&#034;: &#034;application\u7684\u65e5\u5fd7\u8bbf\u95ee\u5730\u5740&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;:&#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;${host}:18081&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.history.fs.cleaner.enabled&#034;,<br \/>\n      &#034;label&#034;: &#034;sparkhistory\u65e5\u5fd7\u662f\u5426\u5b9a\u65f6\u6e05\u9664&#034;,<br \/>\n      &#034;description&#034;: &#034;sparkhistory\u65e5\u5fd7\u662f\u5426\u5b9a\u65f6\u6e05\u9664&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;true&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.history.fs.cleaner.interval&#034;,<br \/>\n      &#034;label&#034;: &#034;history-server\u7684\u65e5\u5fd7\u68c0\u67e5\u95f4\u9694&#034;,<br \/>\n      &#034;description&#034;: &#034;history-server\u7684\u65e5\u5fd7\u68c0\u67e5\u95f4\u9694&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;1d&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;spark.history.fs.cleaner.maxAge&#034;,<br \/>\n      &#034;label&#034;: &#034;history-server\u65e5\u5fd7\u751f\u547d\u5468\u671f&#034;,<br \/>\n      &#034;description&#034;: &#034;history-server\u65e5\u5fd7\u751f\u547d\u5468\u671f&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;30d&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;SPARK_DIST_CLASSPATH&#034;,<br \/>\n      &#034;label&#034;: &#034;spark\u52a0\u8f7dClasspath\u8def\u5f84&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;configType&#034;: &#034;map&#034;,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;$(${HADOOP_HOME}\/bin\/hadoop classpath)&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;HADOOP_CONF_DIR&#034;,<br \/>\n      &#034;label&#034;: &#034;Hadoop\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;configType&#034;: &#034;map&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;${HADOOP_HOME}\/etc\/hadoop&#034;<br \/>\n    },{<br \/>\n      &#034;name&#034;: &#034;YARN_CONF_DIR&#034;,<br \/>\n      &#034;label&#034;: &#034;Yarn\u914d\u7f6e\u6587\u4ef6\u76ee\u5f55&#034;,<br \/>\n      &#034;description&#034;: &#034;&#034;,<br \/>\n      &#034;configType&#034;: &#034;map&#034;,<br \/>\n      &#034;required&#034;: true,<br \/>\n      &#034;type&#034;: &#034;input&#034;,<br \/>\n      &#034;value&#034;: &#034;&#034;,<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;${HADOOP_HOME}\/etc\/hadoop&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;custom.spark.env.sh&#034;,<br \/>\n      &#034;label&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6espark-env.sh&#034;,<br \/>\n      &#034;description&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6espark-env.sh&#034;,<br \/>\n      &#034;configType&#034;: &#034;custom&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;type&#034;: &#034;multipleWithKey&#034;,<br \/>\n      &#034;value&#034;: [{&#034;SPARK_CLASSPATH&#034;:&#034;${INSTALL_PATH}\/spark-3.1.3\/carbonlib\/*&#034;}],<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;&#034;<br \/>\n    },<br \/>\n    {<br \/>\n      &#034;name&#034;: &#034;custom.spark.defaults.conf&#034;,<br \/>\n      &#034;label&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6espark-defaults.conf&#034;,<br \/>\n      &#034;description&#034;: &#034;\u81ea\u5b9a\u4e49\u914d\u7f6e&#034;,<br \/>\n      &#034;configType&#034;: &#034;custom&#034;,<br \/>\n      &#034;required&#034;: false,<br \/>\n      &#034;type&#034;: &#034;multipleWithKey&#034;,<br \/>\n      &#034;value&#034;: [],<br \/>\n      &#034;configurableInWizard&#034;: true,<br \/>\n      &#034;hidden&#034;: false,<br \/>\n      &#034;defaultValue&#034;: &#034;&#034;<br \/>\n    }<br \/>\n  ]<br \/>\n}<\/p>\n<p id=\"u3d16c948\">sparhistroyServer\u542f\u505c\u811a\u672c<\/p>\n<p id=\"u18a19a75\">cat spark-3.1.3\/control_histroy_server.sh<\/p>\n<p>#!\/bin\/bash<br \/>\n#<br \/>\n#  Licensed to the Apache Software Foundation (ASF) under one or more<br \/>\n#  contributor license agreements.  See the NOTICE file distributed with<br \/>\n#  this work for additional information regarding copyright ownership.<br \/>\n#  The ASF licenses this file to You under the Apache License, Version 2.0<br \/>\n#  (the &#034;License&#034;); you may not use this file except in compliance with<br \/>\n#  the License.  You may obtain a copy of the License at<br \/>\n#<br \/>\n#     http:\/\/www.apache.org\/licenses\/LICENSE-2.0<br \/>\n#<br \/>\n#  Unless required by applicable law or agreed to in writing, software<br \/>\n#  distributed under the License is distributed on an &#034;AS IS&#034; BASIS,<br \/>\n#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br \/>\n#  See the License for the specific language governing permissions and<br \/>\n#  limitations under the License.<br \/>\n#<\/p>\n<p>usage&#061;&#034;Usage: start.sh (start|stop|status|restart) &lt;command&gt; &#034;<\/p>\n<p># if no args specified, show usage<br \/>\nif [ $# -le 1 ]; then<br \/>\n  echo $usage<br \/>\n  exit 1<br \/>\nfi<br \/>\nstartStop&#061;$1<br \/>\nshift<br \/>\ncommand&#061;$1<br \/>\nSH_DIR&#061;&#096;dirname $0&#096;<br \/>\nexport LOG_DIR&#061;$SH_DIR\/logs<br \/>\nexport PID_DIR&#061;$SH_DIR\/pid<\/p>\n<p>export HOSTNAME&#061;&#096;hostname&#096;<\/p>\n<p>if [ ! -d &#034;$LOG_DIR&#034; ]; then<br \/>\n  mkdir $LOG_DIR<br \/>\nfi<\/p>\n<p>source  \/etc\/profile.d\/datasophon-env.sh<br \/>\n# \u521b\u5efa\u65e5\u5fd7\u8def\u5f84<br \/>\nsudo -u hdfs \/opt\/datasophon\/hdfs\/bin\/hdfs  dfs -test -d \/spark3-history<br \/>\nif [ $? -ne 0 ] ;then<br \/>\n    source \/etc\/profile.d\/datasophon-env.sh<br \/>\n    sudo -u hdfs \/opt\/datasophon\/hdfs\/bin\/hdfs  dfs -mkdir -p  \/spark3-history<br \/>\n    sudo -u hdfs \/opt\/datasophon\/hdfs\/bin\/hdfs  dfs -chown -R hdfs:hadoop \/spark3-history\/<br \/>\n    sudo -u hdfs \/opt\/datasophon\/hdfs\/bin\/hdfs  dfs -chmod -R 777  \/spark3-history\/<\/p>\n<p>fi<\/p>\n<p>start(){<br \/>\n[ -w &#034;$PID_DIR&#034; ] ||  mkdir -p &#034;$PID_DIR&#034;<br \/>\n    ifOrNot&#061;&#096;ps -ef |grep HistoryServer | grep spark |grep -v &#034;grep&#034; |wc -l&#096;<br \/>\n    if [ 1 &#061;&#061; $ifOrNot ]<br \/>\n    then<br \/>\n      echo &#034;$command is  running &#034;<br \/>\n       exit 1<br \/>\n    else<br \/>\n      echo &#034;$command  is not running&#034;<br \/>\n    fi<\/p>\n<p>  echo starting $command, logging<br \/>\n  exec_command&#061;&#034;$SH_DIR\/sbin\/start-history-server.sh&#034;<br \/>\n  echo &#034; $exec_command&#034;<br \/>\n  $exec_command<\/p>\n<p>}<br \/>\nstop(){<br \/>\n    ifOrNot&#061;&#096;ps -ef |grep HistoryServer | grep spark |grep -v &#034;grep&#034; |wc -l&#096;<br \/>\n    if [ 1 &#061;&#061; $ifOrNot ];then<br \/>\n       ifStop&#061;&#096;jps | grep -E &#039;HistoryServer&#039; | grep  -v &#039;Job*&#039; | awk   &#039;{print $1}&#039;&#096;<br \/>\n       if [ ! -z $ifStop ]; then<br \/>\n           echo &#034;stop $command  &#034;<br \/>\n           kill -9 $ifStop<br \/>\n       fi<br \/>\n    else<br \/>\n      echo &#034;$command  is not running&#034;<br \/>\n      exit 1<br \/>\n    fi<\/p>\n<p>}<br \/>\nstatus(){<br \/>\n    ifOrNot&#061;&#096;ps -ef |grep HistoryServer | grep spark |grep -v &#034;grep&#034; |wc -l&#096;<br \/>\n    if [ 1 &#061;&#061; $ifOrNot ]<br \/>\n    then<br \/>\n      echo &#034;$command is  running &#034;<br \/>\n    else<br \/>\n      echo &#034;$command  is not running&#034;<br \/>\n      exit 1<br \/>\n    fi<br \/>\n}<br \/>\nrestart(){<br \/>\nstop<br \/>\nsleep 10<br \/>\nstart<br \/>\n}<br \/>\ncase $startStop in<br \/>\n  (start)<br \/>\n    start<br \/>\n    ;;<br \/>\n  (stop)<br \/>\n    stop<br \/>\n      ;;<br \/>\n  (status)<br \/>\n  status<br \/>\n;;<br \/>\n  (restart)<br \/>\n  restart<br \/>\n      ;;<br \/>\n  (*)<br \/>\n    echo $usage<br \/>\n    exit 1<br \/>\n    ;;<br \/>\nesac<\/p>\n<p>echo &#034;End $startStop $command.&#034;<\/p>\n<p id=\"u30388115\">\n<p id=\"u8776001c\">spark\u91cd\u65b0\u6253\u5305\u6211\u4eec\u90e8\u7f72\u5b89\u88c5<\/p>\n<p id=\"u888d5f25\">\n<p id=\"u1aeef58e\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"564\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093707-68021d43c2f2d.png\" width=\"1200\" \/>\u9009\u62e9SparkhistoryServer\u5b89\u88c5\u8282\u70b9<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"492\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093708-68021d440ec3f.png\" width=\"1199\" \/><\/p>\n<p id=\"u9cd3b447\">\n<p id=\"u772c3640\">\u9009\u62e9Sparkclient<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"482\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093708-68021d444398e.png\" width=\"1200\" \/><\/p>\n<p id=\"u77fdf067\">\n<p id=\"ucb524489\">\u670d\u52a1\u914d\u7f6e<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"688\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093708-68021d4477dd4.png\" width=\"1200\" \/><\/p>\n<p id=\"uf47731ff\">\n<p id=\"u975cd35e\">\u5b89\u88c5\u5b8c\u6210<\/p>\n<p id=\"u6144daee\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"485\" id=\"u58b5be1c\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093708-68021d44c1976.png\" width=\"1200\" \/><\/p>\n<p id=\"uca7cd454\">\u5b89\u88c5\u5b8c\u540e\u7684spark-defaults.conf \u914d\u7f6e\u6587\u4ef6<\/p>\n<p id=\"u1de558fd\">cat spark3\/conf\/spark-defaults.conf<\/p>\n<p>spark.eventLog.dir hdfs:\/\/windp-aio:8020\/spark3-history<br \/>\nspark.history.fs.logDirectory hdfs:\/\/windp-aio:8020\/spark3-history<br \/>\nspark.eventLog.enabled true<br \/>\nspark.master yarn<br \/>\nspark.history.ui.port 18081<br \/>\nspark.yarn.historyServer.address windp-aio:18081<br \/>\nspark.yarn.queue default<br \/>\nspark.history.fs.cleaner.enabled true<br \/>\nspark.history.fs.cleaner.interval 1d<br \/>\nspark.history.fs.cleaner.maxAge 30d<\/p>\n<p id=\"ueebe09e4\">datasophon\u9875\u9762<\/p>\n<p id=\"u3834abc8\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"552\" id=\"u8a76a5e1\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093709-68021d4501279.png\" width=\"1200\" \/><\/p>\n<p id=\"u217939c0\">\u63d0\u4ea4spark-examples\u6d4b\u8bd5\u4efb\u52a1<\/p>\n<p>spark-submit \\\\<br \/>\n&#8211;class org.apache.spark.examples.SparkPi \\\\<br \/>\n&#8211;master yarn \\\\<br \/>\n&#8211;executor-memory 1G \\\\<br \/>\n&#8211;num-executors 2 \\\\<br \/>\n\/opt\/datasophon\/spark3\/examples\/jars\/spark-examples_2.12-3.1.3.jar \\\\<br \/>\n10 <\/p>\n<p id=\"u69bf7f3b\">\u67e5\u770bYARN<\/p>\n<p id=\"uc4ade318\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"671\" id=\"ua47ff14e\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093709-68021d455c09b.png\" width=\"1200\" \/><\/p>\n<p id=\"u65bd2d6b\">\u67e5\u770bSPARK<\/p>\n<p id=\"u0f5574aa\">\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"448\" id=\"ue829893c\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093709-68021d45c8439.png\" width=\"1200\" \/><\/p>\n<p>\u81f3\u6b64\u96c6\u6210\u5b8c\u6210\u3002\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb6.6k\u6b21\uff0c\u70b9\u8d5e78\u6b21\uff0c\u6536\u85cf72\u6b21\u3002HistoryServer\u670d\u52a1\u53ef\u4ee5\u8ba9\u7528\u6237\u901a\u8fc7Spark UI\u754c\u9762\uff0c\u67e5\u770b\u5386\u53f2\u5e94\u7528\uff08\u5df2\u7ecf\u6267\u884c\u5b8c\u7684\u5e94\u7528\uff09\u7684\u6267\u884c\u7ec6\u8282\uff0c\u6bd4\u5982job\u4fe1\u606f\u3001stage\u4fe1\u606f\u3001task\u4fe1\u606f\u7b49\uff0c\u8be5\u529f\u80fd\u662f\u57fa\u4e8espark eventlogs\u65e5\u5fd7\u6587\u4ef6\u7684\uff0c\u6240\u4ee5\u5fc5\u987b\u6253\u5f00eventlogs\u65e5\u5fd7\u5f00\u5173\u3002\u65b9\u4fbf\u5728xxxx:8088\u67e5\u770b\u5386\u53f2\u4efb\u52a1\u8fd0\u884c\u65e5\u5fd7\u4fe1\u606f\u3002_spark\u5386\u53f2\u670d\u52a1\u5668<\/p>\n","protected":false},"author":2,"featured_media":9729,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[366,368,365,367,363,364],"topic":[],"class_list":["post-9739","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-historyserver","tag-jobhistory","tag-spark","tag-yarn","tag-amp","tag-364"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/9739.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb6.6k\u6b21\uff0c\u70b9\u8d5e78\u6b21\uff0c\u6536\u85cf72\u6b21\u3002HistoryServer\u670d\u52a1\u53ef\u4ee5\u8ba9\u7528\u6237\u901a\u8fc7Spark UI\u754c\u9762\uff0c\u67e5\u770b\u5386\u53f2\u5e94\u7528\uff08\u5df2\u7ecf\u6267\u884c\u5b8c\u7684\u5e94\u7528\uff09\u7684\u6267\u884c\u7ec6\u8282\uff0c\u6bd4\u5982job\u4fe1\u606f\u3001stage\u4fe1\u606f\u3001task\u4fe1\u606f\u7b49\uff0c\u8be5\u529f\u80fd\u662f\u57fa\u4e8espark eventlogs\u65e5\u5fd7\u6587\u4ef6\u7684\uff0c\u6240\u4ee5\u5fc5\u987b\u6253\u5f00eventlogs\u65e5\u5fd7\u5f00\u5173\u3002\u65b9\u4fbf\u5728xxxx:8088\u67e5\u770b\u5386\u53f2\u4efb\u52a1\u8fd0\u884c\u65e5\u5fd7\u4fe1\u606f\u3002_spark\u5386\u53f2\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/9739.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T09:37:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093706-68021d42cc48b.jpg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/9739.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/9739.html\",\"name\":\"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T09:37:11+00:00\",\"dateModified\":\"2025-04-18T09:37:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/9739.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/9739.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/9739.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/9739.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb6.6k\u6b21\uff0c\u70b9\u8d5e78\u6b21\uff0c\u6536\u85cf72\u6b21\u3002HistoryServer\u670d\u52a1\u53ef\u4ee5\u8ba9\u7528\u6237\u901a\u8fc7Spark UI\u754c\u9762\uff0c\u67e5\u770b\u5386\u53f2\u5e94\u7528\uff08\u5df2\u7ecf\u6267\u884c\u5b8c\u7684\u5e94\u7528\uff09\u7684\u6267\u884c\u7ec6\u8282\uff0c\u6bd4\u5982job\u4fe1\u606f\u3001stage\u4fe1\u606f\u3001task\u4fe1\u606f\u7b49\uff0c\u8be5\u529f\u80fd\u662f\u57fa\u4e8espark eventlogs\u65e5\u5fd7\u6587\u4ef6\u7684\uff0c\u6240\u4ee5\u5fc5\u987b\u6253\u5f00eventlogs\u65e5\u5fd7\u5f00\u5173\u3002\u65b9\u4fbf\u5728xxxx:8088\u67e5\u770b\u5386\u53f2\u4efb\u52a1\u8fd0\u884c\u65e5\u5fd7\u4fe1\u606f\u3002_spark\u5386\u53f2\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/9739.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T09:37:11+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418093706-68021d42cc48b.jpg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"13 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/9739.html","url":"https:\/\/www.wsisp.com\/helps\/9739.html","name":"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T09:37:11+00:00","dateModified":"2025-04-18T09:37:11+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/9739.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/9739.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/9739.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010DataSophon\u3011Yarn\u914d\u7f6e\u5386\u53f2\u670d\u52a1\u5668JobHistory\u548cSpark\u96c6\u6210historyServer"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/9739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=9739"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/9739\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/9729"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=9739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=9739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=9739"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=9739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}