###Observer of coprocessor of hbase coprocessor
Customize JAVA class and inherit BaseRegionObserver
package com.charley.example.hbase2es;
import org.apache.hadoop.hbase.Cell;
import org.apache.hadoop.hbase.CellUtil;
import org.apache.hadoop.hbase.CoprocessorEnvironment;
import org.apache.hadoop.hbase.client.Durability;
import org.apache.hadoop.hbase.client.Put;
import ...
Posted by kurtsu on Tue, 10 Dec 2019 04:29:07 -0800
HBase installation configuration, using independent zookeeper
1.HBase installation configuration, using independent zookeeper
2. Modify environment variables:The first machine is planned to be master, the second machine is RegionServer, and then start RegionServer on the first machineMake a cluster1 master2 RegionServer
Execute vi /etc/profile on the machine, and add the following:export HBASE_HOME=/usr/ ...
Posted by vadercole on Tue, 03 Dec 2019 01:49:01 -0800
idea debugging opentsdb source code
Reference resources: https://blog.51cto.com/1196740/2394289?source=dra
Catalog
Download source code:
Compile and pack
Modify file directory
Modify opnetsdb.conf
Running TSDMain
Download source code:
git clone https://github.com/OpenTSDB/opentsdb.git
Compile and pack
To build the pom.xml configuration file:
[root@Mac ...
Posted by makoy on Sat, 09 Nov 2019 07:11:06 -0800
I. hbase -- basic principle and use
Hot issues of hbase data:
The solution is to preprocess the rowkey of the hot data, add some prefixes, and distribute the hot data to multiple region s.
Pre merger? Dynamic partition? At the beginning of the initial data, the data should be partitioned, stored in different region s, and load balanced.
Example: for example, it is easy to divide ...
Posted by daniel_mintz on Mon, 04 Nov 2019 16:20:41 -0800
Installation configuration HBASE
I. preparation before experiment
1. Download hbase-1.4.9-bin.tar.gz installation package
Official website https://mirrors.tuna.tsinghua.edu.cn/apache/hbase/stable/
② Baidu online disk link: https://pan.baidu.com/s/1x6m30jqcWT_biXV8Z1belQ Extraction code: p95n
2. Connect the virtual machine and start the experim ...
Posted by sharmeen on Mon, 04 Nov 2019 11:32:30 -0800
Import of sqoop | Hive|Hbase
Import data (cluster as object)
In Sqoop, the concept of "import" refers to the transfer of data from non big data cluster (RDBMS) to big data cluster (HDFS, HIVE, HBASE). It is called "import", that is, using the import keyword.
1 RDBMS to HDFS
1) make sure the Mysql service is turned on normally
2) create a new table i ...
Posted by Anders_Scales on Mon, 04 Nov 2019 07:26:50 -0800
Microservice architecture case (03): introduction to database selection, business data planning and design
Source code: GitHub point here || GitEE point here
Update progress (6 sections in total):
01: brief introduction of project technology selection and schematic description of structure
02: business architecture design, system hierarchical management
03: database selection, business data design and planning
I. database selection
1. Database ...
Posted by nerotic on Sat, 02 Nov 2019 00:47:00 -0700
Pinpoint 1.8.5 Installation and Use Guide
brief introduction
pinpoint is an open source APM monitoring tool on github. It is written in Java for large-scale distributed system monitoring. It has the smallest impact on performance (only about 3% increase in resource utilization), and the installation agent is non-intrusive.
Major APM tools are almost based on this classic apper paper by ...
Posted by JADASDesigner on Sat, 12 Oct 2019 20:17:50 -0700
Hadoop environment deployment document
I. Deployment environment
Local IP: 192.168.0.222
System: CentOS Linux release 7.6.1810 (Core)
Kernel: 3.10.0-957.el7.x86_64
II. Installation of docker-ce
yum install -y yum-utils device-mapper-persistent-data lvm2 && yum-config-manager --add-repo https://download.docker.com/linux/centos/doc ...
Posted by wannasub on Fri, 11 Oct 2019 12:32:49 -0700
Common operation of HBase
Article directory
I. HBase Shell Operation
1.1 Basic Operations
1.2 Table Operation
I. HBase Shell Operation
1.1 Basic Operations
Enter HBase Client[kino@hadoop102 hbase]$ bin/hbase shell
After entering the client, backspace is the character after deleting the cursor, and ctrl + backspace ...
Posted by janm2009 on Wed, 02 Oct 2019 16:32:58 -0700