Skip to content

Instantly share code, notes, and snippets.

View JonZeolla's full-sized avatar

JonZeolla JonZeolla

View GitHub Profile
# Stderr
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/METRON/0.4.2/package/scripts/alerts_ui_master.py", line 82, in <module>
AlertsUIMaster().execute()
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/METRON/0.4.2/package/scripts/alerts_ui_master.py", line 40, in install
self.install_packages(env)
File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 567, in install_packages
retry_count=agent_stack_retry_count)
[root@server ~]# ambari-server install-mpack --mpack=/data/metron-0.4.1-cherrypick/metron_mpack-0.4.1.0.tar.gz --verbose
Using python /usr/bin/python
Installing management pack
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Installing management pack /data/metron-0.4.1-cherrypick/metron_mpack-0.4.1.0.tar.gz
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Download management pack to temp location /var/lib/ambari-server/data/tmp/metron_mpack-0.4.1.0.tar.gz
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
INFO: Expand management pack at temp location /var/lib/ambari-server/data/tmp/metron_mpack-0.4.1.0/
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
@JonZeolla
JonZeolla / Metron-0.4.1-cherrypick.txt
Last active October 2, 2017 18:13
Metron-0.4.1 + cherrypick
A list of cherrypicked commits off of master, no conflicts:
- 5f13e14be57e3a4375ae6fe63c8debf3803d6e44 (METRON-938 "service metron-rest start <password>" does not work on CentOS 7. (justinleet) closes apache/metron#757)
- eaae515076ee51be9709753855df35bf204808c1 (METRON-1206 Make alerts UI conform to ops UI for install (merrimanr) closes apache/metron#773)
- 696a454a6c0da0ff68712af56c254cfcd7a94bda (METRON-1207 Make RPMs for Alerts UI (merrimanr) closes apache/metron#777)
- e2de1caa4d800fa62e34786b788cf9b9c1df9709 (METRON-1208 MPack for Alerts UI (merrimanr) closes apache/metron#778)
A list of cherrypicked commits off of master, WITH MANUALLY RESOLVED CONFLICTS:
- c18faaa94cd9b99bd88612899b5baed897a7681c (METRON-1188: Ambari global configuration management (mmiklavc) closes apache/metron#760)
@JonZeolla
JonZeolla / cmdline
Created April 21, 2017 18:17
2017-04-21 Metron master's docker status
jzeolla@~/dev/testing$ cd incubator-metron/
jzeolla@~/dev/testing/incubator-metron on (HEAD detached at apache-metron-0.4.0-rc1a-incubating)$ git checkout master
Previous HEAD position was 3e16292d... METRON-862 Add Mattf gpg public key to KEYS file (mattf-horton) closes apache/incubator-metron#536
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
jzeolla@~/dev/testing/incubator-metron on master$ git pull
Already up-to-date.
jzeolla@~/dev/testing/incubator-metron on master$ mvn clean install -DskipTests
<snip>
[INFO] ------------------------------------------------------------------------
@JonZeolla
JonZeolla / metron-mac-setup.sh
Created March 5, 2017 12:47
Setup mac quick-dev on macOS
#!/usr/bin/env bash
case "${OSTYPE}" in
darwin*)
version="${OSTYPE:6}"
if [[ "${version}" == "16" ]]; then
supported="true"
else
supported="false"
fi
;;
class Ansible < Formula
desc "Automate deployment, configuration, and upgrading"
homepage "http://www.ansible.com"
url "https://releases.ansible.com/ansible/ansible-2.0.0.2.tar.gz"
sha256 "27db0b99113fab85b1430c361c7790a0aa7f5c614c9af13362e2adbba07e5828"
head "https://github.com/ansible/ansible.git", :branch => "devel"
bottle do
revision 2
2016-09-07T15:46:09.985077Z mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
2016-09-07T15:56:37.567578Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2016-09-07T15:56:37.780346Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-09-07T15:56:37.782649Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.14) starting as process 11055 ...
2016-09-07T15:56:37.787253Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-09-07T15:56:37.787283Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-09-07T15:56:37.787290Z 0 [Note] InnoDB: Uses event mutexes
2016-09-07T15:56:37.787298Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2016-09-07T15:56:37.787303Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2016-09-07T15:56:37.787308Z 0 [Note] InnoDB: Using Linux native AIO
@JonZeolla
JonZeolla / dstsample-scan.bro
Created June 2, 2016 15:05
ALPHA: scan.bro with destination sampling
##! TCP Scan detection.
# ..Authors: Sheharbano Khattak
# Seth Hall
# All the authors of the old scan.bro
# Modified by Jon Zeolla to add destination sampling, with
# https://www.bro.org/sphinx/_downloads/detect-sqli.bro as a template
# Foundation provided by http://mailman.icsi.berkeley.edu/pipermail/bro/2014-May/006996.html
#!/bin/bash
#
# Copyright (c) 2014, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright

Keybase proof

I hereby claim:

  • I am JonZeolla on github.
  • I am jonzeolla (https://keybase.io/jonzeolla) on keybase.
  • I have a public key whose fingerprint is F973 1522 A2A9 2963 EF3B E516 6214 3B9D 64B6 124A

To claim this, I am signing this object: