1. jps 查看正在运行的JVM进程 2. jstat 监视虚拟机运行时状态信息,显示虚拟机进程中的类装载、内存、垃圾收集、JIT编译等数据 3. jmap 生成heap dump文件,除了这个命令还可以配置-XX:+HeapDumpOnOutOfMemoryError参数让虚拟机出现OOM时自动 ...
分类:
其他好文 时间:
2021-06-02 16:01:06
阅读次数:
0
问题描述:springboot整合hive-jdbc时,pom文件加入hive-client依赖,eclipse启动,项目正常启动,访问正常。打成jar包放到服务器启动正常,访问报错如下: org.apache.jasper.JasperException: /views/public.jsp(3, ...
分类:
数据库 时间:
2021-06-02 15:44:58
阅读次数:
0
场景在当前项目中,因为之前使用数据库查询,而随着数据的增多,查询速度会越来越慢,所以需要使用Java来调用hive进行数据统计。本篇博文主要是使用springboot+hive来查询hive数据,并返回查询的数据结果。 环境软件 版本springboot 2.1.8.RELEASECDH 5.15. ...
分类:
编程语言 时间:
2021-06-02 15:43:55
阅读次数:
0
1.安装启动检查Mysql服务。netstat -tunlp (3306) 2.spark 连接mysql驱动程序。–cp /usr/local/hive/lib/mysql-connector-java-5.1.40-bin.jar /usr/local/spark/jars 3.启动 Mysql ...
分类:
数据库 时间:
2021-06-02 15:40:05
阅读次数:
0
https://hyperledger-fabric.readthedocs.io/en/latest/readwrite.html Read-Write set semantics This document discusses the details of the current impleme ...
分类:
其他好文 时间:
2021-06-02 15:28:52
阅读次数:
0
最大连接数 show variables like '%max_connections%'; 最大连接数 对于并发编程了解过的人知道,这个151不是越大越好,一般来说设置为 最大连接数 = cpu X 2 会比较合适, 因为受 IO 影响,连接数越大,反而越会占用IO,所以设置过大也可能导致性能降低 ...
分类:
数据库 时间:
2021-06-02 15:17:51
阅读次数:
0
安装启动检查Mysql服务。 netstat -tunlp (3306) spark 连接mysql驱动程序。 –cp /usr/local/hive/lib/mysql-connector-java-5.1.40-bin.jar /usr/local/spark/jars 启动 Mysql she ...
分类:
数据库 时间:
2021-06-02 15:02:56
阅读次数:
0
安卓11有权限要求,以下方法管用 //跳转到相机 private void showCamera() { File fileDir = new File(Environment.getExternalStorageDirectory(),"Pictures"); if (!fileDir.exist ...
分类:
移动开发 时间:
2021-06-02 14:56:05
阅读次数:
0
repo sync --helpUsage: repo sync [<project>...] Options: -h, --help show this help message and exit显示此帮助消息并退出 -f, --force-broken continue sync even if ...
分类:
其他好文 时间:
2021-06-02 14:35:51
阅读次数:
0
1:html <div class="bd7 flex-row"> <span class="word3 flex-col" v-for="(item, index) in datalist" :class="currentClass(index)" v-on:click="jgClick(item ...
分类:
其他好文 时间:
2021-06-02 13:14:41
阅读次数:
0