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