####Hbase数据################
参考:
然而没有卵用:
https://blog.csdn.net/iamlihongwei/article/details/52882749?utm_source=blogxgwz2
https://my.oschina.net/LaravelShao/blog/1803428
####访问地址################
Hbase数据库地址:http://192.168.2.165:16010/master-status
Pinpoint WEB:http://192.168.2.165:18081/pinpoint-web-1.8.0/
###Tomcat配置###############
注意端口号是否重复
日志切割脚本:catalina.sh
###Tomcat访问日志切割##################
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
prefix="tomcat_access_log" suffix=".log"
pattern="{"clientip":"%h","ClientUser":"%l","authenticated":"%u","AccessTime":"%t","method":"%r","status":"","SendBytes":"%b","Query?string":"%q","partner":"%{Referer}i","AgentVersion":"%{User-Agent}i"}"
/>
###Pinpoint监控##############
Hbase: 1.2.8
pinpoint:1.8.0
###探针配置##################
profiler.applicationservertype=SPRING_BOOT
profiler.tomcat.conditional.transform=false
profiler.collector.ip=172.17.149.107
###Web配置##################
路径:/data/server/apache-tomcat-pinpoint-web/webapps/pinpoint-web-1.8.0/WEB-INF/classes
cluster.zookeeper.address=localhost
config.enable.serverMapRealTime=true
###收集器##################
cluster.zookeeper.address=localhost
cluster.listen.ip=
cluster.listen.port=
###Hbase数据库############
Hbase重启失败:https://blog.csdn.net/liudi1993/article/details/77871303
创建/data/server/hbase/data目录
1. vim hbase-env.sh
export JAVA_HOME=/data/server/jdk1.8.0_112
2. vim hbase-site.xml
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
<property>
<name>hbase.rootdir</name>
<value>file:///data/server/hbase/data</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.master.info.port</name>
<value>16010</value>
</property>
3. 创建数据表
./hbase shell hbase-create.hbase
##zookeeper####################
在/data/server/zookeeper目录下创建
data目录
logs目录
vim zoo.cfg
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/data/server/zookeeper/data
dataLogDir=/data/server/zookeeper/logs
clientPort=2182
autopurge.snapRetainCount=50
autopurge.purgeInterval=7