Skip to content

Instantly share code, notes, and snippets.

@hav
hav / MultipleOutputs.scala
Created October 20, 2020 11:19 — forked from silasdavis/MultipleOutputs.scala
Wrapping OutputFormat to produce multiple outputs with hadoop MultipleOutputs
/**
* This file contains the core idea of wrapping an underlying OutputFormat with an OutputFormat
* with an augmented key that writes to partitions using MultipleOutputs (or something similar)
*/
package model.hadoop
import model.hadoop.HadoopIO.MultipleOutputer
import model.hadoop.HadoopIO.MultipleOutputer._
import org.apache.hadoop.io.{DataInputBuffer, NullWritable}
@hav
hav / keybase.md
Last active April 16, 2019 06:39

Keybase proof

I hereby claim:

  • I am hav on github.
  • I am farshid (https://keybase.io/farshid) on keybase.
  • I have a public key ASCdxAj20Hqm6ceGikCIT5omS9pTDcc_YzbW8k97USNKUQo

To claim this, I am signing this object:

{
"caret_extra_width": 0,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/User/Flatland Monokai (SL).tmTheme",
"copy_with_empty_selection": false,
"drag_text": false,
"draw_minimap_border": true,
"enable_tab_scrolling": false,
"flatland_square_tabs": true,