{"id":16433,"date":"2025-06-26T16:46:37","date_gmt":"2025-06-26T08:46:37","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=16433"},"modified":"2025-12-10T15:15:55","modified_gmt":"2025-12-10T07:15:55","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-tdc-%e4%b8%8a%e6%9b%b4%e6%96%b0%e7%bb%84%e4%bb%b6%e4%be%9d%e8%b5%96","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=16433","title":{"rendered":"\u5982\u4f55\u5728 TDC \u4e0a\u66f4\u65b0\u7ec4\u4ef6\u4f9d\u8d56"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<p>\u672c\u6587\u63cf\u8ff0\u5982\u4f55\u66f4\u6539TDC\u4e0a\u4ea7\u54c1\u7684\u4f9d\u8d56<\/p>\n<h3>\u8be6\u7ec6\u63cf\u8ff0<\/h3>\n<h4>\u95ee\u9898\u80cc\u666f<\/h4>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746669587086.png\" alt=\"file\" \/><br \/>\n\u7531\u4e8emetastore\u6ca1\u6709\u6b63\u786e\u4f9d\u8d56\u4e0ayarn\u670d\u52a1\uff0c\u5bfc\u81f4orc\u4e8b\u52a1\u8868\u65e0\u6cd5\u63d0\u4ea4\u5408\u5e76\u4efb\u52a1\u5230yarn\u4e0a<\/p>\n<h4>\u89e3\u51b3\u65b9\u6848<\/h4>\n<h5>1 \u767b\u5f55walm swagger<\/h5>\n<pre><code class=\"language-shell\">kubectl get svc -n kube-system | grep walm<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746670119209.png\" alt=\"file\" \/><br \/>\n\u672c\u6848\u4f8b\u7684\u7aef\u53e3\u662f31384<br \/>\n\u7136\u540e\u901a\u8fc7http:\/\/<master IP>:<walm svc port>\/swagger \u767b\u5f55swagger<\/p>\n<h5>2 \u5b9e\u4f8b\u4fe1\u606f\u83b7\u53d6<\/h5>\n<p>\u786e\u8ba4\u8981\u66f4\u65b0\u4f9d\u8d56\u7684\u7ec4\u4ef6\u7684 namespace\u4ee5\u53carelease\u540d\u79f0<\/p>\n<p>namespace\u4fe1\u606f\u5982\u56fe\u6240\u793a\uff1a\u4e3aszzl<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746670154373.png\" alt=\"file\" \/><\/p>\n<p>\u83b7\u53d6release\u540d\u79f0<\/p>\n<pre><code class=\"language-shell\">kubectl get releaseconfig -n <namespace><\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746670401521.png\" alt=\"file\" \/><\/p>\n<p>NOTE: \u8be5\u540d\u79f0\u4e5f\u53ef\u5728\u4e91\u4ea7\u54c1\u9875\u9762\u83b7\u53d6\u3002 \u6b64\u5904\u9700\u540c\u65f6\u83b7\u53d6\u4f9d\u8d56\u7ec4\u4ef6\/\u88ab\u4f9d\u8d56\u7ec4\u4ef6\u7684release\u540d\u79f0\u3002<\/p>\n<h5>3 swagger\u9875\u9762\u83b7\u53d6\u5f53\u524drelease\u7684\u914d\u7f6e\u4fe1\u606f<\/h5>\n<p>\u5728swagger\u63a5\u53e3\u4e2d\u627e\u5230\u63a5\u53e3 GET \/api\/v1\/release\/config\/{namespace}\/name\/{release}<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746670496004.png\" alt=\"file\" \/><br \/>\n\u586b\u5199\u5bf9\u5e94\u7684\u4fe1\u606f<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746670654181.png\" alt=\"file\" \/><\/p>\n<p>\u5c06\u8f93\u51fa\u7684\u5185\u5bb9\u5168\u90e8\u590d\u5236\u4e0b\u6765\uff0c\u4fdd\u5b58<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746670721375.png\" alt=\"file\" \/><\/p>\n<h5>4 \u6dfb\u52a0\u4f9d\u8d56\u5173\u7cfb<\/h5>\n<p>\u5c06\u83b7\u53d6\u7684\u914d\u7f6e\u4fe1\u606fbody\u4e2d\u7684denpendencies \u6309\u9700\u8fdb\u884c\u4fee\u6539\uff0c\u5e76\u7559\u5b58\u5907\u7528\u3002\u4f8b\u5982\uff1a<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746671408555.png\" alt=\"file\" \/><br \/>\n\u6dfb\u52a0yarn\u7684release\u4fe1\u606f<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746671518606.png\" alt=\"file\" \/><\/p>\n<h5>5 \u901a\u8fc7walm\u63a5\u53e3\u66f4\u65b0release<\/h5>\n<p>\u627e\u5230PUT\u7aef\u53e3 \u201c\/api\/v1\/release\/{namespace} \u70b9\u51fb\u5c55\u5f00<br \/>\n\u5728namespace\u4e2d\u586b\u5165release\u6240\u5728\u7684namespace\u540d\u79f0\u3002<\/p>\n<p><strong>NOTE\uff1a\u7531\u4e8ewalm\u529f\u80fd\u9650\u5236\uff0c\u4f7f\u7528walm swagger\u63a5\u53e3\u66f4\u65b0\u5b9e\u4f8b\u65f6\uff0cupdateConfigMap\u8bbe\u7f6e\u4e3atrue\uff0c\u4f1a\u4e22\u5931\u975e\u9ad8\u7ea7\u53c2\u6570\u9875\u9762\u589e\u5220\u6539\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8ehamurapi\u589e\u5220\u6539\u7684\u53c2\u6570\u548c\u624b\u52a8\u76f4\u63a5\u4fee\u6539\u7684configmap\u5185\u5bb9\u3002<br \/>\n\u6240\u4ee5\uff0c\u5982\u6709\u975e\u9ad8\u7ea7\u53c2\u6570\u9875\u9762\u589e\u5220\u6539\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u8bf7\u5728\u63a5\u53e3\u66f4\u65b0\u524d\u8fdb\u884c\u4fdd\u5b58\uff0c\u5e76\u5728\u63a5\u53e3\u66f4\u65b0\u540e\u8fdb\u884c\u624b\u5de5\u6062\u590d\u3002<br \/>\n\u6216\u8005\uff0c\u5c06updateConfigMap\u8bbe\u7f6e\u4e3afalse\uff0c\u907f\u514dconfigmap\u7684\u66f4\u65b0\u4ee5\u4fdd\u7559\u4e4b\u524d\u624b\u52a8\u4fee\u6539\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u4f46\u8fd9\u6837\u505a\u53ef\u80fd\u4f1a\u5bfc\u81f4\u63a5\u53e3\u66f4\u65b0\u5931\u8d25\u3002<\/strong><\/p>\n<p>\u8fd9\u91ccupdateConfigMap\u8bbe\u7f6e\u53ef\u6839\u636e\u9700\u6c42\u3002<\/p>\n<p>\u586b\u5165\u6b65\u9aa43\u4e2d\u4fdd\u5b58\u4fee\u6539\u540e\u7684body\u4fe1\u606f\uff0c\u590d\u5236\u5230\u8fd9\u91cc\u7684body\u91cc\u9762\uff0c\u70b9\u51fbtry it out<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746671997185.png\" alt=\"file\" \/><\/p>\n<p>\u5173\u6ce8HTTP Status Code\uff0c\u5982\u679c\u4e3a200\uff0c\u8bc1\u660e\u66f4\u65b0\u6210\u529f\u3002 \u5982\u4e3a\u5176\u4ed6\u8fd4\u56de\u7801\uff0c\u8bf7\u68c0\u67e5\u586b\u5165\u4fe1\u606f\u6216chart\u538b\u7f29\u5305\u3002<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746671948786.png\" alt=\"file\" \/><\/p>\n<p><strong>NOTE\uff1a\u5728\u66f4\u65b0releaseconfig\u540e\uff0chamurapi\u5f53\u4e2d\u7684\u914d\u7f6e\u4fe1\u606f\u53ef\u80fd\u4e0d\u4f1a\u7acb\u5373\u5237\u65b0\u3002<br \/>\nhamurapi\u7684\u7f13\u5b58\u5468\u671f\u4e3a1\u5c0f\u65f6\u3002\u6240\u6709\u66f4\u65b0\u4efb\u52a1\u4f1a\u57281\u5c0f\u65f6\u5185\u66f4\u65b0\u5b8c\u6210\u3002<br \/>\n\u5982\u679c\u9700\u8981\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u5df2\u7ecf\u66f4\u65b0\uff0c\u53ef\u4ee5\u8fdb\u5165\u5230pod\u5185\u90e8\u67e5\u770b\u914d\u7f6e\u6587\u4ef6\uff0c\u6216\u76f4\u63a5\u67e5\u770bconfigmap\u3002<br \/>\n<\/strong><\/p>\n<h5>6 \u83b7\u53d6walm-config<\/h5>\n<h6>\u524d\u53f0\u83b7\u53d6<\/h6>\n<p>\u8fdb\u5165 TDC \u7684 hamurapi : https:\/\/<master IP>\/tdc\/hamurapi \u767b\u5f55\u540e\uff0c\u5728\u53f3\u4e0a\u89d2\u8f93\u5165\u521a\u521a\u4fee\u6539\u4f9d\u8d56\u7684\u7ec4\u4ef6\u7684release\u4fe1\u606f\uff08\u672c\u6848\u4f8b\u4e3ametastore\uff09\u7136\u540e\u8fdb\u5165\u914d\u7f6e\u96c6\uff0c\u6216\u8005\u76f4\u63a5\u5728\u8be5\u7ec4\u4ef6\u7684\u9875\u9762\u9009\u62e9\u524d\u5f80\u914d\u7f6e\u4e2d\u5fc3\u5373\u53ef<\/p>\n<p>\u5728\u914d\u7f6e\u96c6\u5de6\u4fa7\u680f\u627e\u5230 walm-config \u6587\u4ef6\uff0c\u9009\u4e2d\u540e\u590d\u5236\u5e76\u4fdd\u5b58\u53f3\u4fa7\u5185\u5bb9\u3002<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746672377097.png\" alt=\"file\" \/><\/p>\n<p>\u8f93\u51fa\u7684\u7ed3\u679c\u4e3a<\/p>\n<pre><code class=\"language-json\">{\\r\\n  \\\"chart_name\\\" : \\\"metastore\\\",\\r\\n  \\\"chart_version\\\" : \\\"8.37.2\\\",\\r\\n  \\\"chart_appVersion\\\" : \\\"8.37.2\\\",\\r\\n  \\\"name\\\" : \\\"clus-3-metastore-8-37-2-121625850\\\",\\r\\n  \\\"config_values\\\" : {\\r\\n    \\\"Customized_Instance_Selector\\\" : { },\\r\\n    \\\"Customized_Namespace\\\" : \\\"\\\",\\r\\n    \\\"Transwarp_License_Address\\\" : \\\"zookeeper-s4zx9-0.zookeeper-s4zx9.kube-system.svc:2191,zookeeper-s4zx9-1.zookeeper-s4zx9.kube-system.svc:2191,zookeeper-s4zx9-2.zookeeper-s4zx9.kube-system.svc:2191\\\",\\r\\n    \\\"Transwarp_Config\\\" : {\\r\\n      \\\"security\\\" : {\\r\\n        \\\"auth_type\\\" : \\\"kerberos\\\",\\r\\n        \\\"guardian_principal_user\\\" : \\\"hive\\\",\\r\\n        \\\"guardian_principal_host\\\" : \\\"tos_szzl\\\",\\r\\n        \\\"guardian_spnego_principal_user\\\" : \\\"HTTP\\\",\\r\\n        \\\"guardian_spnego_principal_host\\\" : \\\"tos_szzl\\\",\\r\\n        \\\"guardian_permission_component\\\" : \\\"clus-3-metastore-8-37-2-121625850\\\",\\r\\n        \\\"guardian_plugin_enable\\\" : \\\"true\\\",\\r\\n        \\\"cas_plugin_enable\\\" : \\\"true\\\",\\r\\n        \\\"sssd_plugin_enable\\\" : \\\"false\\\"\\r\\n      },\\r\\n      \\\"Transwarp_Auto_Injected_Volumes\\\" : [ {\\r\\n        \\\"name\\\" : \\\"kerberos\\\",\\r\\n        \\\"secretname\\\" : \\\"clus-3-metastore-8-37-2-121625850\\\",\\r\\n        \\\"volumeName\\\" : \\\"keytab\\\"\\r\\n      } ]\\r\\n    },\\r\\n    \\\"Transwarp_MSL_License_Address\\\" : \\\"https:\/\/licence-server-service.kube-system.svc:60907\/licence\\\",\\r\\n    \\\"Transwarp_App_Name\\\" : \\\"metastore\\\",\\r\\n    \\\"Transwarp_Registry_Server\\\" : \\\"10.209.36.1:5000\\\",\\r\\n    \\\"Transwarp_Affinity\\\" : {\\r\\n      \\\"nodeAffinity\\\" : { }\\r\\n    }\\r\\n  },\\r\\n  \\\"dependencies\\\" : {\\r\\n    \\\"hdfs\\\" : \\\"clus-3-hdfs-9-3-1-121625843\\\",\\r\\n    \\\"kundb\\\" : \\\"clus-3-kundb-2-1-5-121625847\\\",\\r\\n    \\\"elasticsearch\\\" : null,\\r\\n    \\\"yarn\\\" : \\\"clus-3-yarn-9-3-1-110329773\\\",\\r\\n    \\\"zookeeper\\\" : \\\"clus-3-zookeeper-9-3-1-121625863\\\",\\r\\n    \\\"guardian\\\" : \\\"szzl-guardian\\\"\\r\\n  },\\r\\n  \\\"release_labels\\\" : {\\r\\n    \\\"project-name\\\" : \\\"clus-3\\\",\\r\\n    \\\"io.transwarp.tdc\/component-class\\\" : \\\"bigdata\\\",\\r\\n    \\\"transwarp.product\\\" : \\\"metastore\\\"\\r\\n  },\\r\\n  \\\"pod_labels\\\" : {\\r\\n    \\\"io.transwarp.tdc\/component-class\\\" : \\\"bigdata\\\",\\r\\n    \\\"transwarp.product\\\" : \\\"metastore\\\",\\r\\n    \\\"io.transwarp.tdc\/reservation-id\\\" : \\\"szzl-clus-3-6b780070-4fb5-44\\\"\\r\\n  },\\r\\n  \\\"release_pretty_params\\\" : {\\r\\n    \\\"commonConfig\\\" : {\\r\\n      \\\"roles\\\" : [ {\\r\\n        \\\"name\\\" : \\\"metastore\\\",\\r\\n        \\\"description\\\" : \\\"metastore\\\",\\r\\n        \\\"description_en\\\" : \\\"\\\",\\r\\n        \\\"baseConfig\\\" : [ {\\r\\n          \\\"variable\\\" : \\\"image\\\",\\r\\n          \\\"type\\\" : \\\"string\\\",\\r\\n          \\\"default\\\" : \\\"transwarp\/quark:quark-8.37.2-final\\\",\\r\\n          \\\"description\\\" : \\\"\u955c\u50cf\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"priority\\\",\\r\\n          \\\"type\\\" : \\\"number\\\",\\r\\n          \\\"default\\\" : 0,\\r\\n          \\\"description\\\" : \\\"\u4f18\u5148\u7ea7\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"replicas\\\",\\r\\n          \\\"type\\\" : \\\"number\\\",\\r\\n          \\\"default\\\" : 2,\\r\\n          \\\"description\\\" : \\\"\u526f\u672c\u4e2a\u6570\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"env_list\\\",\\r\\n          \\\"type\\\" : \\\"list\\\",\\r\\n          \\\"default\\\" : [ ],\\r\\n          \\\"description\\\" : \\\"\u989d\u5916\u73af\u5883\u53d8\u91cf\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"use_host_network\\\",\\r\\n          \\\"type\\\" : \\\"bool\\\",\\r\\n          \\\"default\\\" : false,\\r\\n          \\\"description\\\" : \\\"\u662f\u5426\u4f7f\u7528\u4e3b\u673a\u7f51\u7edc\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        } ],\\r\\n        \\\"resouceConfig\\\" : {\\r\\n          \\\"cpu_limit\\\" : 2.0,\\r\\n          \\\"cpu_request\\\" : 0.5,\\r\\n          \\\"memory_limit\\\" : 10.0,\\r\\n          \\\"memory_request\\\" : 1.0,\\r\\n          \\\"gpu_limit\\\" : 0,\\r\\n          \\\"gpu_request\\\" : 0,\\r\\n          \\\"storage\\\" : [ {\\r\\n            \\\"name\\\" : \\\"log\\\",\\r\\n            \\\"type\\\" : \\\"pvc\\\",\\r\\n            \\\"storageClass\\\" : \\\"silver\\\",\\r\\n            \\\"size\\\" : \\\"20.00Gi\\\",\\r\\n            \\\"accessModes\\\" : [ \\\"ReadWriteOnce\\\" ],\\r\\n            \\\"accessMode\\\" : \\\"\\\",\\r\\n            \\\"disk_replicas_enabled\\\" : false,\\r\\n            \\\"disk_replicas\\\" : 1\\r\\n          } ]\\r\\n        }\\r\\n      } ]\\r\\n    },\\r\\n    \\\"transwarpBundleConfig\\\" : [ {\\r\\n      \\\"variable\\\" : \\\"Transwarp_Config.Transwarp_Principal_Suffix\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\".transwarp.local\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Transwarp_Config.macvlan_enabled\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Transwarp_Config.federalApp\\\",\\r\\n      \\\"type\\\" : \\\"boolean\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, { } ],\\r\\n    \\\"advanceConfig\\\" : [ {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"datanucleus.autoCreateSchema\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"datanucleus.autoCreateSchema\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"datanucleus.fixedDatastore\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : true,\\r\\n      \\\"description\\\" : \\\"datanucleus.fixedDatastore\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hbase.client.scanner.caching\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"number\\\",\\r\\n      \\\"default\\\" : 500,\\r\\n      \\\"description\\\" : \\\"hbase.client.scanner.caching\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.aux.jars.path\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"\\\",\\r\\n      \\\"description\\\" : \\\"hive.aux.jars.path\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.exec.compress.intermediate\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : true,\\r\\n      \\\"description\\\" : \\\"hive.exec.compress.intermediate\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.exec.compress.output\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"hive.exec.compress.output\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.exec.dynamic.partition\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"hive.exec.dynamic.partition\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.hwi.war.file\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"lib\/hive-hwi-0.8.1.war\\\",\\r\\n      \\\"description\\\" : \\\"hive.hwi.war.file\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.input.format\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"org.apache.hadoop.hive.ql.io.HiveInputFormat\\\",\\r\\n      \\\"description\\\" : \\\"hive.input.format\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.metastore.execute.setugi\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : true,\\r\\n      \\\"description\\\" : \\\"hive.metastore.execute.setugi\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.server2.logging.operation.enabled\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"hive.server2.logging.operation.enabled\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.users.in.admin.role\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"hive\\\",\\r\\n      \\\"description\\\" : \\\"hive.users.in.admin.role\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"javax.jdo.option.ConnectionDriverName\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"com.mysql.jdbc.Driver\\\",\\r\\n      \\\"description\\\" : \\\"javax.jdo.option.ConnectionDriverName\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"mapreduce.framework.name\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"yarn\\\",\\r\\n      \\\"description\\\" : \\\"mapreduce.framework.name\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.javax_jdo_option_connection_password\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"passwd\\\",\\r\\n      \\\"description\\\" : \\\"javax.jdo.option.ConnectionPassword\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.javax_jdo_option_connection_username\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"hiveuser\\\",\\r\\n      \\\"description\\\" : \\\"javax.jdo.option.ConnectionUserName\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.jvm_xmx_factor\\\",\\r\\n      \\\"type\\\" : \\\"number\\\",\\r\\n      \\\"default\\\" : 800,\\r\\n      \\\"description\\\" : \\\"metastore jvm Xmx \u7cfb\u6570, \u914d\u7f6e\u7ed9metastore\u7684JVM\u7684\u6700\u5927\u5806\u5185\u5b58\u8ba1\u7b97\u516c\u5f0f\u4e3a pod\u5185\u5b58limit\u503c * metastore.jvm_xmx_factor\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.database\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"metastore_clus_3\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : \\\"\\\"\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.hive_exec_scratchdir\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"\/user\/clus-3-hive\/tmp\/hive\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : \\\"\\\"\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.hive_metastore_warehouse_dir\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"\/user\/clus-3-hive\/user\/hive\/warehouse\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : \\\"\\\"\\r\\n    } ]\\r\\n  },\\r\\n  \\\"repo_name\\\" : \\\"stable\\\"\\r\\n}<\/code><\/pre>\n<h6>\u540e\u53f0\u83b7\u53d6<\/h6>\n<p>\uff08\u6ce8\u610f\uff1a\u6b64\u5904\u83b7\u53d6\u7684\u7ed3\u6784\u4f53\u5305\u542b &quot;text&quot;: &quot;{}&quot;\u548c&quot;format&quot;:&quot;JSON&quot; \u5185\u5bb9\uff0c\u5728\u540e\u6587\u4fee\u6539body\u7684\u65f6\u5019\u6ce8\u610f\u548c\u524d\u53f0\u83b7\u53d6\u5185\u5bb9\u7684\u533a\u522b\u3002\uff09<\/p>\n<pre><code class=\"language-shell\">curl -X 'GET' \\\n  'https:\/\/<master IP>:443\/tdc\/hamurapi\/api\/v2\/admin\/config\/appName\/<release-name>\/appVersion\/<version>\/configName\/walm-config' \\\n  -H 'accept: *\/*'\n\u672c\u6b21\u793a\u4f8b\uff1a\ncurl -X 'GET' \\\n  'https:\/\/tdc-1:443\/tdc\/hamurapi\/api\/v2\/admin\/config\/appName\/clus-3-metastore-8-37-2-121625850\/appVersion\/8.37.2\/configName\/walm-config' \\\n  -H 'accept: *\/*'<\/code><\/pre>\n<p>\u5176\u4e2dversion\u4fe1\u606f\u4e3a\uff1a<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746672746208.png\" alt=\"file\" \/><\/p>\n<h5>7 \u4fee\u6539walm-config\u4f9d\u8d56<\/h5>\n<p>\u4ecd\u7136\u662f\u4fee\u6539 dependencies\uff0c\u5982\u4e0b\u793a\u4f8b\uff1a<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746673257819.png\" alt=\"file\" \/><br \/>\n\u4fee\u6539\u4e3a\uff1a<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746673317496.png\" alt=\"file\" \/><\/p>\n<p>\u5982\u679c\u662f\u4ece\u524d\u53f0\u83b7\u53d6\uff0c\u9700\u8981\u5c06\u4fee\u6539\u5b8c\u6210\u540e\u5c06 walm-config \u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002\u53ef\u4ee5\u4f7f\u7528https:\/\/codebeautify.org\/json-encode-online \u8fd9\u7c7b\u5de5\u5177\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746685512349.png\" alt=\"file\" \/><\/p>\n<h5>8 \u5c06\u4fee\u6539\u540e\u7684\u5185\u5bb9\u6574\u7406\u5230\u4ee5\u4e0bwalm-config\u7ed3\u6784\u4f53\u4e2d\uff1a<\/h5>\n<pre><code class=\"language-shell\">{\n  \"appName\": \"clus-158-terminal-9-0-0-c1196e5b\", \/\/ release name\n  \"appVersion\": \"9.0.0\", \/\/ \u7ec4\u4ef6\u7248\u672c\n  \"namespace\": \"slave\", \/\/ \u5b9e\u4f8b\u6240\u5728\u7684 namespace\n  \"configSeName\": \"walm-config\",\n  \"format\": \"JSON\",  \/\/ \u5982\u679cwalm-config\u662f\u4ece\u540e\u53f0\u83b7\u53d6\u7684\uff0c\u8fd9\u91cc\u8bf7\u7ef4\u6301\u552f\u4e00\u6027\uff0c\u53ea\u4fdd\u7559\u4e00\u4e2aformat\u5b57\u6bb5\u3002\n  \"text\": \"{}\", \/\/ \u8fd9\u91cc\u5199\u4fee\u6539\u8fc7\u540e\u7684walm-config \uff08\u5982\u679c\u662f\u4ece\u540e\u53f0\u83b7\u53d6\uff0c\u53ef\u4ee5\u76f4\u63a5\u4fee\u6539\u540e\u8986\u76d6\uff09\n  \"operator\": \"admin\"\n}<\/code><\/pre>\n<p>\u672c\u4f8b\u5e94\u8be5\u4fee\u6539\u4e3a<\/p>\n<pre><code class=\"language-shell\">{\n  \"appName\": \"clus-3-metastore-8-37-2-121625850\",\n  \"appVersion\": \"8.37.2\",\n  \"namespace\": \"szzl\",\n  \"configSeName\": \"walm-config\",\n  \"format\": \"JSON\",\n  \"text\": \"{\\r\\n  \\\"chart_name\\\" : \\\"metastore\\\",\\r\\n  \\\"chart_version\\\" : \\\"8.37.2\\\",\\r\\n  \\\"chart_appVersion\\\" : \\\"8.37.2\\\",\\r\\n  \\\"name\\\" : \\\"clus-3-metastore-8-37-2-121625850\\\",\\r\\n  \\\"config_values\\\" : {\\r\\n    \\\"Customized_Instance_Selector\\\" : { },\\r\\n    \\\"Customized_Namespace\\\" : \\\"\\\",\\r\\n    \\\"Transwarp_License_Address\\\" : \\\"zookeeper-s4zx9-0.zookeeper-s4zx9.kube-system.svc:2191,zookeeper-s4zx9-1.zookeeper-s4zx9.kube-system.svc:2191,zookeeper-s4zx9-2.zookeeper-s4zx9.kube-system.svc:2191\\\",\\r\\n    \\\"Transwarp_Config\\\" : {\\r\\n      \\\"security\\\" : {\\r\\n        \\\"auth_type\\\" : \\\"kerberos\\\",\\r\\n        \\\"guardian_principal_user\\\" : \\\"hive\\\",\\r\\n        \\\"guardian_principal_host\\\" : \\\"tos_szzl\\\",\\r\\n        \\\"guardian_spnego_principal_user\\\" : \\\"HTTP\\\",\\r\\n        \\\"guardian_spnego_principal_host\\\" : \\\"tos_szzl\\\",\\r\\n        \\\"guardian_permission_component\\\" : \\\"clus-3-metastore-8-37-2-121625850\\\",\\r\\n        \\\"guardian_plugin_enable\\\" : \\\"true\\\",\\r\\n        \\\"cas_plugin_enable\\\" : \\\"true\\\",\\r\\n        \\\"sssd_plugin_enable\\\" : \\\"false\\\"\\r\\n      },\\r\\n      \\\"Transwarp_Auto_Injected_Volumes\\\" : [ {\\r\\n        \\\"name\\\" : \\\"kerberos\\\",\\r\\n        \\\"secretname\\\" : \\\"clus-3-metastore-8-37-2-121625850\\\",\\r\\n        \\\"volumeName\\\" : \\\"keytab\\\"\\r\\n      } ]\\r\\n    },\\r\\n    \\\"Transwarp_MSL_License_Address\\\" : \\\"https:\/\/licence-server-service.kube-system.svc:60907\/licence\\\",\\r\\n    \\\"Transwarp_App_Name\\\" : \\\"metastore\\\",\\r\\n    \\\"Transwarp_Registry_Server\\\" : \\\"10.209.36.1:5000\\\",\\r\\n    \\\"Transwarp_Affinity\\\" : {\\r\\n      \\\"nodeAffinity\\\" : { }\\r\\n    }\\r\\n  },\\r\\n  \\\"dependencies\\\" : {\\r\\n    \\\"hdfs\\\" : \\\"clus-3-hdfs-9-3-1-121625843\\\",\\r\\n    \\\"kundb\\\" : \\\"clus-3-kundb-2-1-5-121625847\\\",\\r\\n    \\\"elasticsearch\\\" : null,\\r\\n    \\\"yarn\\\" : \\\"clus-3-yarn-9-3-1-110329773\\\",\\r\\n    \\\"zookeeper\\\" : \\\"clus-3-zookeeper-9-3-1-121625863\\\",\\r\\n    \\\"guardian\\\" : \\\"szzl-guardian\\\"\\r\\n  },\\r\\n  \\\"release_labels\\\" : {\\r\\n    \\\"project-name\\\" : \\\"clus-3\\\",\\r\\n    \\\"io.transwarp.tdc\/component-class\\\" : \\\"bigdata\\\",\\r\\n    \\\"transwarp.product\\\" : \\\"metastore\\\"\\r\\n  },\\r\\n  \\\"pod_labels\\\" : {\\r\\n    \\\"io.transwarp.tdc\/component-class\\\" : \\\"bigdata\\\",\\r\\n    \\\"transwarp.product\\\" : \\\"metastore\\\",\\r\\n    \\\"io.transwarp.tdc\/reservation-id\\\" : \\\"szzl-clus-3-6b780070-4fb5-44\\\"\\r\\n  },\\r\\n  \\\"release_pretty_params\\\" : {\\r\\n    \\\"commonConfig\\\" : {\\r\\n      \\\"roles\\\" : [ {\\r\\n        \\\"name\\\" : \\\"metastore\\\",\\r\\n        \\\"description\\\" : \\\"metastore\\\",\\r\\n        \\\"description_en\\\" : \\\"\\\",\\r\\n        \\\"baseConfig\\\" : [ {\\r\\n          \\\"variable\\\" : \\\"image\\\",\\r\\n          \\\"type\\\" : \\\"string\\\",\\r\\n          \\\"default\\\" : \\\"transwarp\/quark:quark-8.37.2-final\\\",\\r\\n          \\\"description\\\" : \\\"\u955c\u50cf\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"priority\\\",\\r\\n          \\\"type\\\" : \\\"number\\\",\\r\\n          \\\"default\\\" : 0,\\r\\n          \\\"description\\\" : \\\"\u4f18\u5148\u7ea7\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"replicas\\\",\\r\\n          \\\"type\\\" : \\\"number\\\",\\r\\n          \\\"default\\\" : 2,\\r\\n          \\\"description\\\" : \\\"\u526f\u672c\u4e2a\u6570\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"env_list\\\",\\r\\n          \\\"type\\\" : \\\"list\\\",\\r\\n          \\\"default\\\" : [ ],\\r\\n          \\\"description\\\" : \\\"\u989d\u5916\u73af\u5883\u53d8\u91cf\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        }, {\\r\\n          \\\"variable\\\" : \\\"use_host_network\\\",\\r\\n          \\\"type\\\" : \\\"bool\\\",\\r\\n          \\\"default\\\" : false,\\r\\n          \\\"description\\\" : \\\"\u662f\u5426\u4f7f\u7528\u4e3b\u673a\u7f51\u7edc\\\",\\r\\n          \\\"description_en\\\" : \\\"\\\"\\r\\n        } ],\\r\\n        \\\"resouceConfig\\\" : {\\r\\n          \\\"cpu_limit\\\" : 2.0,\\r\\n          \\\"cpu_request\\\" : 0.5,\\r\\n          \\\"memory_limit\\\" : 10.0,\\r\\n          \\\"memory_request\\\" : 1.0,\\r\\n          \\\"gpu_limit\\\" : 0,\\r\\n          \\\"gpu_request\\\" : 0,\\r\\n          \\\"storage\\\" : [ {\\r\\n            \\\"name\\\" : \\\"log\\\",\\r\\n            \\\"type\\\" : \\\"pvc\\\",\\r\\n            \\\"storageClass\\\" : \\\"silver\\\",\\r\\n            \\\"size\\\" : \\\"20.00Gi\\\",\\r\\n            \\\"accessModes\\\" : [ \\\"ReadWriteOnce\\\" ],\\r\\n            \\\"accessMode\\\" : \\\"\\\",\\r\\n            \\\"disk_replicas_enabled\\\" : false,\\r\\n            \\\"disk_replicas\\\" : 1\\r\\n          } ]\\r\\n        }\\r\\n      } ]\\r\\n    },\\r\\n    \\\"transwarpBundleConfig\\\" : [ {\\r\\n      \\\"variable\\\" : \\\"Transwarp_Config.Transwarp_Principal_Suffix\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\".transwarp.local\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Transwarp_Config.macvlan_enabled\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Transwarp_Config.federalApp\\\",\\r\\n      \\\"type\\\" : \\\"boolean\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, { } ],\\r\\n    \\\"advanceConfig\\\" : [ {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"datanucleus.autoCreateSchema\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"datanucleus.autoCreateSchema\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"datanucleus.fixedDatastore\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : true,\\r\\n      \\\"description\\\" : \\\"datanucleus.fixedDatastore\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hbase.client.scanner.caching\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"number\\\",\\r\\n      \\\"default\\\" : 500,\\r\\n      \\\"description\\\" : \\\"hbase.client.scanner.caching\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.aux.jars.path\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"\\\",\\r\\n      \\\"description\\\" : \\\"hive.aux.jars.path\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.exec.compress.intermediate\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : true,\\r\\n      \\\"description\\\" : \\\"hive.exec.compress.intermediate\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.exec.compress.output\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"hive.exec.compress.output\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.exec.dynamic.partition\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"hive.exec.dynamic.partition\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.hwi.war.file\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"lib\/hive-hwi-0.8.1.war\\\",\\r\\n      \\\"description\\\" : \\\"hive.hwi.war.file\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.input.format\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"org.apache.hadoop.hive.ql.io.HiveInputFormat\\\",\\r\\n      \\\"description\\\" : \\\"hive.input.format\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.metastore.execute.setugi\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : true,\\r\\n      \\\"description\\\" : \\\"hive.metastore.execute.setugi\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.server2.logging.operation.enabled\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"bool\\\",\\r\\n      \\\"default\\\" : false,\\r\\n      \\\"description\\\" : \\\"hive.server2.logging.operation.enabled\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"hive.users.in.admin.role\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"hive\\\",\\r\\n      \\\"description\\\" : \\\"hive.users.in.admin.role\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"javax.jdo.option.ConnectionDriverName\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"com.mysql.jdbc.Driver\\\",\\r\\n      \\\"description\\\" : \\\"javax.jdo.option.ConnectionDriverName\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.hive_site[\\\\\\\"mapreduce.framework.name\\\\\\\"]\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"yarn\\\",\\r\\n      \\\"description\\\" : \\\"mapreduce.framework.name\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.javax_jdo_option_connection_password\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"passwd\\\",\\r\\n      \\\"description\\\" : \\\"javax.jdo.option.ConnectionPassword\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.javax_jdo_option_connection_username\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"hiveuser\\\",\\r\\n      \\\"description\\\" : \\\"javax.jdo.option.ConnectionUserName\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.jvm_xmx_factor\\\",\\r\\n      \\\"type\\\" : \\\"number\\\",\\r\\n      \\\"default\\\" : 800,\\r\\n      \\\"description\\\" : \\\"metastore jvm Xmx \u7cfb\u6570, \u914d\u7f6e\u7ed9metastore\u7684JVM\u7684\u6700\u5927\u5806\u5185\u5b58\u8ba1\u7b97\u516c\u5f0f\u4e3a pod\u5185\u5b58limit\u503c * metastore.jvm_xmx_factor\\\",\\r\\n      \\\"description_en\\\" : null\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.database\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"metastore_clus_3\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : \\\"\\\"\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.hive_exec_scratchdir\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"\/user\/clus-3-hive\/tmp\/hive\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : \\\"\\\"\\r\\n    }, {\\r\\n      \\\"variable\\\" : \\\"Advance_Config.metastore.hive_metastore_warehouse_dir\\\",\\r\\n      \\\"type\\\" : \\\"string\\\",\\r\\n      \\\"default\\\" : \\\"\/user\/clus-3-hive\/user\/hive\/warehouse\\\",\\r\\n      \\\"description\\\" : \\\"\\\",\\r\\n      \\\"description_en\\\" : \\\"\\\"\\r\\n    } ]\\r\\n  },\\r\\n  \\\"repo_name\\\" : \\\"stable\\\"\\r\\n}\",\n  \"operator\": \"admin\"\n}<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746685829226.png\" alt=\"file\" \/><\/p>\n<h5>9 \u8fdb\u5165hamurapi api<\/h5>\n<p>\u8fdb\u5165 Hamurapi \u7684 swagger \u9875\u9762\uff1a<br \/>\n\u53c2\u8003<br \/>\nhttps:\/\/<master IP>\/tdc\/hamurapi\/swagger-ui\/index.html   \uff083.2.0\u7248\u672c\u4ee5\u540e\u5148\u6309\u7167wiki\u5f00\u542f swagger TDC \u670d\u52a1 Profile\uff09<br \/>\nhttps:\/\/<master IP>\/tdc\/hamurapi\/swagger-ui\/index.html   \uff083.0.1\u7248\u672c\u4ee5\u540e\uff09<br \/>\nhttps:\/\/<master IP>\/tdc\/hamurapi\/swagger-ui.html   \uff083.0.1\u7248\u672c\u4ee5\u524d\uff09<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746683401621.png\" alt=\"file\" \/><\/p>\n<h5>10 \u901a\u8fc7hamurapi api\u8fdb\u884c\u66f4\u65b0<\/h5>\n<p>\u5728 Server variables \u8f93\u5165 host \u548c ingress\u3002 host \u4e3a tdc master\u7684ip\u5730\u5740\uff0cingress \u4e3a tdc\/hamurapi<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746683564418.png\" alt=\"file\" \/><\/p>\n<p>\u5728 admin-api \u4e0b\u627e\u5230 POST api\/v2\/admin\/config \u8fd9\u4e2a\u7aef\u53e3<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746683623389.png\" alt=\"file\" \/><\/p>\n<p>\u70b9\u51fbtry it out<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746684356415.png\" alt=\"file\" \/><\/p>\n<p>\u5728request body \u4e2d\u586b\u5165\u6b65\u9aa48\u91cc\u9762\u7684walm-config\u7ed3\u6784\u4f53 \u7136\u540e\u70b9\u51fbexecute<br \/>\n\u586b\u5165\uff1a<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746686011271.png\" alt=\"file\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746685989641.png\" alt=\"file\" \/><\/p>\n<p>\u8fd4\u56de200 \u8868\u793a\u4fee\u6539\u6210\u529f<\/p>\n<h5>11 \u67e5\u770bwalm config \u770b\u5230\u4f9d\u8d56\u5df2\u7ecf\u914d\u7f6e\u4e0a<\/h5>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/05\/image-1746689291703.png\" alt=\"file\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u672c\u6587\u63cf\u8ff0\u5982\u4f55\u66f4\u6539TDC\u4e0a\u4ea7\u54c1\u7684\u4f9d\u8d56 \u8be6\u7ec6\u63cf\u8ff0 \u95ee\u9898\u80cc\u666f \u7531\u4e8emetastore\u6ca1\u6709\u6b63\u786e\u4f9d\u8d56\u4e0ayarn ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=16433\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-16433","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/16433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16433"}],"version-history":[{"count":3,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/16433\/revisions"}],"predecessor-version":[{"id":17768,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/16433\/revisions\/17768"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}