Skip to content

Instantly share code, notes, and snippets.

View serihiro's full-sized avatar

Kazuhiro Serizawa serihiro

View GitHub Profile
@serihiro
serihiro / note.md
Last active January 17, 2019 02:52
digdagのUTからtaskが実際に実行されるまでの流れ

これは何か

  • treasure-data/digdag#701 このバグを自分で報告したので自分で直せるかなと思ってdigdagのretry機構を調べようした
  • そしたら、そもそもdigdagの全体像が全く分からないことに気付いた
  • テストコードを適当に見ていったらWorkflowExecutorTest.retryOnGroupingTask()のテストケースが、実際にdigファイルを渡してworkflowを実行するテストケースだったので、コレを使ってどのようにdigdagがworkflowを実行しているのかをまず調べることにした <- イマココ

雑に当たりをつけて見つけたoperatorにおけるretry実装箇所

@serihiro
serihiro / note.md
Created December 28, 2017 11:23
TD productに関する開発メモ
@serihiro
serihiro / note.md
Last active January 5, 2018 01:17
PR出してぇネタ

minioのdoc

Rails guideのメンテバージョンが古い

@serihiro
serihiro / gist:59c8c819742b92cf52939f50d64cbfec
Last active March 9, 2018 06:52
google drive rubyにPR出したいポイント
@serihiro
serihiro / design_doc.md
Last active November 18, 2017 00:51
Simple MapReduce Design

Driver script image

require 'simple_map_reduce'

c = SimpleMapReduce::Driver::Config.new
job = SimpleMapReduce::Driver::Job.new(config: c)
job.map_task = map_task_object
job.reduce_task = map_task_object
job.input_s3_file_path = 's3://....'
@serihiro
serihiro / destroy_all_secrets.sh
Created October 20, 2017 08:33
digdagのsecretsを全て削除する1 liner
digdag secrets --project mydag | for secret in `sed -n '1,$p'`; do digdag secrets --project mydag --delete $secret; done
@serihiro
serihiro / note.md
Last active September 30, 2017 12:27
spark build on mac note
@serihiro
serihiro / note.md
Last active September 30, 2017 04:30
hadoop build on mac note

my env

$ system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: OS X 10.11.6 (15G1611)
 Kernel Version: Darwin 15.6.0
@serihiro
serihiro / asf_jira_note.md
Last active September 30, 2017 01:48
JIRA
project in('HADOOP','HDFS','MAPREDUCE','YARN') AND status = 'Open' AND labels='newbie' AND assignee is EMPTY