Skip to content

Instantly share code, notes, and snippets.

View danieltahara's full-sized avatar

Daniel Tahara danieltahara

View GitHub Profile
@danieltahara
danieltahara / errors
Created September 23, 2019 17:07
hbase
"error_msg": "IOError(message=b\"org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:\\nMon Sep 23 17:01:53 UTC 2019, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=60108: Call to ip-172-31-36-201.us-west-2.compute.internal/172.31.36.201:16020 failed on local exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=1070690, waitTime=60008, rpcTimetout=60000 row '414913331#1569257100000' on table 'source_native' at region=source_native,4052#153632595,1565847349122.5dae836fc0cf76b2ebcf59f25c46ca83., hostname=ip-172-31-36-201.us-west-2.compute.internal,16020,1569104584186, seqNum=1697883\\n\\n\\tat org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.throwEnrichedException(RpcRetryingCallerWithReadReplicas.java:329)\\n\\tat org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:242)\\n\\tat org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithRepli
travis@travis-job-e6426c88-92df-49ae-877f-3d54f78d5921:~/build/CarbonLighthouse/dido2$ time /home/travis/virtualenv/python3.6.7/bin/python -m pip install -vvv --no-deps --index-url https://pypi.clues.cl/simple entrypoints==0.1 |& tee /tmp/out
Created temporary directory: /tmp/pip-ephem-wheel-cache-3gbga4z4
Created temporary directory: /tmp/pip-req-tracker-95vxdyao
Created requirements tracker '/tmp/pip-req-tracker-95vxdyao'
Created temporary directory: /tmp/pip-install-o35qgzrm
Looking in indexes: https://pypi.clues.cl/simple
Collecting entrypoints==0.1
1 location(s) to search for versions of entrypoints:
* https://pypi.clues.cl/simple/entrypoints/
Getting page https://pypi.clues.cl/simple/entrypoints/
@danieltahara
danieltahara / diff
Created August 8, 2013 23:38
Diff for baseline changes + other edits
diff --git a/aarunner/src/aarunner.coffee b/aarunner/src/aarunner.coffee
index fa7cd35..78a4c9b 100755
--- a/aarunner/src/aarunner.coffee
+++ b/aarunner/src/aarunner.coffee
@@ -74,15 +74,15 @@ if argv.help
randomName = () ->
[new Date().getTime(), '-', (Math.random() * 0x100000000 + 1).toString(36)].join ''
-determineRev = (rev) ->
+determineRev = (vcs, rev) ->
@danieltahara
danieltahara / ImageMagick Diffing
Last active December 20, 2015 18:29
From Brett Slakin's dpxdt + ImageMagick
# Method from http://www.imagemagick.org/Usage/compare/
return [
'compare',
'-verbose',
'-metric',
'RMSE',
'-highlight-color',
'Red',
'-compose',
'Src',
@danieltahara
danieltahara / gist:3113662
Created July 14, 2012 22:11
Mongodb - Indexing Embedded Documents
Indexing on Embedded Fields("Dot Notation")
With MongoDB you can even index on a key inside of an embedded document. Reaching into sub-documents is referred to as Dot Notation. For example:
db.things.ensureIndex({"address.city": 1})
@danieltahara
danieltahara / test_task.rake
Created June 22, 2012 18:05
practice rake file
task :greet do
puts "hello"
end
task :ask => [:greet, :question] do
puts "how are you?"
end
task :question do
puts "who are you?"
@danieltahara
danieltahara / ohmyzsh-dropbox-sync.sh
Created May 31, 2012 07:46 — forked from robbyrussell/ohmyzsh-dropbox-sync.sh
Keep your @ohmyzsh ~/.zshrc in sync via dropbox
# Was asked how I keep my zshrc config sync'd between my computers with Dropbox
# Add a new directory in your Dropbox (or use an existing one)
mkdir -p ~/Dropbox/ohmyzsh
# move existing file to Dropbox
mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc
# symlink file back to your local directory
ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc