跳到主要内容 跳到补充内容

配置 Components Catalog 服务器

步骤

  1. 打开 <Components_Catalog_Path>/config/application.properties 文件。
  2. 要更改为 Components Catalog 端点公开的默认端口,请编辑以下行:
    server.port=8989
  3. 要更改 Components Catalog 端点的上下文路径,请编辑以下行:
    server.contextPath=/tcomp
    请注意,server.contextpathserver.port 属性必须与 <Data_Preparation_Path>/config/application.properties 文件中为 tcomp.server.url 定义的属性相匹配。
  4. 为了支持在 Big Data 环境文中将 Components Catalog 服务器与 Talend Data Preparation 一起使用,请将以下行添加到该文件:
    hadoop.conf.dir=/path/to/Hadoop/configuration/directory
    此属性还可设置为环境变量。环境变量优先于 application.properties 文件中设定的值。
  5. 要将 Components Catalog 服务器与安全 Hadoop 集群 (使用 Kerberos) 一起使用,请将以下行添加到该文件:
    krb5.config=/path/to/Kerberos/configuration/file/krb5.conf
    此属性还可设置为环境变量。环境变量优先于 application.properties 文件中设定的值。
  6. 将您的更改保存到属性文件。
  7. 重新启动 Components Catalog 以使您的更改生效。您可以使用 <Components_Catalog_Path> 文件夹中的 start.sh 脚本完成此操作。

本页面有帮助吗?

如果您发现此页面或其内容有任何问题 – 打字错误、遗漏步骤或技术错误 – 请告诉我们如何改进!