Centos 7 配置静态IP
https://blog.csdn.net/qq_35871451/article/details/130215666
javaType 与 jdbcType对应关系:
jdbcType 与 javaType 的类型对应
jdbcType javaType
CHAR String
VARCHAR String
LONGVARCHAR String
NUMERIC java.math.BigDecimal
DECIMAL java.math.BigDecimal
BIT boolean
BOOLEAN boolean
TINYINT byte
SMALLINT short
INTEGER INTEGER
BIGINT long
REAL float
FLOAT double
DOUBLE double
BINARY byte[]
VARBINARY byte[]
LONGVARBINARY byte[]
DATE java.sql.Date
TIME java.sql.Time
TIMESTAMP java.sql.Timestamp
CLOB Clob
BLOB Blob
ARRAY Array
DISTINCT mapping of underlying type
STRUCT Struct
REF Ref
DATALINK java.net.URL ...
ubuntu的一些配置命令
虚拟机ubuntu初始化root用户密码第一步:Ctrl+Alt+T打开终端 第二步:输入命令 sudo passwd root 输入当前用户密码 输入所想要设置的root密码 再次输入root密码 第三步:输入命令su 输入root密码即切换至root用户模式下
ssh 配置sudo apt install sshsudo systemctl status ssh
sudo apt install g++ gdb make cmake
Ubuntu如何使用root用户远程登陆这是Ubuntu系统处于安全性的考虑;
我们不能使用root用户远程连接Ubuntu系统的原因是因为,系统内的/etc/ssh/sshd_config配置文件内PermitRootLogin这一行为no决定了我们无法使用root用户远程登陆,所以我们只需要更改这个配置文件的内容
输入cat /etc/ssh/ssh_config命令我们可以查看这个配置文件
可以看到PermitRootLogin yes (这里我已经从no改成yes了)
三、具体操作 ...
大数据平台——数据中台建设实战
大数据平台——数据中台建设实战
业务中台技术体系微服务:服务注册与发现服务配置管理服务网关事件/消息总线负载均衡容错与熔断监控与报警安全和访问控制日志收集与处理
数据中台技术体系Hadoop、Spark:数据采集存储消息队列批处理实时处理作业调度
数据中台具备的能力1.平滑自如的水平伸缩能力,从容面对海量数据2.对资源拥有细粒度的控制能力,支持多任务、多用户下的作业处理3.强大的事实处理能力4.参与业务请求处理的能力5.具备人工智能以及机器学习的数据分析能力6.以数据仓库理论管理和组织各类数据7.对外提供强大的数据服务,支持多种协议的数据传输与交互8.拥有完善的数据治理体系,保障数据质量9.精准的细粒度安全控制集群安装过程1.对每个节点做一些必要的前期处理——环境预配置2.安装MySql集群——安装Galera(MySQL集群),安装Redis3.安装Cloudera Manager,通过Cloudera Manager安装CDH——搭建本地CDH仓库,配置CDN server,安装CDH4.对特定核心服务进行高可用配置架构原型1.Lambda架构将批处理作业和实时流处理作业 ...
Hadoop是一个海量数据存储和计算的平台
Hadoop是一个海量数据存储和计算的平台分布式存储
分布式计算移动计算:把计算程序移动到数据端进行计算
三大核心组件HDFSHDFS负责海量数据的分布式存储 支持主从结构,主节点支持多个NameNode,从节点支持多个DataNode NamdNode负责接收用户请求,维护目录系统的目录结构DateNode主要负责存储数据
MapReduceMapReduce是一个编程模型,主要负责海量数据计算,由Map和Reduce两个阶段组成 Map阶段是一个独立的程序,会在很多个节点同时执行,每个节点处理一部分数据 Reduce阶段是一个单独的聚合程序
YarnYarn负责集群资源的管理和调度,支持主从架构,主节点最多可以有两个,从节点可以有多个 主节点(ResourceManager)进程主要负责集群资源的分配和管理 从节点(NodeManager)主要负责单节点资源管理
Hadoop发行版介绍官方版本:Apache Hadoop 开源,集群安装维护比较麻烦 第三方发行版本:Cloudera hadoop(CDH) 商业版,使用Cloudera Manager安装维护比较方便 第三方发行版本 ...
spark知识点
spark核心模块spark core 提供核心功能,其他功能在此基础上拓展 spark sql 操作结构化数据的组件 spark streaming 针对实时数据进行流式计算的组件 spark mlib 机器学习算法库,提供模型评估、数据导入等功能和一些底层机器学习原语, spark graphx 面向图计算提供的框架与算法库
qt知识点
信号与槽信号(Signal)信号(Signal)就是在特定情况下被发射的事件,例如PushButton 最常见的信号就是鼠标单击时发射的 clicked() 信号,一个 ComboBox 最常见的信号是选择的列表项变化时发射的 CurrentIndexChanged() 信号。
槽(slot)就是对信号响应的函数。槽就是一个函数,与一般的C++函数是一样的,可以定义在类的任何部分(public、private 或 protected),可以具有任何参数,也可以被直接调用。槽函数与一般的函数不同的是:槽函数可以与一个信号关联,当信号被发射时,关联的槽函数被自动执行。
信号与槽关联是用 QObject::connect() 函数实现的,其基本格式是:QObject::connect(sender, SIGNAL(signal()), receiver, SLOT(slot()));参数1、信号的发送者参数2、发送的信号参数3、信号的接收者参数4、处理函数(槽函数)
对话框-模态和非模态模态对话框:不能对其他窗口进行操作非模态对话框:可以对其他窗口进行操作。
windows编程
基础知识程序三种开发方式:SDK方式开发、MFC方式开发、托管方式开发三种方式都是基于消息机制开发
Windows数据类型DWORD、DWORD32——32字节无符号整型数据DWORD64——64字节无符号整型数据INT、INT32、LONG32——32位符号整型数据类型INT_PTR——指向INT类型数据的指针类型INT64、LONG64——64位符号整型
参数类LPARAM——消息的L参数WPARAM——消息的W参数LPCSTR——Windows,ANSI,字符串常量LPCTSTR——根据环境配置,如果定义了UNICODE宏,则是LPCWSTR类型,否则是LPCSTR类型LPCWSTR——UNICODE字符串常量LPDWORD——指向DWORD类型数据的指针LPSTR——Window,ANSI,字符串变量LPTSTR——根据环境配置,如果定义了UNICODE,则是LPWSTR类型,否则是LPSTR类型LPWSTR——UNICODE字符串变量SIZE_T——表示内存大小,以字节为单位,其最大值是CPU最大寻址范围TCHAR——如果定义了UNICODE,则为WCHAR,否则为CHARW ...
C++鐭ヨ瘑鐐�
1.C++鐨勫唴瀛樺垎鍖�鈼忓彲鍒嗕负鍥涘ぇ鍐呭瓨鍒嗗尯锛氬爢銆佹爤銆佸叏灞€/闈欐€佸瓨鍌ㄥ尯鍜屼唬鐮佸尯鈼忓爢鍖猴細鐢辩紪绋嬩汉鍛樻墜鍔ㄧ敵璇凤紝鎵嬪姩閲婃斁锛岃嫢涓嶆墜鍔ㄩ噴鏀撅紝绋嬪簭缁撴潫鍚庣敱绯荤粺鍥炴敹锛岀敓鍛藉懆鏈熸槸鏁翠釜绋嬪簭杩愯鏈熼棿銆備娇鐢╩alloc鎴栬€卬ew杩涜鍫嗙殑鐢宠锛屽爢鐨勬€诲ぇ灏忎负鏈哄櫒鐨勮櫄鎷熷唴瀛樼殑澶у皬 銆�鈼弉ew鍜宮alloc鐨勫尯鍒€俷ew鎿嶄綔绗︽湰璐ㄤ笂鏄娇鐢ㄤ簡malloc杩涜鍐呭瓨鐨勭敵璇凤紝new鍜宮alloc鐨勫尯鍒涓嬶細鈼忥紙1锛塵alloc鏄疌璇█涓殑鍑芥暟锛岃€宯ew鏄疌++涓殑鎿嶄綔绗︺€�鈼忥紙2锛塵alloc鐢宠涔嬪悗杩斿洖鐨勭被鍨嬫槸void*锛岃€宯ew杩斿洖鐨勬寚閽堝甫鏈夌被鍨嬨€�鈼忥紙3锛塵alloc鍙礋璐e唴瀛樼殑鍒嗛厤鑰屼笉浼氳皟鐢ㄧ被鐨勬瀯閫犲嚱鏁帮紝鑰宯ew涓嶄粎浼氬垎閰嶅唴瀛橈紝鑰屼笖浼氳嚜鍔ㄨ皟鐢ㄧ被鐨勬瀯閫犲嚱鏁般€�鈼忔爤鍖猴細鐢辩郴缁熻繘琛屽唴瀛樼殑绠$悊銆備富瑕佸瓨鏀惧嚱鏁扮殑鍙傛暟浠ュ強灞€閮ㄥ彉閲忋€傚湪鍑芥暟瀹屾垚鎵ц锛岀郴缁熻嚜琛岄 ...