1、找对应的rpm源
https://dev.mysql.com/downloads/repo/yum/
2、rpm -Uvh platform-and-version-specific-package-name.rpm
3、查看mysql版本
yum repolist enabled | grep "mysql.*-community.*"
public class OpenCVUtils { | |
private final static List<List<Integer>> SIX_SIZE = new ArrayList<>(); | |
private final static List<List<Integer>> TEN_SIZE = new ArrayList<>(); | |
static { | |
SIX_SIZE.add(new ArrayList<Integer>() {{ | |
add(0); | |
add(1); | |
}}); |
1、找对应的rpm源
https://dev.mysql.com/downloads/repo/yum/
2、rpm -Uvh platform-and-version-specific-package-name.rpm
3、查看mysql版本
yum repolist enabled | grep "mysql.*-community.*"
! Configuration File for keepalived | |
global_defs { | |
notification_email { | |
381347268@qq.com | |
} | |
smtp_server 192.168.200.1 | |
smtp_connect_timeout 30 | |
router_id LVS_DEVEL | |
} |
rpm -qa | grep jdk | |
java-1.7.0-openjdk-1.7.0.75-2.5.4.2.el7_0.x86_64 | |
java-1.7.0-openjdk-headless-1.7.0.75-2.5.4.2.el7_0.x86_64 | |
然后删除该jdk |
public class MapUdfSample extends GenericUDF { | |
private final Map<Text, Text> resultMap = new LinkedHashMap<Text, Text>(); | |
private final Map<String, String> config_map = new LinkedHashMap<String, String>(); | |
private transient ObjectInspector[] argumentOIs; | |
public void initConfigMap(){ | |
config_map.put("a","100"); |
-- name cost | |
-- a,b,c 1,2,3 | |
-- 转换得 | |
-- name cost | |
-- a 1 | |
-- b 2 | |
-- c 3 | |
create table t_split as select 'a,b,c' name,'1,2,3' cost; |
{ | |
"query": { | |
"nested": { | |
"path": "areaJSon", | |
"query": { | |
"bool": { | |
"must": { | |
"exists": { | |
"field": "areaJSon" | |
} |
import requests | |
import json | |
_header = { | |
'Content-Type': 'application/json', | |
'charset': 'utf-8' | |
} | |
_data = { |
docker pull mysql:5.7
docker run --name local-mysql -p 3308:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7