location of cassandra.port in BAM2.2.0

最后都变了- 提交于 2019-12-14 03:53:23

问题


I would like to monitor my application server application using WSO2 BAM. Intially I didn't change the BAM offset address, keep it as by default(ie offset 0) and I changed the application server offset as 2. It seems some problem to show. If I change the offset of BAM server as 2. How can I change the cassandra.port address. I mean the location of the file in BAM 2.2.0 server.

Thanks


回答1:


Cassandra port can be changed from wso2bam-2.2.0/repository/conf/etc/cassandra-component.xml.

But if you change BAM offset to 2, it automatically increases Cassandra port as well, unless you have enabled

<!--Nodes>localhost:9160</Nodes-->

entry in cassandra-component.xml.




回答2:


If Lakmali's answer is not working properly apply the port offsets in,

  1. All Hive scripts, if port numbers are used inside them. (Make sure you use DROP TABLE command before each Hive table's CREATE command, if you update the script in the same BAM pack without extracting a fresh pack.)
  2. Cassandra port numbers in wso2bam-2.2.0/repository/conf/datasources/master-datasources.xml file.


来源:https://stackoverflow.com/questions/15675295/location-of-cassandra-port-in-bam2-2-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!