原创 使用Docker compose快速搭建本地Hive Server
源碼地址:https://github.com/big-data-europe/docker-hive docker-compose.yml 文件,我是在Windows Docker Desktop跑的。由於windows端口範圍限制,5
原创 ElasticSearch Docker compose 快速搭建僞集羣帶kibana儀表盤
version: '2.2' services: es01: image: docker.elastic.co/elasticsearch/elasticsearch:7.6.2 container_name: es
原创 Hive導入數據到Elasticsearch
本地環境試驗大家可以用docker快速搭建hive服務和es服務,可參照我的上兩篇博客。 登錄到hive server宿主機或者容器。 有網絡直接下載相關對應版本es hadoop jar包。 https://repo1.maven.or
原创 curl抓取http response header字符串拼接問題
我是想獲取header爲Connection的值。然後兩邊拼接單引號。於是直接使用普通的方法發生了字符串拼接不上。會發生覆蓋。 示例代碼1(原始方案)你會發現右邊單引號始終拼接不上去: chengli.zou@clz-mbp Deskt
原创 windows docker desktop 設置2375端口遠程訪問
大家玩過Docker Desktop的都知道。它設置裏有個2375端口是可以開放的。但是它默認綁定的是localhost。 那麼有什麼辦法可以讓別的客戶端機器也能進行訪問呢?這時候我們就需要用一個windows自帶的命令進行端口代理(y
原创 windows docker desktop登錄registry域名解析問題。
root@ZOUCHENGLI-PC:~# docker login releases.docker.XXX.com -u xxxx -p xxxxxx WARNING! Using --password via the CLI is i
原创 Gitlab跨域問題
1.gitlab想用域名訪問。不直接用ip訪問。 需要修改兩個文件。 第一個:/etc/gitlab/gitlab.rb 找到external_url屬性 修改成你想要換的域名。 external_url ‘http://gitlab.x