问题:
1
2
3
4
5
6
7
8
9
10
|
> DBI::dbSendQuery(conn, sql)
Error in select(conn@ptr, statement) :
DB::Exception: All attempts to get table structure failed. Log:
Code: 279, e.displayText() = DB::NetException: All connection tries failed. Log:
Code: 209, e.displayText() = DB::NetException: Timeout: connect timed out: 10.20.140.3:9000 (10.20.140.3:9000) (version 21.4.7.3 (official bui
ld))
Code: 209, e.displayText() = DB::NetException: Timeout: connect timed out: 10.20.140.3:9000 (10.20.140.3:9000) (version 21.4.7.3 (official bui
ld))
Code: 209, e.displayText() = DB::NetException: Timeout: connect timed out: 10.20.140.3:9000 (10.20.140.3:9000) (version 21.4.7.3 (official bui
ld))
|
解决方案参考:Inconsistent behaviour of Distributed table engine and remote
table function when called with cluster and with list of addresses
1
|
SET connections_with_failover_max_tries = 5
|
1 2 git config --global color.diff auto git config --global color.status auto
安装 Vim8 使用 Anaconda-python 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 ## 不需要 lto export LDFLAGS="-fno-lto" ## 有可能需要添加环境路径 ## 1. ldconfig -p |grep libSM ldconfig -p |grep libuuid ## 2. export
安装 Docker
删除旧版本
1
2
3
4
5
6
7
8
|
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine
|
自动识别 log 文件
1
2
|
# 在 ~/.vimrc 添加
au BufNewFile,BufRead *.log set filetype=log
|
项目结构
1
2
3
4
5
6
7
8
9
10
|
├── readme.md
├── wepy
│ ├── ch
│ ├── __init__.py
│ ├── __pycache__
│ ├── requirements.txt
│ ├── setup.py
│ ├── utils
│ ├── __version__.py
│ └── wechat
|