Skip to content

Instantly share code, notes, and snippets.

View jeevandongre's full-sized avatar
🎯
Focusing

jeevan dongre jeevandongre

🎯
Focusing
View GitHub Profile

Kafka installation with systemd

0. Create kafka user

sudo adduser kafka
sudo adduser kafka sudo
su -l kafka

1. Download and Install kafka archive

@ashrithr
ashrithr / cdh5_mr2_installation.md
Last active February 16, 2017 09:27
Installing YARN (MR2) On CentOS

###Pre-Req's:

Installing Cloudera Repo on all nodes that you'll install hadoop daemons on:

sudo cat > /etc/yum.repos.d/cloudera.repo <<EOF
[cloudera-cdh5]
# Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat	or CentOS 6 x86_64
name=Cloudera's Distribution for Hadoop, Version 5
baseurl=http://archive.cloudera.com/cdh5/redhat/6/x86_64/cdh/5/
@suryart
suryart / statement.rb
Created October 29, 2012 18:42
Travel Allowance Statement generation Script
t1 = (Time.now-6.months).beginning_of_month # Start Date Time
t2 = (Time.now).end_of_month # End Date and Time
t = t1
amounts = [155, 140, 160]
from = "Banashankari 3rd Satge, Vyalikaval"
to = "Vyalikaval, Banashankari 3rd Satge"
month = t.month
year = t.year
leaves = {"26/01/2012" => "Republic Day", "23/03/2012" => "Chandramana Ugadi", "01/05/2012" => "May Day", "15/08/2012" => "Independence Day", "19/09/2012" => "Ganesha Chaturthi", "02/10/2012" => "Gandhi Jayanti", "23/10/2012" => "Audha Pooja", "01/11/2012" => "Kannada Rajyotsava", "12/11/2012" => "Naraka Chaturdashi", "14/11/2012" => "Balipadyami" }