原创 DBeaver連接phoenix
一、DBeaver介紹 DBeaver dbeaver是免費和開源(GPL)爲開發人員和數據庫管理員通用數據庫工具,是一個通用的數據庫管理工具和 SQL 客戶端。 支持數據庫: MySQL、Oracle、PostgreSQL
原创 python hbase API (二) thrift2
一、python hbase API (一) thrift2環境準備 python hbase API (一) thrift2環境準備 https://mp.csdn.net/postedit/86501781 二、python hba
原创 python phoenix API
一、phoenix Phonix是搜索引擎,n個版本之前是作爲獨立的產品存在的,現在集成到hbase裏面。Phoenix是一個開源的HBASE SQL層。Phoeinx可以用標準的JDBC API替代HBASE client
原创 python mysql API
一、環境準備 mysql安裝 https://mp.csdn.net/postedit/81771687 下載依賴包 pip3 install pymysql 二、接口調用 以下羅列兩種實現方式,第一種是原生的;第二種就是集成pandas
原创 python happybase API
一、環境準備 下載happybase包 pip3 install happybase 安裝thrift 安裝步驟:https://mp.csdn.net/postedit/82250725 二、接口調用 使用連接資源池方式 c
原创 python redis API
一、redis redis是一個key-value存儲系統。和Memcached類似,它支持存儲的value類型相對更多,包括string(字符串)、list(鏈表)、set(集合)、zset(sorted set --有序集合)和h
原创 CenOS系統設置服務自啓
1、建立服務文件 以thrift、redis集羣服務爲例 vim /usr/lib/systemd/system/thrift.service [Unit] Description=hbase thrift service After=
原创 Ambari啓用HDP服務的自動重啓/恢復?
作爲羣集管理員或羣集操作員,您可以啓用堆棧中的每個服務以自動重新啓動。啓用服務的自動啓動會導致ambari-agent嘗試在停止狀態下重新啓動服務組件,而無需用戶手動操作。作爲第一步,您應該爲核心Hadoop服務中的工作節點,Y
原创 python hbase API (一) thrift2環境準備
一、搭建hbase集羣,安裝thrift服務並啓動 安裝步驟:https://blog.csdn.net/qq_21153619/article/details/82250725 cd /usr/hdp/2.6.2.0-205/hbase
原创 python hbase API (二)
一、python hbase API (一) thrift2環境準備 python hbase API (一) thrift2環境準備 https://mp.csdn.net/postedit/86501781 二、python hba
原创 Ambari 使用 Hive View 異常處理:Service 'userhome' check failed: File does not exist: /user/admin
進入Hive View客戶端的時候報這個錯誤:Service 'userhome' check failed: File does not exist: /user/admin 查看目錄結構 hdfs dfs -ls /user 發現沒
原创 redis重啓時報vm.overcommit_memory、somaxconn錯誤
redis莫名其妙的報這個錯誤,是redis緩存的數據過多,沒有提前做好數據過期策略,導致超過物理機的實際內存。需要修改計算機內存策略,然後重啓redis,刪除redis冗餘數據就ok 錯誤信息: 內核參數overcomm
原创 Linux下ntp時間服務器搭建
環境準備 系統:CenOS7.5 虛擬機:172.8.10.140-147 主:172.8.10.140 從:172.8.10.141-147 一、確認ntp的安裝 1、確認是否已安裝ntp rpm -qa|grep -i ntp
原创 python 關閉redis連接
python讀寫redis時,到底需不需要關閉redis連接池連接? import redis def RedisUtils(): pool = redis.ConnectionPool(host='172.8.10.145'
原创 happybase1.1.0 報錯:ThriftPy does not support generating module with path in protocol 'c'
storm裏面的python腳本需要讀寫hbase,在本地運行測試的時候報錯:thriftpy.parser.exc.ThriftParserError: ThriftPy does not support generating modu