K8S中,Pod一直处于pending状态
在之前的分享中,使用kubeadm创建了一个单节点的Kubernetes:https://blog.vimo.cloud/archives/1696.html 使用yml创建一个nginx的deployment:apiVersion:...
kubeadm安装K8S
官方说明:https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/环境Ubuntu 18.04docker-ce_17.03.02步骤安装Dockerht...
Docker启动提示Failed to start docker.service: Unit docker.service is masked.
环境:Ubutntu启动:systemctl start docker
提示Failed to start docker.service: Unit docker.service is masked.解决方案:
执行如下三条指令sys...
使用Guava实现Map和String之间的转换
在Java开发中,可能会遇到Map和String转换的情况,尤其是在HTTP请求的情况下Guava中提供了Joiner和Splitter,可以方便的实现两者的互转。位于com.google.common.base包下Map转Strin...
非root用户使用Docker
一般来说,我们都是使用root账户权限来运行docker的相关命令,例如docker、docker-compose等The docker daemon binds to a Unix socket instead of a TCP p...
Mac安装字体校验警告 ‘xxx’ table usability
下载字体的文件为 xxx.ttf,双击安装提示校验未全部通过。解决方法:1、下载font editor : http://www.cr8software.net/typex.html2、安装后打开,File--Open 选择要安...
@EnableDiscoveryClient、@EnableEurekaClient的区别
在使用Spring Cloud Eureka服务发现的时候提到了两种注解,一种为@EnableDiscoveryClient,一种为@EnableEurekaClient可参考地址:https://stackoverflow.com/...
Idea启动Main方法报错Class JavaLaunchHelper is implemented in both
在使用Idea启动main方法时,提示Class JavaLaunchHelper is implemented in both Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Co...
hive.metastore.local被弃用
hive.metastore.local
Default Value: true
Added In: Hive 0.8.1
Removed In: Hive 0.10 with HIVE-2585
Controls whe...
在Docker中使用QJM构建高可用的Hadoop集群
本想使用现有的轮子学习Hadoop,但是本着自己动手丰衣足食的心态,还是自己造一个轮子吧。主要的资料来源,最好不过官方文档:http://hadoop.apache.org/docs/stable/hadoop-project-dis...