Skip to content

Instantly share code, notes, and snippets.

{
"images": {
"base-images": [],
"cdh-images": [
{
"created": 1733446330,
"published": 1733466531,
"date": "2024-12-06",
"description": "7.3.1.0 Base Release",
"images": {
@keyki
keyki / khorvath-731-catalog.json
Last active December 4, 2024 07:46
khorvath-731-catalog
{
"images": {
"base-images": [],
"cdh-images": [
{
"created": 1721699963,
"published": 1721751798,
"date": "2024-07-23",
"description": "7.2.18.200 OS Update Release",
"images": {
@keyki
keyki / post-script
Last active November 25, 2016 08:07
recipes
#!/bin/bash
echo Post-start: $(date) >> /tmp/datetime.log
@keyki
keyki / memory.c
Last active October 22, 2015 10:40 — forked from tuxdna/memory.c
Simple C program to check allocated memory limit on a machine
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char* argv[]) {
const int KB = 1024; /* bytes */
const int MB = 1024 * KB; /* bytes */
const int GB = 1024 * MB; /* bytes */
long size = 0;
void *p = NULL;
@keyki
keyki / hadoop_tests
Created May 20, 2015 15:13
hadoop_tests
#!/bin/bash
##################################################################################################################
# dfsio writes to the local file system, so the hdfs user should have permission to write to the actual dir
##################################################################################################################
export HADOOP_LIBS=/usr/hdp/current/hadoop-mapreduce-client
export JAR_EXAMPLES=$HADOOP_LIBS/hadoop-mapreduce-examples.jar
export JAR_JOBCLIENT=$HADOOP_LIBS/hadoop-mapreduce-client-jobclient.jar