自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(55)
  • 资源 (1)
  • 收藏
  • 关注

原创 原生JS实现循环滚动,鼠标移动暂停

【代码】原生JS实现循环滚动,鼠标移动暂停。

2023-08-17 19:26:22 522

原创 JQuery总结

【代码】JQuery总结。

2023-07-25 10:07:40 151

原创 Failed to resolve component: el-submenu this is a native custom element, make sure to exclude i

在elementUI里的标签对应的是elementPlus中的但elementPlus和elementUI的标签有些是有差异的。vue3.0使用elementPlus。

2022-07-21 16:26:53 3674 2

原创 vue3引入elementui报错Uncaught TypeError: Cannot read property ‘prototype‘ of undefined at eval (types.js

app.js:269 Uncaught TypeError: Cannot read property 'prototype' of undefined at eval (types.js?8ad0:39) at Object../node_modules/element-ui/lib/utils/types.js (chunk-vendors.js:889) at __webpack_require__ (app.js:266) at fn (app.js:522) ...

2022-07-20 16:07:12 2463

原创 vue-router下载、安装和配置

vue-router下载、安装和配置

2022-07-20 14:55:38 5028

原创 oracle11g版本详细安装教程及报错解决

【INS-13001】环境不满足最低要求未找到文件 D:\app\Administrator\product\11.2.0\dbhome_2\owb\external\oc4j_ap

2022-07-07 15:26:26 2842

原创 sql中on、where、having的区别

Unknown column 'DEPTNO' in 'having clause'

2022-06-26 18:39:56 793

原创 SpringBootApplication注解含义,SpringBoot如何实现自动配置

SpringBootApplication注解含义,SpringBoot如何实现自动配置。@SpringBootConfiguration、@EnableAutoConfiguraion、@Target @Retention@Ducumented@Inherited、@Import({AutoConfigurationImportSelector.class})

2022-06-16 16:43:06 182

原创 Spring、Springboot的作用、微服务和分布式的概念区别

Spring、Springboot的作用、微服务和分布式的概念区别

2022-06-13 16:56:56 433

原创 vue中监听的实现和写法

vue中监听的实现和写法

2022-06-06 16:39:58 298

原创 Vue项目引入外部js中的全部方法

方法一<script language="JavaScript" src="xx/xx.js"></script>方法二前提fun.js 文件需要将方法exportimport * as fun from 'xx/fun'Vue.prototype.$fun= fun通过this.$tools.{方法名} 调用

2022-05-11 10:22:16 2388

原创 git初始化步骤

1.i初始化git init2.addgit add .3.commitgit commit -m "备注"4.pullgit pull <地址> master或者git pull <地址> <远程分支名>:<本地分支名>5.pushgit push <地址> master

2022-05-10 12:23:19 1047

原创 vue的json格式化工具json-viewer

效果下载插件npm install --save default-passive-eventsvue页面引入import JsonViewer from 'vue-json-viewer'注册组件export default {components: { JsonViewer },data() { return { jsonData: [] } }}HTML<json-viewer

2022-05-09 14:16:59 2228

原创 el-tree展示elasticsearch的索引信息

Elasticsearch获取所有索引json格式的名称、大小、总数信息kibanaGET _cat/indices?v&h=index,docs.count,store.size&bytes=kb&format=json&pretty前端XX.XX.XX.XX:9200/_cat/indices?v&h=index,docs.count,store.size&bytes=kb&format=json&pretty..

2022-05-07 15:10:23 875

原创 IDEA初始化项目配置

1.2.3.

2022-04-30 12:59:49 545

原创 纯前端js,axios实现elasticsearch数据高亮显示

1.分析解决办法kibana发送请求,在全部索引数据中查询所有包含"你好"的数据,并高亮显示查看结果我们发现含有高亮的标签并不在"_source"里面,而是在"highlight"里面。如果我们想只通过"_source"数据直接展示,那么方法很简单就是拿"highlight"里面的"name",去覆盖"_source"里面的"name"2.js代码实现覆盖data部分data() { return { total: 0,

2022-04-29 11:34:30 574

原创 axios发送请求到elasticsearch获取全部索引包含关键词的数据

检索全部索引的全部字段是否含有检索词"你好"requestbodylet listQuery ={ query:{ query_string:{ query: "你好" } } from: 0, size: 10 }let esURL = 'http://192.168.0.1:9200'axios写法axios..

2022-04-28 14:54:36 1401 1

原创 The value of the ‘Access-Control-Allow-Origin‘ header in the response must not be the wildcard ‘*‘ w

The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attri

2022-04-27 09:39:46 3211

原创 kibana使用ik分词器插件 用法和介绍

1.ik_smart 最简分词,最少切分GET _analyze{ "analyzer": "ik_smart", "text": "你是什么东西"}2.ik_max_word 最细粒度划分 (做多组合)穷尽组合GET _analyze{ "analyzer": "ik_max_word", "text": "你是什么东西"}3. 添加自定义字典,在config目录下新建custom.dic,自定义字典编辑内容...

2022-04-26 14:40:19 617

原创 elasticsearch 理解

索引相当于数据库字段类型顾名思义文档就相当于具体数据elasticsearch的索引底层是Lucene索引,即倒排索引。elasticsearch创建索引默认5个分片 1个副本分片相当于分布式的应用,将一个大的数据,比如5G 分成每个1G的分片,放到不同的服务器上,检索时取每个服务器上的集合。副本就是备份的意思。一个节点宕机了,其他节点还能继续检索。...

2022-04-26 14:02:37 1533

原创 NVM保姆级安装

1.下载安装之前,如果已安装了node.js,请先卸载已经安装好的node.js如果没有安装过,移步第四步开始看打开控制面板,点击卸载找到并卸载Node.js2.删除环境变量3.在系统变量中找到NODE_HOME删除4.在官网下载Releases · coreybutler/nvm-windows · GitHub5.安装6.更改镜像地址。添加语句node_mirror: https://npm.taobao....

2022-04-26 11:25:53 1288

原创 elasticsearch 集群健康值:未连接

发现 集群健康值:未连接 关闭elasticsearch 和head在elasticsearch的config目录下,编辑elasticsearch.yml添加以下语句:http.cors.enabled: truehttp.cors.allow-origin: "*"http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETEhttp.cors.allow-headers: "X-Requested-With, Con.

2022-04-25 11:43:20 2464

原创 全局安装“grunt“。 ‘grunt‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。

1.首先得安装node.js。下载地址Node.js 中文网傻瓜式安装不做演示。2.记住安装的地址,配置环境变量。没记住也没关系,打开cmd,输入where node3.配置环境变量点击新建NODE_PATH复制该地址并确认找到Path ,点击编辑在末尾加一个; 再复制粘贴地址点击确认。一定要加一个 ;重新打开cmd输入grunt -version...

2022-04-25 10:35:03 4461

原创 在window环境下 ,下载安装Elasticsearch,及其head和kibana

1.第一步下载,这里选择的是7.6.1版本下载。下载链接:Elasticsearch 7.6.1 | Elastic2.解压并双击bin目录下的elasticsearch.bat文件。启动之前需要配置java的环境变量,建议1.8版本。浏览器输入http://localhost:9200/,出现如图所示则成功...

2022-04-24 17:27:52 1453

原创 elasticsearch在window下启动报错warning:ignoring JAVA_HOME=“XXXXX“; using bundled JDK

JDK版本不对。elasticsearch支持JDK1.8的,仅仅是7.17.3及其之前的版本。如果下的最新版本,最低JDK得17及其以上。7.17.3版本下载地址Elasticsearch 7.17.3 | Elastic

2022-04-24 17:21:33 13798 3

原创 原生html+js动态给table赋值+每60s刷新table

1.引入<!-- 引入组件库 --> <script type="text/javascript" src="http://114.55.237.251/js/jquery.js"></script> <script src="http://114.55.237.251/js/jquery.min.js"></script>2.html中写table标签,重点是给标签赋予id<table id="dem

2022-04-13 10:36:40 4567

原创 centos 怎么扩容分区和给/dev/mapper/centos-root 扩容

root账号登陆按步骤执行yum install epel-release #下载epel-releaseyum install gparted #下载gpartedgparted #启动gparted1.2.3.4.5.完成

2022-04-08 16:15:37 1696

原创 Start Timeline Service V2.0 Reader开启失败

原因和解决办法:yarn2需要的内存大小至少是4Gb,报错的原因就是内存不够。如果是用的vmware,将装yarn服务的主机内存大小调到6G就可以解决了。报错:Memory: 4k page, physical 3863576k(157772k free), swap 3145724k(1680636k free)vm_info: Java HotSpot(TM) 64-Bit Server VM (25.321-b07) for linux-amd64 JRE (1.8.0_32

2022-04-02 15:14:03 3186

原创 Hbase Client Install Traceback (most recent call last): File “arbbari-agent/cacheacks/HDP/3.0rvice

报错:Traceback (most recent call last): File "arbbari-agent/cacheacks/HDP/3.0rvices/HBASE/package/scriptsase_client.py", line 69, in <module> HbaseClient().execute() File "/usrbbari-agentb/resource_managementbraries/script/script.py", line 353, ...

2022-04-01 16:33:15 2800

原创 ambari添加安装hive服务和Hbase服务

在非master节点,安装hive元存储。例:如图,如果选择了hdp-3,则在hdp-3上安装。然后点next,点hive,先不配置,等把数据库装好,配置完成再来该页面进行hive的配置此时我们先切换到xshell进行操作,在hdp-3节点安装mysql数据库,这里选择装的mariadbyum install -y mariadb-server将mariadb启动起来,并设置mariadb自启动systemctl start mariadb && s.

2022-04-01 16:12:27 5474

原创 mysql允许其他非本地使用root用户登陆

root用户授权通过本机(localhost)访问,密码“为root”mysql>GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY 'root' WITH GRANT OPTION;root用户授权非本机使用root用户访问,密码“为root”mysql>GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY 'root' WITH GRANT OPTION;

2022-04-01 14:19:32 1209 3

原创 vmware在centos下配置静态固定ip

在本地计算机中查看,并记住ip地址、子网掩码、默认网关在虚拟机中点开设置(setting)选择桥接模式(bridged)保存(save):即和主机网络连接同一级别在虚拟机进入/etc/sysconfig/network-scripts/该目录下,一般是ifcfg-ens33也可能是其他比如ifcfg-Wired_connection_1等等,看个人情况cd /etc/sysconfig/network-scripts/ls编辑该文件vi ifc...

2022-04-01 10:46:06 3602

原创 linux环境更新替换jdk不生效

rm -f /usr/bin/javasource /etc/profile#最后检查java -version

2022-03-31 16:33:12 1222

原创 错误:软件包: ambari-server-2.7.0.0-897.x86_64(ambari )需要:postgresql-server>=8.1

解决:第一步安装postgresql-serve,且版本大于8.1这里选择postgresql-serve的12版本# 安装存储库 RPM:sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm#按顺序安装如下包,包我已经放到这里,点开自取(http://114.55.237.251/postgresql

2022-03-30 11:56:57 1503

原创 redis批量get和set

//批量set数据 redisTemplate.executePipelined(new RedisCallback<String>() { @Override public String doInRedis(RedisConnection connection) throws DataAccessException { for (int i=0;i<list..

2022-03-21 11:32:35 2073

原创 Gson将json转list集合(内含map实体类)

Gson gson = new Gson();ArrayList<CompareBean> dictionary = gson.fromJson(rule.getExtend6(),new TypeToken<List<CompareBean>>() {}.getType());

2022-03-18 14:09:17 1058

原创 generatorConfig.xml

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"><generatorConfiguration&.

2022-03-08 11:50:04 1217

原创 errors and 0 warnings potentially fixable with the `--fix` option

解决方法1在.eslintrc.js文件中注释掉'@vue/standard'然后重新启动即可解决方法2在.eslintignore文件中,填入"目录地址"选择报warning的文件类型,然后重新启动我的是src/views目录下.vue文件报的warning所以在该文件下,忽略此文件...

2022-03-01 17:19:29 922

原创 npm ERR Maximum call stack size exceeded解决办法

修改镜像npm config set registry https://registry.npm.taobao.orgnpm install

2022-03-01 17:06:03 214

原创 Streamsets Data Controller使用service服务方式启动

具体流程:1.使用以下命令将 tarball 解压缩到所需位置,通常是/opt/local/:tar xf streamsets-datacollector-all-<version>.tgz -C <extraction directory>2.例如,要提取版本4.4.0,请使用以下命令:tar xf streamsets-datacollector-all-4.4.0.tgz -C /opt/local3.创建一个名为 的系统用户和组sdc。sdc用户和组用于

2022-02-17 16:46:29 521

window版本elasticsearch+elasticsearch-head-maste+kibana+ik分词器

window版本elasticsearch+elasticsearch-head-maste+kibana+ik分词器 支持win7、jdk1.8

2022-04-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除