Skip to content

Instantly share code, notes, and snippets.

View rockstarartist's full-sized avatar

Rock Star Artist rockstarartist

View GitHub Profile
@rockstarartist
rockstarartist / zookeeper-solr-cloud.md
Last active January 5, 2021 11:14 — forked from kalharbi/zookeeper-solr-cloud.md
Setting up an external Zookeeper Solr Cluster

Setting up an external Zookeeper Solr Cluster on 3 hosts with Ambari's Zookeeper

This is a step by step instruction on how to create a cluster that has three Solr nodes running in cloud mode. These instructions should work on both a local cluster (for testing, with 3 virtual hosts) and a remote cluster where each server runs in its own physical machine. This was tested on Solr version 6.2.1 and Zookeeper version 3.4.6

We will assume that the names of the hosts with the Zookeeper servers will be called: zserver1 zserver2 zserver3

## Remove all packages from the HDP-2.4 repository
yum remove $(yum list installed | grep HDP-2.4 | awk '{ print $1 }')
@rockstarartist
rockstarartist / hamradio-GeneralLicenseExam.txt
Last active August 9, 2016 02:22
Ham Radio Studying for General License Exam
Q-Codes:
QRL * Are you busy? I am busy (or busy with....). Please do not interfere.
QRM * Are you being interfered with? I am being interfered with.
QRN * Are you troubled by static? I am troubled by static.
QRO * Must I increase power? Increase power.
QRP * Must I decrease power? Decrease power.
QRQ * Must I send faster? Send faster ... (words per min.).
QRS * Must I send more slowly? Transmit more slowly ... (w.p.m.).
QRT * Must I stop transmission? Stop transmission.
QRU * Have you anything for me? I have nothing for you.
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py", line 37, in <module>
BeforeInstallHook().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
method(env)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/hook.py", line 33, in hook
install_repos()
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py", line 66, in install_repos
_alter_repo("create", params.repo_info, template)
File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py", line 34, in _alter_repo
@rockstarartist
rockstarartist / hamradio-information.txt
Last active July 15, 2016 20:20
HAM Radio Technician Test Prep
There are only 3 ITU regions, 1, 2, and 3
IRLP = Internet Radio Linking Project
The aim of the IRLP is link radio systems separarted by long distance
without the use of expensive leased lines, satellites, or controllers.
IRLP uses VOIP and the internet.
The louder the voice signal in an FM transmitter the greater the frequency
deviation of the modulator. If you are over deviating, you need to reduce
the amplitude of your voice.
// You effed up your master branch, because you stupidly commited to it,
// and you need to reset it to the remote master:
git fetch origin
git reset --hard origin/master