<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[yamanda的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/yamanda</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; yamanda]]></copyright><item><title><![CDATA[Influxdb 中的delta-of-delta编码]]></title><link>https://blog.csdn.net/yamanda/article/details/106894367</link><guid>https://blog.csdn.net/yamanda/article/details/106894367</guid><author>yamanda</author><pubDate>Mon, 22 Jun 2020 00:55:47 +0800</pubDate><description><![CDATA[定义

时序数据库中常见的一种时间戳或者数值压缩方法，可以极大地降低数据存储的成本和提高数据写入、查询的性能。











参考资料

https://www.jianshu.com/p/224103167ddb
]]></description><category></category></item><item><title><![CDATA[golang channel传递map]]></title><link>https://blog.csdn.net/yamanda/article/details/100057006</link><guid>https://blog.csdn.net/yamanda/article/details/100057006</guid><author>yamanda</author><pubDate>Sat, 24 Aug 2019 20:58:05 +0800</pubDate><description><![CDATA[好久不上博客了～～～

最近在研究golang，关于通道中传递不同类型的数据，按理说通道中传递的都是值的副本，对于值类型的数据，比如int、string等接收方的修改不会影响到发送方的数据，但是对于map、channel、切片这些引用类型的数据，修改接收方的值也会修改发送方发送的值。

1、先使用key为string，value为int的map，发现会有影响

2、使用key为string，val...]]></description><category></category></item><item><title><![CDATA[Docker只有两个容器之间通信，而不被外部发现]]></title><link>https://blog.csdn.net/yamanda/article/details/91403748</link><guid>https://blog.csdn.net/yamanda/article/details/91403748</guid><author>yamanda</author><pubDate>Mon, 10 Jun 2019 22:06:30 +0800</pubDate><description><![CDATA[docker 容器启动的时候默认--net=bridge，即将容器绑定到docker网桥上，此时在宿主机上可以ping通该容器，有时候我们就像让两个容器之间可以通信，而不被外界所发现，则可以这样做：


#本次操作以两个centos容器为例进行
#首先启动两个容器，并设置--net=none，这样就不会自动将容器绑定到docker0上了
docker run --name centos1 --ne...]]></description><category></category></item><item><title><![CDATA[Vue实现简易购物车系统]]></title><link>https://blog.csdn.net/yamanda/article/details/91345356</link><guid>https://blog.csdn.net/yamanda/article/details/91345356</guid><author>yamanda</author><pubDate>Sat, 08 Jun 2019 16:01:22 +0800</pubDate><description><![CDATA[&lt;div id="carts"&gt;
        &lt;h1&gt;购物车系统&lt;/h1&gt;
        &lt;table&gt;
            &lt;tr&gt;
                &lt;th&gt;序号&lt;/th&gt;
                &lt;th&gt;商品名称&lt;/th&gt;
              ...]]></description><category></category></item><item><title><![CDATA[SpringBoot配置Redis序列化]]></title><link>https://blog.csdn.net/yamanda/article/details/90705972</link><guid>https://blog.csdn.net/yamanda/article/details/90705972</guid><author>yamanda</author><pubDate>Thu, 30 May 2019 21:12:39 +0800</pubDate><description><![CDATA[SpringBoot默认使用jdkSerialize方式对存入redis中的内容进行序列化，比如你要存入的key是"hello"，而存入redis之后key成了\xo\12\xxx\hello这种类型的值，这显然不能用，因此我们需要自己配置redisTemplate，以下是RedisConfig.java文件

！！！！！！！！！！！！！！！！本人使用的版本是1.5.21，注意版本啊，都是泪！！！...]]></description><category></category></item><item><title><![CDATA[@OneToMany、@OneToOne、@ManyToMany中的cascade和fetch]]></title><link>https://blog.csdn.net/yamanda/article/details/90613435</link><guid>https://blog.csdn.net/yamanda/article/details/90613435</guid><author>yamanda</author><pubDate>Mon, 27 May 2019 22:40:42 +0800</pubDate><description><![CDATA[cascade：级联操作权限

CascadeType.PERSIST：级联持久化，也就是级联保存。比如一个学生有很多门成绩，保存学生了，那么也就会级联保存各门成绩信息

CascadeType.REMOVE：级联删除，删除学生了，那么学生的成绩也从数据库中删除

