How to fix it.

  1. Annovar only supports with spark via “local[*]” mode. The example command for running is like:
spark-submit --master local[*]  spark.jar ...

2. We need to also use…


We are touched by a lot of advertisement everyday. Especially for how cool it is to drink beer or wine.

Photo by Felipe Bustillo on Unsplash

When I was a student, I thought the ability to drink a lot of alcohol is cool. And with some students who cannot drink, I kind of don’t spend much of my time with. Most of my closed friends are someone who can drink.

As later in life, I found it completely wrong. Drinking only help us to get rid of problems for sometime. And we thought it might bring us the happiness but in fact it is not. Happiness is completely different thing and in fact we can learn to be happy without having external things.

Drinking alcohol causes…


that a signals that you should try something new, or restart something you forgot.

Photo by Steve Halama on Unsplash

We are humans. And I believe the nature of human is always seeking for something new. I understand that we do need routines. But if we all stay in the same routine day after day, even that’s a good routine. We eventually feel bored.

Recently, I felt this too. I believe this is the time to stay slow, comeback to something I forgot, or I might say we forgot. When my wife and I were in the early relationships, I regularly bought her flowers. I just realized that recently I did not do that. Maybe because of I’m busy with…

I followed along with tutorial from digital ocean but failed. I hope this could help.

Photo by DocuSign on Unsplash

The reason for run service failed due to zookeeper and kafka cannot find java. The temporary workaround this is to add environment variable to zookeeper.service and kafka.service files.


ExecStart=/bin/sh -c '/home/kafka/kafka/bin/ /home/kafka/kafka/config/ > /home/kafka/kafka/kafka.log 2>&1'


ExecStart=/home/kafka/kafka/bin/ /home/kafka/kafka/config/

Reload daemon

sudo systemctl daemon-reload…

Today it takes me more than 2 hours to figure this out, with the help of my colleagues.

Photo by Charles Etoroma on Unsplash
  1. pg_hba.conf
local   all             all                                     trust

host all all trust

host all all ::1/128 trust
host all all trust

local replication all trust
host replication all trust
host replication all ::1/128 trust

2. postgresql.conf

listen_addresses = '*'


image: postgis/postgis:11-2.5
- bagdb
- postgres:/var/lib/postgresql/data
- "5433:5432"

4. Run docker-compose up

docker-compose -f docker-compose-env.yml up -d

5. Copy file using docker

docker cp pg_hba.conf {container_name}:{location_pg_hba}

6. Kill exisitng postgres

docker-compose -f docker-compose-env.yml kill postgres

7. …

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store