hbase 优化节点进程停止方式

一、命令

/usr/local/fqlhadoop/hbase/bin/graceful_stop.sh 4.hadoop3.com

日志:

[biadmin@4 ~]$ /usr/local/fqlhadoop/hbase/bin/graceful_stop.sh 4.hadoop3.com
2024-06-24T09:42:27 Disabling load balancer
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2024-06-24T09:42:37 Previous balancer state was true
2024-06-24T09:42:37 Unloading 4.hadoop3.com region(s)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/fqlhadoop/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.
2024-06-24 09:42:38,717 WARN  [main] client.ConnectionImplementation: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:38,748 WARN  [main] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:38,750 WARN  [main] client.AsyncProcess: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:host.name=4.hadoop3.com
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.version=1.8.0_121
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.home=/usr/java/jdk1.8.0_121/jre
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: educe/lib/paranamer-2.3.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.7.5.jar:/usr/local/fqlhadoop/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.5-tests.jar:/usr/local/fqlhadoop/hadoop/contrib/capacity-scheduler/*.jar:/usr/local/fqlhadoop/hbase/lib/client-facing-thirdparty/slf4j-log4j12-1.7.25.jar
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.library.path=/usr/local/fqlhadoop/hadoop/lib/native:/usr/local/fqlhadoop/hadoop/lib/native
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:os.name=Linux
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:os.arch=amd64
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:os.version=2.6.32-642.el6.x86_64
2024-06-24 09:42:38,836 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:user.name=biadmin
2024-06-24 09:42:38,837 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:user.home=/home/biadmin
2024-06-24 09:42:38,837 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Client environment:user.dir=/home/biadmin
2024-06-24 09:42:38,838 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ZooKeeper: Initiating client connection, connectString=1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181 sessionTimeout=180000 watcher=org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient$$Lambda$13/861628141@77b17d3d
2024-06-24 09:42:38,856 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(3.hadoop3.com:2181)] zookeeper.ClientCnxn: Opening socket connection to server 3.hadoop3.com/10.9.21.37:2181. Will not attempt to authenticate using SASL (unknown error)
2024-06-24 09:42:38,863 WARN  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(3.hadoop3.com:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refusedat sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
2024-06-24 09:42:38,978 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(1.hadoop3.com:2181)] zookeeper.ClientCnxn: Opening socket connection to server 1.hadoop3.com/10.9.21.39:2181. Will not attempt to authenticate using SASL (unknown error)
2024-06-24 09:42:38,978 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(1.hadoop3.com:2181)] zookeeper.ClientCnxn: Socket connection established to 1.hadoop3.com/10.9.21.39:2181, initiating session
2024-06-24 09:42:38,982 WARN  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6] zookeeper.ReadOnlyZKClient: 0x00865dd6 to 1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181 failed for get of /hbase/hbaseid, code = CONNECTIONLOSS, retries = 1
2024-06-24 09:42:38,988 INFO  [ReadOnlyZKClient-1.hadoop3.com:2181,2.hadoop3.com:2181,3.hadoop3.com:2181@0x00865dd6-SendThread(1.hadoop3.com:2181)] zookeeper.ClientCnxn: Session establishment complete on server 1.hadoop3.com/10.9.21.39:2181, sessionid = 0x11ebf379aff641b, negotiated timeout = 40000
2024-06-24 09:42:40,881 INFO  [pool-2-thread-1] util.RegionMover: Moving 7 regions from 4.hadoop3.com to 2 servers using 1 threads .Ack Mode:true
2024-06-24 09:42:40,960 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:41,100 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:41,127 INFO  [pool-3-thread-1] util.RegionMover: Moving region:bf87bdf2f592eba2a65f81942e2c963a from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:42,411 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,417 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,426 INFO  [pool-3-thread-1] util.RegionMover: Moved Region t2024,,1710491832830.bf87bdf2f592eba2a65f81942e2c963a. cost:1.542
2024-06-24 09:42:42,427 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,433 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:42,443 INFO  [pool-3-thread-1] util.RegionMover: Moving region:f2b2762c312106000a7fd290f50b889d from 4.hadoop3.com,16020,1712450694709 to 5.hadoop3.com,16020,1718964163316
2024-06-24 09:42:43,657 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,663 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,982 INFO  [pool-3-thread-1] util.RegionMover: Moved Region archi_trace_info_2024-06-21,,1718812998944.f2b2762c312106000a7fd290f50b889d. cost:1.556
2024-06-24 09:42:43,983 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,987 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:43,999 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:44,002 INFO  [pool-3-thread-1] util.RegionMover: Moving region:cf0d46666c7a8ed289b3c5031c9bcd95 from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:46,163 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,167 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,178 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,185 INFO  [pool-3-thread-1] util.RegionMover: Moved Region archi_trace_info_2024-06-23,,1718985801607.cf0d46666c7a8ed289b3c5031c9bcd95. cost:2.203
2024-06-24 09:42:46,185 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,189 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:46,192 INFO  [pool-3-thread-1] util.RegionMover: Moving region:84d6dc8baa202330aeda3ab63c0d6be9 from 4.hadoop3.com,16020,1712450694709 to 5.hadoop3.com,16020,1718964163316
2024-06-24 09:42:47,330 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,335 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,342 INFO  [pool-3-thread-1] util.RegionMover: Moved Region archi_trace_info_2024-06-25,,1719158598133.84d6dc8baa202330aeda3ab63c0d6be9. cost:1.157
2024-06-24 09:42:47,343 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,349 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:47,371 INFO  [pool-3-thread-1] util.RegionMover: Moving region:50637945a7f37725c0ce191ea688fd2e from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:48,523 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,528 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,581 INFO  [pool-3-thread-1] util.RegionMover: Moved Region panda_feature,,1702977799676.50637945a7f37725c0ce191ea688fd2e. cost:1.238
2024-06-24 09:42:48,582 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,585 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:48,592 INFO  [pool-3-thread-1] util.RegionMover: Moving region:882ce86ae6dc43cc91d00cb6dafa2dfa from 4.hadoop3.com,16020,1712450694709 to 5.hadoop3.com,16020,1718964163316
2024-06-24 09:42:49,735 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,739 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,748 INFO  [pool-3-thread-1] util.RegionMover: Moved Region hbase:namespace,,1702977675141.882ce86ae6dc43cc91d00cb6dafa2dfa. cost:1.167
2024-06-24 09:42:49,749 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,753 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:49,757 INFO  [pool-3-thread-1] util.RegionMover: Moving region:8db1d588b3cf6e958db6e06954718904 from 4.hadoop3.com,16020,1712450694709 to 3.hadoop3.com,16020,1718963825877
2024-06-24 09:42:50,898 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:50,901 WARN  [pool-3-thread-1] client.RpcRetryingCallerFactory: The hbase.client.pause.cqtbe setting: 100 is smaller than hbase.client.pause, will use 500 instead.
2024-06-24 09:42:50,909 INFO  [pool-3-thread-1] util.RegionMover: Moved Region portrait_info_fql,,1709101671739.8db1d588b3cf6e958db6e06954718904. cost:1.161
2024-06-24 09:42:50,910 INFO  [pool-2-thread-1] util.RegionMover: No Regions to move....Quitting now
2024-06-24 09:42:50,929 INFO  [main] client.ConnectionImplementation: Closing master protocol: MasterService
2024-06-24T09:42:51 Unloaded 4.hadoop3.com region(s)
2024-06-24T09:42:51 Stopping regionserver on 4.hadoop3.com
running regionserver, logging to /usr/local/fqlhadoop/logs/hbase/hbase-biadmin-regionserver-4.hadoop3.com.out
stopping regionserver.
2024-06-24T09:42:52 Restoring balancer state to true
[biadmin@4 ~]$ 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/bicheng/36942.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

spring boot 3.0.1多模块项目使用nacos动态配置

根pom文件增加&#xff0c;spring-cloud-alibaba包管理&#xff0c;注意版本spring-boot 3.0.3&#xff0c;spring-cloud-alibaba 2022.0.0.0-RC1 <?xml version"1.0" encoding"UTF-8"?> <project xmlns"http://maven.apache.org/POM/4.0…

学习笔记——交通安全分析10

目录 前言 当天学习笔记整理 4信控交叉口交通安全分析 结束语 前言 #随着上一轮SPSS学习完成之后&#xff0c;本人又开始了新教材《交通安全分析》的学习 #整理过程不易&#xff0c;喜欢UP就点个免费的关注趴 #本期内容接上一期09笔记 当天学习笔记整理 4信控交叉口交…

我的创作纪念日学期总结

&#x1f525;个人主页&#xff1a; Forcible Bug Maker &#x1f525;专栏&#xff1a; 关于博主 目录 &#x1f308;前言&#x1f525;我的期末考试&#x1f525;我的学期总结&#x1f525;对未来的展望&#x1f308;结语 &#x1f308;前言 本篇博客主要内容&#xff1a;博…

归并排序和计数排序

目录 1.归并排序1.1递归1.1基本思想1.2算法描述1.3画图解释1.4代码实现 1.2非递归 2.计数排序2.1基本思想2.2算法描述3.画图解释 1.归并排序 1.1递归 1.1基本思想 归并排序是建立在归并操作上的一种有效的排序算法。该算法是采用分治法&#xff08;Divide and Conquer&#xf…

【C++】动态内存管理new和delete

文章目录 一、C的内存管理方式二、new和delete的用法1.操作内置类型2.操作自定义内置类型 三、new和delete的底层实现1.operator new和operator delete函数2.new和delete的实现原理 四、定位new表达式五、malloc/free和new/delete的区别 一、C的内存管理方式 之前在C语言的动态…

kafka(四)消息类型

一、同步消息 1、生产者 同步发送的意思就是&#xff0c;一条消息发送之后&#xff0c;会阻塞当前线程&#xff0c;直至返回 ack。 由于 send 方法返回的是一个 Future 对象&#xff0c;根据 Futrue 对象的特点&#xff0c;我们也可以实现同 步发送的效果&#xff0c;只需在调…

【数据结构】计数排序等排序

&#x1f4e2;博客主页&#xff1a;https://blog.csdn.net/2301_779549673 &#x1f4e2;欢迎点赞 &#x1f44d; 收藏 ⭐留言 &#x1f4dd; 如有错误敬请指正&#xff01; &#x1f4e2;本文由 JohnKi 原创&#xff0c;首发于 CSDN&#x1f649; &#x1f4e2;未来很长&#…

C 语言实例 - 查找数组中最大的元素值

查找数组中最大的元素值。 实例 1 #include <stdio.h>int main() {int array[10] {1, 2, 3, 4, 5, 6, 7, 8, 9, 0};int loop, largest;largest array[0];for(loop 1; loop < 10; loop) {if( largest < array[loop] ) largest array[loop];}printf("最大…

Ubuntu系统中创建桌面快捷方式和添加Favorites

一. Ubuntu系统中创建软件的桌面快捷方式 Ubuntu桌面创建某个软件的桌面快捷方式&#xff0c;一个直观的方法。 方法1. 在图像界面下&#xff0c;一层一层地打开文件目录软件快捷方式/usr/share/applications/ 方法2. 或者在终端运行$ nautilus /usr/share/applications/ …

Django靓号管理系统:实现注销功能和重构视图

1. 重构项目结构 首先,我们需要重构项目结构,以更好地组织代码: 在​​web​​目录下创建一个新的​​views​​目录。在​​views​​目录中创建一个新文件​​account.py​​。删除原来的​​views.py​​文件。这样的结构更有利于代码的模块化和维护。 2. 更新 ​​url…

springcloud-config git配置源加载(部署公钥问题)

使用gitUrl作为配置源 gitee 或者github 中有类似于发布密钥的功能&#xff0c;允许通过私钥只读访问指定的仓库&#xff0c;文档中说的是 限制了git的操作为pull 和 clone。生成私钥的方式文档连接在此 https://gitee.com/help/articles/4181#article-header0 spring config只…

简过网:不懂就要问,什么叫考事业单位编制?

不懂就要问&#xff0c;什么叫考事业单位编制&#xff1f;考事业编就是纳入编制的事业单位招聘考试&#xff0c;本质上是还是一种招聘考试&#xff0c;由于是“铁饭碗”&#xff0c;福利好&#xff0c;待遇高&#xff0c;所以对于事业单位的考试一直受人关注。 ​ 一、什么是事…

深度分析 Apache Hudi:大数据实时处理的利器

什么是 Apache Hudi&#xff1f; Apache Hudi&#xff08;Hadoop Upsert Delete and Incremental&#xff09;是一个开源的数据湖存储框架&#xff0c;旨在在大规模数据集上提供高效的增量数据处理和实时数据更新能力。Hudi 由 Uber 开发&#xff0c;并于 2019 年捐赠给 Apach…

精准校准:深入解析scikit-learn中的StandardScaler

精准校准&#xff1a;深入解析scikit-learn中的StandardScaler 在机器学习中&#xff0c;特征缩放是一个至关重要的预处理步骤&#xff0c;它能够显著影响模型的性能。scikit-learn提供了一个强大的工具——StandardScaler&#xff0c;用于将数据标准化到单位方差和零均值。本…

MQ - RabbitMQ、SpringAMQP --学习笔记

什么是MQ&#xff1f; MQ 是消息队列&#xff08;Message Queue&#xff09;的缩写&#xff0c;它是一种应用程序间异步通信的技术。消息队列允许应用程序或服务间通过发送消息来交换数据&#xff0c;而不是直接调用对方&#xff0c;从而实现解耦、异步处理和负载均衡等目的。…

零成本打造精品宣传册

​随着互联网的发展&#xff0c;企业和个人对宣传册的需求日益增长&#xff0c;然而&#xff0c;高质量的宣传册制作往往需要不菲的成本。那么&#xff0c;如何零成本打造精品宣传册呢&#xff1f; 一、明确定位和目标群体 在制作宣传册之前&#xff0c;首先要明确其定位和目标…

qt pro文件常用配置

概述 记录一下常用的项目pro文件的一些常用配置 常用配置 QT core gui concurrent#添加concurrent并行处理模块 CONFIG windeployqt#打包部署&#xff0c;项目->构建步骤->Make参数 添加windeployqt&#xff0c;编译自动打包greaterThan(QT_MAJOR_VERSION, 4):…

Kafka入门到精通(三)-Kafka

Kafka简介 Kafka是由Apache软件基金会开发的一个开源流处理平台&#xff0c;由Scala和Java编写。Kafka是一种高吞吐量的分布式发布订阅消息系统&#xff0c;它可以处理消费者在网站中的所有动作流数据。 这种动作&#xff08;网页浏览&#xff0c;搜索和其他用户的行动&#xf…

强化学习-3深度学习基础

文章目录 1 强化学习与深度学习的关系2 线性回归3 梯度下降4 逻辑回归5 全连接网络6 更高级的神经网络6.1 卷积神经网络6.2 循环神经网络6.3 transformer 将深度学习和强化学习结合起来&#xff0c;利用深度学习网络强大的拟合能力通过将状态、动作等作为输入&#xff0c;来估计…

JeecgBoot新建模块

引言 jeecg-boot设置了demo, system等默认模块。在二次开发中&#xff0c;常常需要进行模块扩展。比如新增一个订单模块或支付模块。如何准确的新增模块&#xff0c;在此文进行记录。 步骤 新建模块 在项目点击右键&#xff0c;新建模块。 如下图。 注意&#xff1a;报名需…