原创 mongo單文檔最大大小

mongo單文檔沒有列數限制,大小最大16M. https://docs.mongodb.com/manual/reference/limits/#BSON-Document-Size The maximum BSON docum

原创 treeMap實現value排序後無法get(key)取值

public class Testing { public static void main(String[] args) { HashMap<String, Double> map = new HashMap<>();

原创 服務器上python3安裝的module安裝檢查

list="pymongo pymysql sys time datetime " strmod="" nomod="" for i in `python3 -c "help('modules')"` do strmod=${

原创 mongo 查看某個庫下面每個集合的大小

[root@ip ~]# cat get_size.sh #!/bin/sh MONGO=/usr/bin/mongo function get_dbs() { $MONGO << EOF show dbs EOF }

原创 jenkinsrestapi參數傳輸,接受不到

&參數應該添加轉義 curl -s -u 'user:pwd' http://ip:8080/view/%E6%B1%9F%E8%A5%BF%E6%95%99%E8%82%B2/job/job_namxxxxx/buildWith

原创 hive通過元數據查詢表數據量

orc存儲的表默認保存文件數和文件大小,textfile存儲的保存數據條數 select * from TBLS where TBL_NAME='tablename'; select * from TABLE_PARAMS

原创 ubuntu18.04安裝wps找不到字體

下載好相應的字體,替換進去 字體鏈接:https://pan.baidu.com/s/1o7PKBto (資源來源網絡、如有侵權,請聯繫博主,即刻刪除) 替換的目錄爲/usr/share/fonts/wps-office/ 1.下載好字體

原创 ubuntu 版本切換中文簡體繁體快捷鍵

ctrl+shift+f 點贊 收藏 分享 文章舉報 難得糊塗_不解釋 發佈了35 篇原創文章 · 獲贊 0 · 訪問量 1908 私信

原创 ssh配置免密錯誤

no matching cipher found: client arcfour server [email protected],aes128-ctr,aes192-ctr,aes256-ctr,aes1

原创 ubuntu18.04製作u盤啓動項

一、下載Ubuntu18.04系統的iso文件 Download Ubuntu Desktop https://www.ubuntu.com/download/desktop 鏡像下載地址 https://mirrors.tuna

原创 hive MSCK命令

第一種情況:一層分區的情況 執行 MSCK REPAIR TABLE table_name; 第二種情況:多層分區情況 執行 set hive.msck.path.validation=ignore;

原创 阿里源鏡像

https://opsx.alibaba.com/mirror 安裝unbuntu https://blog.csdn.net/gui951753/article/details/81629547

原创 linux基本操作維護

修改hostname hostnamectl set-hostname 192-168-1-1 掛載磁盤 df -h fdisk -l #掛載磁盤 mkdir /data rm -rf /data/* mkfs.xfs /dev

原创 sqoop抽數的數據中有換行符

sqoop抽過來的表有換行符,導致使用hive的時候去重有問題

原创 安裝mongo

1.下載與 CentOS 系統匹配的 mongodb-linux-x86_64-rhel70-3.2.4.tgz 文件: wget https://fastdl.mongodb.org/linux/mongodb-linux-x8