Skip to content

Instantly share code, notes, and snippets.

View KoopaKing's full-sized avatar
🌩️

Chris Bowzer KoopaKing

🌩️
  • Google
  • Seattle, WA
View GitHub Profile
@KoopaKing
KoopaKing / disable-monitoring-agent.sh
Created March 2, 2021 22:28
Disable the Stackdriver Monitoring Agent on GCE
#!/bin/bash
set -euxo pipefail
systemctl stop stackdriver-agent

Git setup for success. In this example I'll be solving fictional issue #420.

Verify Setup

This assumes you have two remotes, origin that you own and upstream for the master repository.

You can verify this initial setup with this command:

user@host:~$ git remote -v
origin	https://github.com/KoopaKing/step23-2020.git (fetch)
@KoopaKing
KoopaKing / README.md
Last active July 26, 2022 11:35
An example presto postgresql connector for Dataproc
@KoopaKing
KoopaKing / README.md
Created November 26, 2019 02:04
Dataproc -- Disable Noisy Timeline Server Logs

Disable Noisy Timeline Server Logs

Overview of Issue

Dataproc images in the 1.3 and 1.4 minor version tracks are affected by an issue that causes the YARN Timeline Server to log Exceptions when the YARN Resource Manager attempts to use the POST Timeline Entities REST API.

This excessive logging is made worse by a lack of log rotation for these logs, caused by an older version of