Skip to content

Instantly share code, notes, and snippets.

View saikiranrgda's full-sized avatar

Sai Kiran Kanuri saikiranrgda

  • Skyflow
  • Bangalore, India
  • 00:35 (UTC +05:30)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am saikiranrgda on github.
  • I am skanuri (https://keybase.io/skanuri) on keybase.
  • I have a public key ASCN6WhcqSWn9aiOkMoYCe-4Cbe6-EsClVyXCAcAg3D8zQo

To claim this, I am signing this object:

@saikiranrgda
saikiranrgda / error
Created April 24, 2015 10:36
ridley Run_list test
./ridley_test.rb
W, [2015-04-24T10:34:27.932500 #581] WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:receiving
Celluloid::TaskFiber backtrace unavailable. Please try `Celluloid.task_class = Celluloid::TaskThread` if you need backtraces here.
W, [2015-04-24T10:34:27.933374 #581] WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:receiving
Celluloid::TaskFiber backtrace unavailable. Please try `Celluloid.task_class = Celluloid::TaskThread` if you need backtraces here.
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ridley-4.1.2/lib/ridley/middleware/chef_response.rb:24:in `on_complete': {"error":["Field 'run_list' is not a valid run list"]} (Ridley::Errors::HTTPBadRequest)
from /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/faraday-0.9.1/lib/faraday/response.rb:9:in `block in call'
from /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/faraday-0.9.1/lib/faraday/response.rb:57:in `on_complete'
from /opt/chef/embedded/lib/ruby/gems/2.1.0/g
@saikiranrgda
saikiranrgda / hive-lspe-in-edit
Created March 14, 2015 10:12
hive-lspe-in-edit
create table test1.employees (
name string,
age int,
address struct<street:string, state:string, country:string, zip:int>)
PARTITIONED BY (country string,state string)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ','
COLLECTION ITEMS TERMINATED BY '\;'
STORED AS TEXTFILE;
# Chef Recipe
execute 'stop_proc' do
command 'stop_proc'
user 'gmon'
only_if { starling_oozie_job_down? }
end
# Chef Libraries helper
def initialize_kerberos(keytab, principle)
require 'chefspec'
require 'chefspec/berkshelf'
describe 'runbook::recipe' do
context 'invalid workflow id' do
let(:chef_run) { ChefSpec::SoloRunner.converge(described_recipe) }
before do
allow(File).to receive(:read).and_call_original