13 yexianyi

尚未进行身份认证

Software Engineer @ Cisco

等级
博文 303
排名 3k+

Eureka: example of creating 3 nodes Eureka Server with docker

Abstract:Inthisartical,itwillstatehowtocreate3nodesEurekaServerwithdocker.Step1.CreateEurekaServerSource:https://github.com/yexianyi/Chukonu/tree/master/chukonu-springcloud-eur...

2019-06-13 19:09:35

Eureka Issue: replicas is not working

Problem:Whenwecreate3-nodsEurekaserverandregisterthemwitheachother,youmayfindthereplicaisnotworking.Reason:Eachofnodemusthaveanunique"eureka.instance.hostname".Differe...

2019-06-13 16:12:50

Mysql Lock with different isolation level

0.PreparationCREATETABLE`test`(`id`int(11)DEFAULTNULL,`name`varchar(100)DEFAULTNULL,UNIQUEKEY`test_id_IDX`(`id`)USINGBTREE)ENGINE=InnoDBDEFAULTCHARSET=utf8;1.Read...

2019-05-28 11:24:31

MySQL InnoDB: Intention Lock

ThisarticalstateshowdoesIntentionLockworkinMySqlServer8.0.Firstly,atestingdatabaseandtablewithseeddatawillbecreated.Afterthat,wewillseethedifferencewhenthetablewithU...

2019-05-13 17:02:59

How to config VirtualVM Remote Monitoring with JMX

nohupjava\ -server\ -Dcom.sun.management.jmxremote=true\ -Dcom.sun.management.jmxremote.port=8887\ -Dcom.sun.management.jmxremote.rmi.port=8886\ -Dcom.sun.management.jmxremote.authenticate...

2018-11-29 10:42:43

Java8 Useful Usage

ConvertList<String>toString list.stream().map(Object::toString).collect(Collectors.joining(","));  

2018-11-07 11:40:50

How to install Redis on Linux env

1.DownloadRedishttp://download.redis.io/releases/redis-4.0.10.tar.gz2.Unzippackage (e.g./home/redis) tarxzvfredis-4.0.10.tar.gz3.Makefilecdredis-4.0.10makecdsrcmakeallmak...

2018-08-14 13:34:26

Understanding of Kafka Topic, Partition, Broke, Producer and Consumer

  

2018-08-01 17:13:46

Nginx Configuration of loading balance

Abstract:ThisexamplewillshowhowtoconfigasimpleNginxloadingbalancewith Round-Robinpolicy,whichinvolves4nodeserverstorunwebappand1nginxservertodoloadbalance.Now, Iwill...

2018-07-27 19:54:39

Deploy Nginx + Tomcat with Docker

1.CreateTomcatContainerdockerrun-it--rm-p8888:8080-dtomcat:8.0(Thetomcaturlis"http://172.17.0.3:8080"inthisexample.)2.InstallNginxContainerdockerrun-it-p8080:8080-p...

2018-07-25 18:39:32

How to setup simple Docker Swarm Clustering with visual tools

HowtosetupsimpleDockerSwarmClustering1.Create3dockermachinesdocker-machinecreate-dvirtualbox--engine-registry-mirrorhttp://8ff28fe8.m.daocloud.iovm1docker-machinecreate-dvirtualbox...

2018-04-25 17:34:09

Comparison between Hive, Impala, Drill and SparkSQL

HiveImpalaDrillSparkSQLProjectGoalOfflinebatchprocessingstuff;Longrunningjobperformingdataheavyoperation,suchasjoinsonhugedatasetsRunreal

2018-01-16 18:12:24

Spring Exception:NoClassDefFoundError: org/springframework/jdbc/datasource/TransactionAwareDataSourc

Exception:org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'sqlSessionFactory'definedinclasspathresource[spring-mybatis.xml]:Errorsettingpropertyv

2017-10-29 22:53:48

Docker: How to configure Docker with devicemapper

Background:DeviceMapperisakernel-basedframeworkthatunderpinsmanyadvancedvolumemanagementtechnologiesonLinux.Docker’sdevicemapperstoragedriverleveragesthethinprovisioningandsna

2017-03-29 15:39:05

Impala SQL: Unable to LOAD DATA from HDFS path due to WRITE permissions

Issue:WhileyouareusingImpalaOfficialdockerimage"cloudera/quickstart",followingexceptionmightbethrownwhileexecutingLOADDATAcommandtododatamigration.Error:[Simba]

2017-03-09 11:36:28

Hadoop: File could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanod

Issue:WhenyouuploadafiletoHDFS,youmayencounterfollowingexception.Exception:Exceptioninthread"main"org.apache.hadoop.ipc.RemoteException(java.io.IOException):File/test222.xml

2017-03-03 16:15:45

How to resize /dev/mapper/centos-home

•backupthecontentsof/home>tar-czvf/root/home.tgz-C/home.•testthebackup>tar-tvf/root/home.tgz•unmounthome>umount/dev/mapper/centos-home•removethehomelogicalvolu

2017-02-27 15:39:02

CentOS: RE-SIZING /dev/centos/root IN CENTOS7

Plsreferhttps://themacwrangler.wordpress.com/2015/01/16/re-sizing-partitions-in-centos7/

2017-02-22 14:33:58

CentOS: How to make rpm auto install dependencies

Issue:Thereisascenariothatanrpmpackageneedstobeinstalled,butnothedependenciespackages.Inthatcase,wewanttomakeyumcouldautofindthesedependenciesandinstalltherpmpackag

2017-02-22 11:13:53

Ubuntu 16.04: How to resolve libqt5x11extras5 (>= 5.1.0) but it is not going to be installed

Issue:WhenyouinstallVirtualbox5.1onUbuntu16.04,youmayencounterfollowingerror:root@XIAYE-NA1:~/Downloads#aptinstallvirtualbox-5.1Readingpackagelists...DoneBuildingdependency

2017-01-20 16:02:07
奖章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周上午根据用户上周的博文发布情况由系统自动颁发。