叶现一的专栏

Coding ——中国软件业崛起之本;Coding不行,何日振兴?The power is drived by sharing, not confidentiality....

LeetCode:5. Longest Palindromic Substring

Given a strings, find the longest palindromic substring ins. You may assume that the maximum length ofsis 1000. Example 1: Input: "babad"...

2019-09-06 19:29:28

阅读数 9

评论数 0

LeetCode:3. Longest Substring Without Repeating Characters

3.Longest Substring Without Repeating Characters Medium Given a string, find the length of thelongest substringwithout repeating characters. Examp...

2019-09-06 17:27:03

阅读数 16

评论数 0

Eureka: example of creating 3 nodes Eureka Server with docker

Abstract: In this artical, it will state how to create 3 nodes Eureka Server with docker. Step1. Create Eureka Server Source:https://github.com/ye...

2019-06-13 19:09:35

阅读数 18

评论数 0

Eureka Issue: replicas is not working

Problem: When we create 3-nods Eureka server and register them with each other, you may find the replica is not working. Reason: Each of node must...

2019-06-13 16:12:50

阅读数 11

评论数 0

Mysql Lock with different isolation level

0. Preparation CREATE TABLE `test` ( `id` int(11) DEFAULT NULL, `name` varchar(100) DEFAULT NULL, UNIQUE KEY `test_id_IDX` (`id`) USING BTREE...

2019-05-28 11:24:31

阅读数 26

评论数 0

MySQL InnoDB: Intention Lock

This artical states how doesIntention Lock work inMySql Server 8.0. Firstly, atesting database and table with seed data will be created. After that, ...

2019-05-13 17:02:59

阅读数 39

评论数 0

How to config VirtualVM Remote Monitoring with JMX

nohup java \  -server \  -Dcom.sun.management.jmxremote=true \  -Dcom.sun.management.jmxremote.port=8887 \  -Dcom.sun.management.jmxremote.rmi.port=...

2018-11-29 10:42:43

阅读数 46

评论数 0

Java8 Useful Usage

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

2018-11-07 11:40:50

阅读数 48

评论数 0

How to install Redis on Linux env

1. Download Redis http://download.redis.io/releases/redis-4.0.10.tar.gz 2. Unzip package  (e.g. /home/redis)  tar xzvf redis-4.0.10.tar.gz 3. M...

2018-08-14 13:34:26

阅读数 66

评论数 0

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

   

2018-08-01 17:13:46

阅读数 161

评论数 0

Nginx Configuration of loading balance

Abstract: This example will show how to config a simple Nginx loading balance with Round-Robin policy, which involves 4 node servers to run web app ...

2018-07-27 19:54:39

阅读数 102

评论数 0

Deploy Nginx + Tomcat with Docker

1. Create Tomcat Container docker run -it --rm -p 8888:8080 -d tomcat:8.0 (The tomcat url is "http://172.17.0.3:8080" in this ex...

2018-07-25 18:39:32

阅读数 75

评论数 0

How to setup simple Docker Swarm Clustering with visual tools

How to setup simple Docker Swarm Clustering1. Create 3 docker machinesdocker-machine create -d virtualbox --engine-registry-mirror http://8ff28fe8.m....

2018-04-25 17:34:09

阅读数 101

评论数 0

Comparison between Hive, Impala, Drill and SparkSQL

Hive Impala Drill SparkSQL Project Goal Offline batch processing stuff; Long running job performing data heavy operat...

2018-01-16 18:12:24

阅读数 259

评论数 0

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

 Exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path reso...

2017-10-29 22:53:48

阅读数 1075

评论数 0

Docker: How to configure Docker with devicemapper

Background: Device Mapper is a kernel-based framework that underpins many advancedvolume management technologies on Linux. Docker’s devicemapper st...

2017-03-29 15:39:05

阅读数 1937

评论数 0

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

Issue: While you are using Impala Official docker image "cloudera/quickstart", following exception might be thrown while executing LOAD...

2017-03-09 11:36:28

阅读数 3080

评论数 0

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

Issue: When you upload a file to HDFS, you may encounter following exception. Exception: Exception in thread "main" org.apache.hadoop.ipc...

2017-03-03 16:15:45

阅读数 1367

评论数 0

How to resize /dev/mapper/centos-home

• backup the contents of /home > tar -czvf /root/home.tgz -C /home . • test the backup > tar -tvf /root/home.tgz • unmount home > umo...

2017-02-27 15:39:02

阅读数 1459

评论数 0

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

Pls refer https://themacwrangler.wordpress.com/2015/01/16/re-sizing-partitions-in-centos7/

2017-02-22 14:33:58

阅读数 605

评论数 0

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