CascadeType.MERGE：级联合并，修改学生成绩信息了，那么修改的成绩信息会保存到数据库中，和上面persist的区别类似于...]]></description><category></category></item><item><title><![CDATA[feign.FeignException: status 400 reading LoginRegistryService#login(String,String); content:]]></title><link>https://blog.csdn.net/yamanda/article/details/90487524</link><guid>https://blog.csdn.net/yamanda/article/details/90487524</guid><author>yamanda</author><pubDate>Thu, 23 May 2019 20:40:02 +0800</pubDate><description><![CDATA[在使用Feign中血淋淋的教训：

1、在服务消费者一方调用服务时，需要新建一个标有@FeignClient注解的接口，在接口中的方法需要绑定参数，使用@RequestParam和@RequestHeader的时候里面的value属性一定不能省啊！！！！！！省了就报IllegalStateException的异常。

2、调用服务的时候，消费者接口中的@RequestParam注解中的value值...]]></description><category></category></item><item><title><![CDATA[springboot整合mybatis和druid]]></title><link>https://blog.csdn.net/yamanda/article/details/90382694</link><guid>https://blog.csdn.net/yamanda/article/details/90382694</guid><author>yamanda</author><pubDate>Mon, 20 May 2019 22:19:18 +0800</pubDate><description><![CDATA[整合一直出问题，一气之下就把mybatis的东西又看了一遍，争取把里面的配置都做到心中有数，为什么要这么配置，这么配置有什么左右，这个必须弄清楚才行。以下是操作步骤：

一、注解写sql版：

1、配置pom.xml


        //druid依赖
        &lt;dependency&gt;
			&lt;groupId&gt;com.alibaba&lt;/groupId&gt...]]></description><category></category></item><item><title><![CDATA[微服务工程直接导成镜像]]></title><link>https://blog.csdn.net/yamanda/article/details/90345430</link><guid>https://blog.csdn.net/yamanda/article/details/90345430</guid><author>yamanda</author><pubDate>Sun, 19 May 2019 18:13:17 +0800</pubDate><description><![CDATA[完成微服务代码开发之后，最终的目标就是将其放在容器中运行，从代码到镜像的过程需要分成以下几个部分：

1、在pom.xml中添加如下插件


&lt;plugin&gt;
                &lt;groupId&gt;com.spotify&lt;/groupId&gt;
                &lt;artifactId&gt;docker-maven-plugin&l...]]></description><category></category></item><item><title><![CDATA[Rabbitmq | ConnectionException:Connection refused: connect]]></title><link>https://blog.csdn.net/yamanda/article/details/90259921</link><guid>https://blog.csdn.net/yamanda/article/details/90259921</guid><author>yamanda</author><pubDate>Thu, 16 May 2019 11:22:36 +0800</pubDate><description><![CDATA[使用Rabbtimq模拟发送接受消息，在Web界面中新建用户springcloud，tag设置为administer，设置密码为springcloud，启动服务，报错

connection refused


spring.rabbitmq.username=springcloud
spring.rabbitmq.password=springcloud

将用户切换成guest之后重启发现没问...]]></description><category></category></item><item><title><![CDATA[Non-resolvable parent POM,Could not find artifact and 'parent.relativePath' points at no local POM]]></title><link>https://blog.csdn.net/yamanda/article/details/90112110</link><guid>https://blog.csdn.net/yamanda/article/details/90112110</guid><author>yamanda</author><pubDate>Sat, 11 May 2019 17:12:26 +0800</pubDate><description><![CDATA[背景：在idea中启动eureka-server、server-provider、ribbon-consumer无误，准备将其放入容器中运行，打包的时候报错

[FATAL] Non-resolvable parent POM for com.yamanda:eureka_server01:0.0.1-SNAPSHOT: Could not find artifact com.yamanda:sp...]]></description><category></category></item><item><title><![CDATA[I/O error on GET request for "http://HELLO-SERVICE/hello": HELLO-SERVICE;]]></title><link>https://blog.csdn.net/yamanda/article/details/90065546</link><guid>https://blog.csdn.net/yamanda/article/details/90065546</guid><author>yamanda</author><pubDate>Fri, 10 May 2019 15:20:53 +0800</pubDate><description><![CDATA[背景：使用springcloud，服务提供者提供的服务被命名为HELLO-SERVICE，使用ribbon访问服务时，出错

访问服务时使用的时RestTemplate，代码如下


String res = restTemplate.getForObject("http://HELLO-SERVICE/hello?name=" + name,String .class);

意思是识别不出HEL...]]></description><category></category></item><item><title><![CDATA[将jar包注册为Linux服务]]></title><link>https://blog.csdn.net/yamanda/article/details/90024166</link><guid>https://blog.csdn.net/yamanda/article/details/90024166</guid><author>yamanda</author><pubDate>Thu, 09 May 2019 11:08:46 +0800</pubDate><description><![CDATA[背景：打好jar包，并在本地运行java -jar xxx.jar无误

1、修改pom.xml中关于插件的配置信息


