This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
from __future__ import print_function | |
import os, sys | |
from kafka import KafkaConsumer | |
import avro.schema | |
from avro.datafile import DataFileReader, DataFileWriter | |
from avro.io import DatumReader, DatumWriter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# stdlib | |
import subprocess | |
import os | |
import sys | |
import re | |
import traceback | |
# project | |
from checks import AgentCheck | |
from utils.platform import Platform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for DB in `hive -e "SHOW DATABASES;"`; do | |
for tbl in `hive -e "USE ${DB}; SHOW TABLES"`; do | |
hive -e "DESC FORMATTED ${DB}.${tbl};" > desc.${DB}.${tbl} | |
done | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tunables: | |
- mapreduce.input.fileinputformat.list-status.num-threads (hive-site.xml) | |
- fs.s3a.block.size | |
JIRAs: | |
- https://issues.apache.org/jira/browse/HADOOP-12810 | |
- https://issues.apache.org/jira/browse/HADOOP-9565 | |
- https://issues.apache.org/jira/browse/HADOOP-12878 |
OlderNewer