/hadoop/share/hadoop/mapreduce/*.jar,/usr/local/hadoop/share/hadoop/tools/*.jar,/usr/local/hadoop/share/hadoop/yarn/*.jar4, modify the environment variables, increase in the ~/.BASHRCExport Sqoop_home=/usr/local/sqoopExport path= $SQOOP _home/bin: $PATHexport catalina_home= $SQOOP _home/serverexport logdir= $SQOOP _home/logs 5, run sqoop2-tool Verify check the configuration file is correct. (I'm running a bunch of bugs and I'm not looking carefully)6. Starting Sqoop server:sqoop2-server start 7,
bucket is the average of the packetsTransfer rate.1-normal burst (normal burst): normal traffic rate is allowed in the time interval during a regular burst.2-excess burst (excessive burst): More than normal burst of traffic. When an excessive burst is configured, the token is borrowed andAdd it to a token bucket to allow some level of traffic burst. When the Lent token has been used on this interfaceAny excess traffic received will be discarded. Traffic bursts occur only in a short period of ti
/php/bin/phpize./configure–enable-memcache–with-php-config=/usr/local/php/bin/php-config–with-zlib-dirMakeMake install
Note
1 phpize not found
Workaround:
CentOS is not installed by default Php-devel
Yum Install Php-devel
2 Make: * * * [Memcache.lo] Error 1
No zlib installed
Yum Install Zlib-devel
3 The configured command is changed to:./configure--enable-memcache--with-php-config=/usr/bin/php-config--with-zlib-dir
Where enable and with front is two--
)
3. There will be a hint like this
Tomorrow will be a big parade, today seize time to read a little more books, a bad supplement to cultural literacy, see the parade with more "shock, spectacular, mighty, Majestic, overwhelming ..." and so on, so as not to see a spectacular scene in English will say: "Oh my god! gosh! God! For Christ ' s sake!...... "Obviously PHP is the best language in the world but it has to be in other languages. You see, there are enterprises in the country with PHP language.
Beijing:
PHP Development Engi
per dayExec Pro_AddTask @ taskname = 'AB', @ SQL = 'select * from syscolumns'-- Job at 12:00:00 every dayExec Pro_AddTask @ taskname = 'd12', @ SQL = 'select * from syscolumns ', @ time = 12000-- Assignments are made at 12:00:00 every Saturday.Exec Pro_AddTask @ taskname = 'w12', @ SQL = 'select * from syscolumns ', @ freqtype = 'Week', @ fqinterval = 64, @ time = 12000-- Homework at 12:00:00 on the 20th o
6: Packet acceptance process
15
The shorter the period.
The lifetime of 4.1 packets
We divide a package into three phases: the network card phase, the DMA phase, and the network card drive.
The dynamic program phase (excluding the DMA part) will measure how long the Exit and Entry packets are waiting in these three phases.
The measurement method is to first determine the start point of each stage and then use rdtscll (defined in) to capture
Take the time. Table 7 shows the hardware used for thi
/phpize./configure–enable-memcache–with-php-config=/usr/local/php/bin/php-config–with-zlib-dirMakeMake install
Note
1 Phpize didn't find it.
Workaround:
CentOS is not installed by default Php-devel
Yum Install Php-devel
2 Make: * * * * [Memcache.lo] Error 1
Zlib not installed
Yum Install Zlib-devel
The 3 configuration command changes to:./configure--enable-memcache--with-php-config=/usr/bin/php-config--with-zlib-dir
Where the enable and the with front are two--
)
3. The a
cache proxy to prevent a single point of the phenomenon, the cache proxy can also do backup, through the client connection to the cache proxy server, the cache proxy Server connection cache server, the cache proxy server can connect more than one memcached machine, as shown, the accessories list is as follows:
magent Proxy Server : 2 units, respectively, 192.168.1.2:12000, 192.168.1.3:12000
me
times the host repeats in the list 主机 权重 1.1.1.1 1 1.1.1.2 2 1.1.1.3 1 那么在内存中主机列表为: host_list = ["1.1.1.1", "1.1.1.2", "1.1.1.2", "1.1.1.3", ]If the user is to create a key-value pair (for example: K1 = "V1") in memory, perform a step:
Convert K1 into a number based on the algorithm
The number and host list length are remainder, and a value of N (0
The value given in the second step in the host list is the index host, listed as: Host_list[n]
Connect
# ls-al/usr/local/bin/mem* (see if memcached executable file is generated)#备注: If the 64-bit system may error, the default library file will only be installed under/usr/lib3. Start Memcache# See command Options help with/usr/local/bin/memcached–h[Email protected] memcached-1.4.5]#/usr/local/bin/memcached-hMemcached 1.4.5-P -U -S -A -L -D Run as a daemon-R Maximize Core file limit-U -M -M return error on memory exhausted (rather than removing items)-C #启动命令如下#/usr/local/bin/memcached-d-M 10-u roo
-stable.tar.gz/opt/tmp# TAR-XVF Libevent-2.0.21-stable.tar.gz# CD Libevent-2.0.21-stable#./configure--prefix=/usr make make install3.2, Installation memcached# wget http://www.danga.com/memcached/dist/memcached-1.4.0.tar.gz# TAR-XVF memcached-1.4.0.tar.gz CD memcached-1.4.0#./configure--with-libevent=/usr make make install# ls-al/usr/local/bin/memcached detects if the installation was successful3.2. Start memcached/usr/local/bin/memcached-d-M 10-u root-l 127.0.0.1-p
2: Inquire about the maximum wage of the employee who has the bonus in each job >12000 the job number and salary#1) Check the maximum wage "before grouping" for employees with bonuses in each job categorySELECT MAX (Salary), job_idFrom EmployeesWHERE commission_pct is not NULLGROUP by job_id; #2) on the basis of 1, filter out the maximum wage "12000" after grouping the screeningSELECT MAX (Salary), job_idF
] ' s password: keepalived.conf 100% 634 309.0kb/s 00:00 #查看从服务器上有没有这个配置文件 [[ Emailprotected] keepalived]# lskeepalived.conf keepalived.conf.bak# Modify keepalived.conf configuration file router_id 2 #改为2 State BACKUP #master改为BACKUP Priority #优先级改为小于100Configure the magent.sh script inside the configuration file (note that the path is the same as the path inside the configuration file)主[[emailprotected] opt] mkdir shell[[emailprotected] opt] cd shell/[[emailprotected] shell] vim magent.sh#!/bin
, adding the last three configurations:
spring.cloud.config.discovery.enabled: Open Config Service discovery support
spring.cloud.config.discovery.serviceId: Specifies the server-side name, which is the server-side spring.application.name value
eureka.client.service-url.defaultZone: Address to Configuration Center
All three configuration files need to be placed bootstrap.yml in the configuration.Start client side, access in browser: Http://localhost:7000/will see that both
the middle, carefully check the errors and follow the error message to configure or add the appropriate libraries or paths. When the installation is complete, the memcached will be placed on the/usr/local/bin/memcachedStart memcached service:/usr/local/bin/memcached-d-M 10-u root-l 192.168.141.64-p 12000-c 256-p/tmp/memcached.pid-d option is to start a daemon,-m is allocated to Memcache to use the amount of memory, in MB, I here is 10MB,-U is the use
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.