https://community.hortonworks.com/articles/119766/installing-a-local-hortonworks-registry-to-use-wit.html Objective This tutorial walks you through how to install and setup a local Hortonworks Registry to interact with Apache NiFi. Environment This... Read More | Share it now!
Author Archives: Huang Shiyang
rabbitmqctl
rabbitmqctl NAME rabbitmqctl — command line for managing a RabbitMQ broker SYNOPSIS rabbitmqctl command DESCRIPTION RabbitMQ is a multi-protocol open source messaging broker. rabbitmqctl is a command line tool for managing a... Read More | Share it now!
Kafka tools
List kafka consumer groups: kafka-consumer-groups --bootstrap-server localhost:9092 --list List kafka topics: kafka-topics --zookeeper localhost:2181 --list Add partitions to topics: bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic... Read More | Share it now!
failover redis cluster failover
今天测试了redis cluster failover 功能,在切换过程中很快,但在failover时有force 与takeover 之分 $r 127.0.0.1:6237> cluster nodes 13b6094babb9c16066a315a828434b3c6525f08b 192.168.1.91:6236 master - 0... Read More | Share it now!
sort Linux
Sort是用于对单个或多个文本文件内容进行排序的Linux程序。Sort命令以空格作为字段分隔符,将一行分割为多个关键字对文件进行排序。需要注意的是除非你将输出重定向到文件中,否则Sort命令并不对文件内容进行实际的排序(即文件内容没有修改),只是将文件内容按有序输出。 本文的目标是通过14个实际的范例让你更深刻的理解如何在Linux中使用sort命令。 1、... Read More | Share it now!
linux中命令别名的设定指令alias和unalias
linux中并没有ll(大写L)命令,但是为什么这个命令还可以使用呢?这个就和linux的命令别名有关了。先用type来看下ll的指令类型: $ type ll ll is aliased to `ls -alF' 这个是ubuntu... Read More | Share it now!
服务器排障 之 nginx 499 错误的解决
问题描述: Nginx 服务器大量499报错 220.181.165.136 - - [18/May/2015:10:31:02 +0800] "POST /v1/jobsHTTP/1.1" 499 0 "" "bdHttpRequest/1.0.0" 115.239.212.7 - - [18/May/2015:10:31:03 +0800] "GET... Read More | Share it now!
Pydio
https://pydio.com/en/ Pydio, formerly known as AjaXplorer, is an open-source file-sharing and synchronisation software that runs on the user’s own server or in the cloud.[ ... Read More | Share it now!
如何测试代码覆盖率:coverage.py 简介
本文作者为 Mike Driscoll,译者为 linkcheng,校对 EarlGrey,是 Python 翻译组完成的第二篇译文。本文为编程派微信公众号首发。 Coverage.py 是一个用来测试代码覆盖率的 Python 第三方库。它起初是由... Read More | Share it now!
pickle模块学习 Python
pickle提供了一个简单的持久化功能。可以将对象以文件的形式存放在磁盘上。 —————————————— pickle.dump(obj,... Read More | Share it now!