&lt;build&gt;
        &lt;plugins&gt;
            &lt;plugin&gt;
                &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
  ...]]></description><category></category></item><item><title><![CDATA[kubernetes node节点加入集群]]></title><link>https://blog.csdn.net/yamanda/article/details/89762156</link><guid>https://blog.csdn.net/yamanda/article/details/89762156</guid><author>yamanda</author><pubDate>Thu, 02 May 2019 16:26:14 +0800</pubDate><description><![CDATA[背景：kubernetes master节点kubeadm init完毕，并且在master节点上启动flannel完成，使用kubectl get nodes 发现master节点处于Ready状态。现在开始执行将node节点加入到集群中的工作，本次操作针对kubernetes:v1.14.1版本，系统centos7

1、设置docker yum源和kubernetes源，推荐使用阿里云的

...]]></description><category></category></item><item><title><![CDATA[failed to pull image k8s.gcr.io/kube-apiserver:v1.14.1: output: Error response from daemon:]]></title><link>https://blog.csdn.net/yamanda/article/details/89741336</link><guid>https://blog.csdn.net/yamanda/article/details/89741336</guid><author>yamanda</author><pubDate>Wed, 01 May 2019 22:46:52 +0800</pubDate><description><![CDATA[背景：kubeadam init 出错，这也是因为某种神秘的力量导致的k8s.gcr.io连接不上，呵呵

解决办法：从dockerhub上收集宝石。。。。

对于v1.14.1版本的，本人已经收集完毕，传送门：https://hub.docker.com/u/yamanda



执行：

kubeadm init --kubernetes-version=v1.14.1 --pod-netw...]]></description><category></category></item><item><title><![CDATA[centos添加kubernetes yum 仓库]]></title><link>https://blog.csdn.net/yamanda/article/details/89738757</link><guid>https://blog.csdn.net/yamanda/article/details/89738757</guid><author>yamanda</author><pubDate>Wed, 01 May 2019 17:08:25 +0800</pubDate><description><![CDATA[背景：由于某种神秘原因，kubernetes境外仓库可能访问特别慢，所以需要配置国内的镜像源，使用阿里云的镜像仓库完成此操作

0、cd /etc/yum.repos.d/

1、vim kubernetes.repo

2、在新创建的kubernetes.repo中输入以下内容


[kubernetes]
name=Kubernetes Repo
baseurl=https://mirrors...]]></description><category></category></item><item><title><![CDATA[docker中不同network容器之间互相通信]]></title><link>https://blog.csdn.net/yamanda/article/details/89468896</link><guid>https://blog.csdn.net/yamanda/article/details/89468896</guid><author>yamanda</author><pubDate>Tue, 23 Apr 2019 12:11:20 +0800</pubDate><description><![CDATA[背景：使用docker network create 命令创建了一个新的桥(docker1，子网地址为172.26.0.0/16，网关是172.26.0.1)，然后启动容器b1连接到docker1上。docker默认的桥bridge（也就是docker0,子网地址为10.0.0.0/16，默认网关为10.0.0.1），然后启动容器b2连接到docker0上，示意图如下所示：



在容器b1和容器...]]></description><category></category></item><item><title><![CDATA[java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.createDirectoryWithMo]]></title><link>https://blog.csdn.net/yamanda/article/details/89056146</link><guid>https://blog.csdn.net/yamanda/article/details/89056146</guid><author>yamanda</author><pubDate>Sat, 06 Apr 2019 15:19:19 +0800</pubDate><description><![CDATA[问题1：java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.createDirectoryWithMo

背景：在Linux服务器上配置好hadoop，对HDFS进行命令行操作正确，运行wordcount Demo正常，但在window上使用Java api进行HDFS测试的时候报错。

0...]]></description><category></category></item><item><title><![CDATA[FILETIME和LARGE_INTEGER]]></title><link>https://blog.csdn.net/yamanda/article/details/89005265</link><guid>https://blog.csdn.net/yamanda/article/details/89005265</guid><author>yamanda</author><pubDate>Wed, 03 Apr 2019 21:28:28 +0800</pubDate><description><![CDATA[需要求从1970年1月1日到现在的微秒时间数值，用到了FILETIME和LARGEINTEGER

首先看一下定义


//FILETIME
typedef struct _FILETIME {
    DWORD dwLowDateTime;
    DWORD dwHighDateTime;
} FILETIME, *PFILETIME, *LPFILETIME;

//LARGE_INTEG...]]></description><category></category></item><item><title><![CDATA[C++函数声明不兼容]]></title><link>https://blog.csdn.net/yamanda/article/details/88957670</link><guid>https://blog.csdn.net/yamanda/article/details/88957670</guid><author>yamanda</author><pubDate>Mon, 01 Apr 2019 21:22:01 +0800</pubDate><description><![CDATA[很大可能是重复声明或者头文件包含有错误
]]></description><category></category></item></channel></rss>