| <!doctype html> |
| <html lang="zh-CN" dir="ltr" class="docs-wrapper docs-doc-page docs-version-1.4.0 plugin-docs plugin-id-default docs-doc-id-development/directory-structure"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="generator" content="Docusaurus v2.2.0"> |
| <title data-rh="true">目录结构 | Apache Linkis</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://linkis.apache.org/zh-CN/docs/1.4.0/development/directory-structure"><meta data-rh="true" name="docusaurus_locale" content="zh-CN"><meta data-rh="true" name="docsearch:language" content="zh-CN"><meta data-rh="true" name="docusaurus_version" content="1.4.0"><meta data-rh="true" name="docusaurus_tag" content="docs-default-1.4.0"><meta data-rh="true" name="docsearch:version" content="1.4.0"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-1.4.0"><meta data-rh="true" property="og:title" content="目录结构 | Apache Linkis"><meta data-rh="true" name="description" content="Linkis代码层级目录结构,以及安装包目录结构和部署后的目录结构说明,如果想详细了解各个模块,请查看Linkis的相关架构设计"><meta data-rh="true" property="og:description" content="Linkis代码层级目录结构,以及安装包目录结构和部署后的目录结构说明,如果想详细了解各个模块,请查看Linkis的相关架构设计"><link data-rh="true" rel="icon" href="/zh-CN/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://linkis.apache.org/zh-CN/docs/1.4.0/development/directory-structure"><link data-rh="true" rel="alternate" href="https://linkis.apache.org/docs/1.4.0/development/directory-structure" hreflang="en"><link data-rh="true" rel="alternate" href="https://linkis.apache.org/zh-CN/docs/1.4.0/development/directory-structure" hreflang="zh-CN"><link data-rh="true" rel="alternate" href="https://linkis.apache.org/docs/1.4.0/development/directory-structure" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://AE29KQB3IA-dsn.algolia.net" crossorigin="anonymous"><link rel="alternate" type="application/rss+xml" href="/zh-CN/blog/rss.xml" title="Apache Linkis RSS Feed"> |
| <link rel="alternate" type="application/atom+xml" href="/zh-CN/blog/atom.xml" title="Apache Linkis Atom Feed"> |
| <link rel="alternate" type="application/json" href="/zh-CN/blog/feed.json" title="Apache Linkis JSON Feed"> |
| |
| |
| |
| <link rel="search" type="application/opensearchdescription+xml" title="Apache Linkis" href="/zh-CN/opensearch.xml"><link rel="stylesheet" href="/zh-CN/assets/css/styles.3e8e01b6.css"> |
| <link rel="preload" href="/zh-CN/assets/js/runtime~main.40411d4a.js" as="script"> |
| <link rel="preload" href="/zh-CN/assets/js/main.b85ef3f0.js" as="script"> |
| </head> |
| <body class="navigation-with-keyboard"> |
| <script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus"> |
| <div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/zh-CN/"><div class="navbar__logo"><img src="/zh-CN/img/logo.png" alt="Apache Linkis Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/zh-CN/img/logo.png" alt="Apache Linkis Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Apache Linkis</b></a><a class="navbar__item navbar__link" href="/zh-CN/download/main">下载</a><a class="navbar__item navbar__link" href="/zh-CN/community/how-to-subscribe">社区</a><a class="navbar__item navbar__link" href="/zh-CN/blog">博客</a><a class="navbar__item navbar__link" href="/zh-CN/team">团队</a><a class="navbar__item navbar__link" href="/zh-CN/user">用户</a><a href="https://docs.qq.com/doc/DUkdTTGhVSlZ0VXVt" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">FAQ</a><div class="navbar__item dropdown dropdown--hoverable"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">Apache</a><ul class="dropdown__menu"><li><a href="https://www.apache.org/" target="_blank" rel="noopener noreferrer" class="dropdown__link">基金会</a></li><li><a href="https://www.apache.org/licenses/" target="_blank" rel="noopener noreferrer" class="dropdown__link">证书</a></li><li><a href="https://www.apache.org/events/current-event" target="_blank" rel="noopener noreferrer" class="dropdown__link">事件</a></li><li><a href="https://www.apache.org/security/" target="_blank" rel="noopener noreferrer" class="dropdown__link">安全</a></li><li><a href="https://www.apache.org/foundation/sponsorship.html" target="_blank" rel="noopener noreferrer" class="dropdown__link">赞助</a></li><li><a href="https://privacy.apache.org/policies/privacy-policy-public.html" target="_blank" rel="noopener noreferrer" class="dropdown__link">Privacy</a></li><li><a href="https://www.apache.org/foundation/thanks.html" target="_blank" rel="noopener noreferrer" class="dropdown__link">致谢</a></li></ul></div></div><div class="navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">文档</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/zh-CN/docs/latest/about/introduction">1.6.0</a></li><li><a class="dropdown__link" href="/zh-CN/docs/1.5.0/about/introduction">1.5.0</a></li><li><a class="dropdown__link" href="/zh-CN/docs/1.4.0/about/introduction">1.4.0</a></li><li><a class="dropdown__link" href="/zh-CN/docs/1.7.0/about/introduction">Next(1.7.0)</a></li><li><a class="dropdown__link" href="/zh-CN/versions">All Version</a></li></ul></div><a href="https://github.com/apache/linkis" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link header-github-link" aria-label="GitHub"></a><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_nlXk"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>简体中文</a><ul class="dropdown__menu"><li><a href="/docs/1.4.0/development/directory-structure" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="en">English</a></li><li><a href="/zh-CN/docs/1.4.0/development/directory-structure" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" lang="zh-CN">简体中文</a></li></ul></div><div class="searchBox_ZlJk"><button type="button" class="DocSearch DocSearch-Button" aria-label="搜索"><span class="DocSearch-Button-Container"><svg width="20" height="20" class="DocSearch-Search-Icon" viewBox="0 0 20 20" aria-hidden="true"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"></path></svg><span class="DocSearch-Button-Placeholder">搜索</span></span><span class="DocSearch-Button-Keys"></span></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0 docsWrapper_BCFX"><button aria-label="回到顶部" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"><div class="sidebar_njMd"><nav class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/about/introduction">关于 Linkis</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/feature/overview">版本特性</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/quick/live-demo">快速体验</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/deployment/deploy-quick">部署指南</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/user-guide/how-to-use">使用指南</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/engine-usage/overview">引擎使用</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/auth/ldap">安全认证</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/api/overview">API</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/architecture/overview">架构设计</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret menu__link--active" aria-expanded="true" href="/zh-CN/docs/1.4.0/development/directory-structure">开发指南</a></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" tabindex="0" href="/zh-CN/docs/1.4.0/development/directory-structure">目录结构</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/build">后端编译</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/build-console">管理台编译</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/build-docker">Docker 编译</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/debug">调试 Debug 指引</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/debug-with-helm-charts">容器化开发调试</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/new-engine-conn">如何实现新引擎</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/new-microservice">如何实现新的微服务</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/swwager">Swagger 注解使用</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/zh-CN/docs/1.4.0/development/config">配置参数介绍</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.4.0/development/development-specification/overview">开发规范</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/zh-CN/docs/1.4.0/development/table/all">表结构</a></div></li></ul></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/tuning-and-troubleshooting/overview">调优排障</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/zh-CN/docs/1.4.0/upgrade/upgrade-from-0.X-to-1.0-guide">升级指南</a></div></li></ul></nav></div></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="theme-doc-version-banner alert alert--warning margin-bottom--md" role="alert"><div>This is documentation for <!-- -->Apache Linkis<!-- --> <b>1.4.0</b>, 非最新版本。</div><div class="margin-top--md">有关最新文档,请参阅最新稳定版本<b><a href="/zh-CN/docs/latest/development/directory-structure">latest version</a></b> (<!-- -->1.6.0<!-- -->).</div></div><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="页面路径"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="主页面" class="breadcrumbs__link" href="/zh-CN/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_OVgt"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li class="breadcrumbs__item"><span class="breadcrumbs__link">开发指南</span><meta itemprop="position" content="1"></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">目录结构</span><meta itemprop="position" content="2"></li></ul></nav><span class="theme-doc-version-badge badge badge--secondary">版本:1.4.0</span><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>目录结构</h1></header><blockquote><p>Linkis代码层级目录结构,以及安装包目录结构和部署后的目录结构说明,如果想详细了解各个模块,请查看<a href="/zh-CN/docs/1.4.0/architecture/overview">Linkis的相关架构设计</a></p></blockquote><h2 class="anchor anchorWithStickyNavbar_LWe7" id="1-源码目录结构">1. 源码目录结构<a class="hash-link" href="#1-源码目录结构" title="Direct link to heading"></a></h2><div class="language-html codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-html codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── docs</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── configuration //linkis所有模块的配置项文档</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── errorcode //linkis所有模块的错误码文档</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-commons //核心抽象,里面放有所有的公用模块</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-common //通用模块,内置很多通用工具类</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-hadoop-common</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-httpclient //Java SDK顶层接口 对httpclient的进一步封装</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-module // linkis的服务顶层公用模块 涉及到服务启动时的参数和服务初始化 统一的Restful处理 登录态校验等</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mybatis //SpringCloud的Mybatis模块</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-protocol //服务请求/响应的一些接口和实体类</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-rpc //RPC模块,基于Feign实现的复杂双向通信</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-scheduler //通用调度模块</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-storage //文件操作工具集</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-computation-governance //计算治理服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-client //Java SDK,用户通过Client可直接访问Linkis</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-computation-governance-common</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-engineconn</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-engineconn-manager</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-entrance //通用底层entrance模块</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-jdbc-driver //可以类似jdbc sdk方式连接使用linkis</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-manager</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-dist //编译打包最后阶段步骤 整合所有lib包和安装部署脚本配置等</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── bin</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── checkEnv.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── common.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── install.sh //安装脚本</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── deploy-config</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── db.sh //数据库配置</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── linkis-env.sh //linkis 启动相关配置</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── docker</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── scripts</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── helm</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── charts</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── scripts</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── README_CN.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── README.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── package</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── bin</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── conf</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── db</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── sbin</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── release-docs</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── licenses</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── LICENSE</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── NOTICE</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── src</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── pom.xml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-engineconn-plugins // 引擎 </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── elasticsearch </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── flink</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── hive</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── io_file</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── jdbc</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── openlookeng</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── pipeline</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── presto</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── python</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── seatunnel</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── shell</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── spark</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── sqoop</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-extensions // 扩展功能增强插件模块</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-io-file-client // 对linkis-storage的功能扩展</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-orchestrator //服务的编排</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-code-orchestrator</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-computation-orchestrator</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-orchestrator-core</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-public-enhancements //公共增强服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-basedata-manager</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-bml // 物料库</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-configuration</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-context-service //统一上下文</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-datasource //数据源服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-error-code</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-instance-label</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-jobhistory</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-ps-common-lock</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-script-dev</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-udf</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-variable</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-spring-cloud-services //微服务治理</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-service-discovery</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-service-gateway //网关Gateway</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-web //linkis的管理台代码</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── release-docs</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── licenses</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── LICENSE</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── src</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── config.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── install.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── package.json</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── pom.xml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── vue.config.js</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── tool</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── dependencies</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── known-dependencies.txt</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── regenerate_konwn_dependencies_txt.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── code-style-idea.xml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── license-header</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── modify_license.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── CONTRIBUTING_CN.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── CONTRIBUTING.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-tree.txt</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── mvnw</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── mvnw.cmd</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── pom.xml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── README_CN.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── README.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">└── scalastyle-config.xml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h2 class="anchor anchorWithStickyNavbar_LWe7" id="2-安装包目录结构">2. 安装包目录结构<a class="hash-link" href="#2-安装包目录结构" title="Direct link to heading"></a></h2><blockquote><p>Linkis安装包解压后的目录结构</p></blockquote><p>下载官方发布的<a href="https://linkis.apache.org/zh-CN/download/main" target="_blank" rel="noopener noreferrer">编译完整包</a>,解压后的目录结构如下:</p><div class="language-html codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-html codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── bin</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── checkEnv.sh ── 环境变量检测</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── common.sh ── 部分公共shell函数</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── install.sh ── Linkis安装的主脚本</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── deploy-config</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── db.sh //数据库连接配置</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── linkis-env.sh //相关环境配置信息</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── docker</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── helm</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── licenses </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-package //微服务相关的启动配置文件,依赖,脚本,linkis-cli等</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── bin</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── conf</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── db</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── lib</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── sbin</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── NOTICE</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── LICENSE</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── README_CN.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">└── README.md</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h2 class="anchor anchorWithStickyNavbar_LWe7" id="3-部署后的目录结构">3. 部署后的目录结构<a class="hash-link" href="#3-部署后的目录结构" title="Direct link to heading"></a></h2><p>安装后<code>${LINKIS_HOME}</code>目录结构</p><div class="language-html codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-html codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── bin ── linkis-cli 用于向Linkis提交任务的Shell命令行程序</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cli</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cli-hive</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cli-pre</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cli-spark-sql</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cli-spark-submit</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── linkis-cli-sqoop</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── conf 配置目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── application-eureka.yml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── application-linkis.yml ── 微服务通用yml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineconnmanager.properties</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineplugin.properties</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-entrance.properties</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-linkismanager.properties</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │── linkis-cli</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── linkis-cli.properties</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ └── log4j2.xml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-env.sh ── linkis 环境变量配置</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mg-gateway.properties</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis.properties ── linkis 服务的全局配合,所有微服务启动都会加载使用</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-ps-publicservice.properties</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── log4j2.xml</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── db 数据库DML和DDL文件目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_ddl.sql ── 数据库表定义SQL</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_dml.sql ── 数据库表初始化SQL</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── module ── 包含各个微服务的DML和DDL文件</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── upgrade ── 针对每个版本 增量DML/DDL</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── lib lib目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-commons ── 公共依赖包 大多服务启动时(linkis-mg-gateway除外) -cp 路径参数 都会加载这个目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-computation-governance ──计算治理模块的lib目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-engineconn-plugins ──所有引擎插件的lib目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-public-enhancements ──公共增强服务的lib目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── linkis-spring-cloud-services ──SpringCloud的lib目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── logs 日志目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineconnmanager-gc.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineconnmanager.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineconnmanager.out</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineplugin-gc.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineplugin.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-engineplugin.out</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-entrance-gc.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-entrance.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-entrance.out</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-linkismanager-gc.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-linkismanager.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cg-linkismanager.out</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-cli</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ │ ├── linkis-client.hadoop.log.20220409162400037523664</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mg-eureka-gc.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mg-eureka.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mg-eureka.out</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mg-gateway-gc.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mg-gateway.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-mg-gateway.out</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-ps-publicservice-gc.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis-ps-publicservice.log</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── linkis-ps-publicservice.out</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── pid 所有微服务的进程ID</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_cg-engineconnmanager.pid ──引擎管理器微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_cg-engineconnplugin.pid ──引擎插件微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_cg-entrance.pid ──引擎入口微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_cg-linkismanager.pid ──linkis管理器微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_mg-eureka.pid ──eureka微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ ├── linkis_mg-gateway.pid ──gateway微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">│ └── linkis_ps-publicservice.pid ──公共微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">└── sbin 微服务启停脚本目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> ├── ext ──各个微服务的启停脚本目录</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> ├── linkis-daemon.sh ── 快捷启停、重启单个微服务脚本</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> ├── linkis-start-all.sh ── 一键启动全部微服务脚本</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> └── linkis-stop-all.sh ── 一键停止全部微服务脚本</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><h3 class="anchor anchorWithStickyNavbar_LWe7" id="31--配置项修改">3.1 配置项修改<a class="hash-link" href="#31--配置项修改" title="Direct link to heading"></a></h3><p>在执行完Linkis安装后,所有配置项位于conf目录下, |
| 如果需要进行配置项修改,修改配置<code>${LINKIS_HOME}/conf/*properties</code>文件后,重启对应的服务, |
| 如:<code>sh sbin/linkis-daemon.sh start ps-publicservice</code>。 |
| 如果修改的是公共配置文件<code>application-eureka.yml/application-linkis.yml/linkis.properties</code>,需要重启所有服务<code>sh sbin/linkis-start-all.sh</code></p><h3 class="anchor anchorWithStickyNavbar_LWe7" id="32-微服务启停">3.2 微服务启停<a class="hash-link" href="#32-微服务启停" title="Direct link to heading"></a></h3><p>所有微服务名称如下:</p><div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-cg-engineconnmanager 引擎管理服务 </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-cg-engineplugin 引擎插件管理服务 </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-cg-entrance 计算治理入口服务 </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-cg-linkismanager 计算治理管理服务 </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-mg-eureka 微服务注册中心服务 </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-mg-gateway Linkis网关服务 </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain">├── linkis-ps-publicservice 公共服务 </span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p><strong>微服务简称</strong>:</p><table><thead><tr><th>简称</th><th>英文全称</th><th>中文全称</th></tr></thead><tbody><tr><td>cg</td><td>Computation Governance</td><td>计算治理</td></tr><tr><td>mg</td><td>Microservice Covernance</td><td>微服务治理</td></tr><tr><td>ps</td><td>Public Enhancement Service</td><td>公共增强服务</td></tr></tbody></table><div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#F8F8F2"><span class="token plain"># 一次性启动所有微服务:</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> sh linkis-start-all.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"># 一次性关停所有微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> sh linkis-stop-all.sh</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"># 启动单个微服务(服务名需要去掉linkis前缀如:mg-eureka)</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> sh linkis-daemon.sh start service-name</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> 例如: sh linkis-daemon.sh start mg-eureka</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"># 关闭单个微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> sh linkis-daemon.sh stop service-name</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> 例如: sh linkis-daemon.sh stop mg-eureka</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"># 重启单个微服务</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> sh linkis-daemon.sh restart service-name</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> 例如: sh linkis-daemon.sh restart mg-eureka</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"># 查看单个微服务的状态</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> sh linkis-daemon.sh status service-name</span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> </span><br></span><span class="token-line" style="color:#F8F8F2"><span class="token plain"> 例如: sh linkis-daemon.sh status mg-eureka</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="theme-doc-footer-edit-meta-row row"><div class="col"><a href="https://github.com/apache/linkis-website/edit/dev/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.4.0/development/directory-structure.md" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_Z9Sw" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>编辑</a></div><div class="col lastUpdated_vwxv"></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/zh-CN/docs/1.4.0/architecture/feature/public-enhancement-services/datasource-manager"><div class="pagination-nav__sublabel">上一篇</div><div class="pagination-nav__label">数据源管理服务架构</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/zh-CN/docs/1.4.0/development/build"><div class="pagination-nav__sublabel">下一篇</div><div class="pagination-nav__label">后端编译</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#1-源码目录结构" class="table-of-contents__link toc-highlight">1. 源码目录结构</a></li><li><a href="#2-安装包目录结构" class="table-of-contents__link toc-highlight">2. 安装包目录结构</a></li><li><a href="#3-部署后的目录结构" class="table-of-contents__link toc-highlight">3. 部署后的目录结构</a><ul><li><a href="#31--配置项修改" class="table-of-contents__link toc-highlight">3.1 配置项修改</a></li><li><a href="#32-微服务启停" class="table-of-contents__link toc-highlight">3.2 微服务启停</a></li></ul></li></ul></div></div></div></div></main></div></div><footer class="footer"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Linkis</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/zh-CN/docs/latest/about/introduction">文档</a></li><li class="footer__item"><a class="footer__link-item" href="/zh-CN/faq/main">FAQ</a></li><li class="footer__item"><a href="https://github.com/apache/linkis/releases" target="_blank" rel="noopener noreferrer" class="footer__link-item">版本</a></li></ul></div><div class="col footer__col"><div class="footer__title">社区</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://github.com/apache/linkis" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub</a></li><li class="footer__item"><a href="https://github.com/apache/linkis/issues" target="_blank" rel="noopener noreferrer" class="footer__link-item">Issue Tracker</a></li><li class="footer__item"><a href="https://github.com/apache/linkis/pulls" target="_blank" rel="noopener noreferrer" class="footer__link-item">Pull Requests</a></li></ul></div><div class="col footer__col"><div class="footer__title">订阅邮件组</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/zh-CN/community/how-to-subscribe">如何订阅</a></li><li class="footer__item"><a href="mailto:dev-subscribe@linkis.apache.org" target="_blank" rel="noopener noreferrer" class="footer__link-item">订阅邮件</a></li><li class="footer__item"><a href="https://lists.apache.org/list.html?dev@linkis.apache.org" target="_blank" rel="noopener noreferrer" class="footer__link-item">邮件归档</a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright"><div style="text-align: left;"> |
| <div> |
| <p style="font-family: Avenir-Medium;font-size: 14px;color: #999;line-height: 20px;">Apache Linkis is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.</p> |
| </div> |
| <div style="border-top: 1px solid #ccc;min-height: 60px;line-height: 20px;text-align: center;font-family: Avenir-Medium;font-size: 14px;color: #999;display: flex;align-items: center;"><span>Copyright © 2019-2020 The Apache Software Foundation. Apache Linkis, Linkis, and its feather logo are trademarks of The Apache Software Foundation.</span></div> |
| </div></div></div></div></footer></div> |
| <script src="/zh-CN/assets/js/runtime~main.40411d4a.js"></script> |
| <script src="/zh-CN/assets/js/main.b85ef3f0.js"></script> |
| </body> |
| </html> |