{"id":7490,"date":"2013-07-11T06:20:30","date_gmt":"2013-07-10T21:20:30","guid":{"rendered":"http:\/\/fukata.org\/?p=7490"},"modified":"2017-08-11T22:58:47","modified_gmt":"2017-08-11T22:58:47","slug":"elastic-mapreduce-ruby-multiple-input","status":"publish","type":"post","link":"https:\/\/blog.fukata.org\/archives\/7490\/","title":{"rendered":"elastic-mapreduce-ruby\u3067–input\u3092\u8907\u6570\u6307\u5b9a\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"

\u6700\u8fd1\u3001\u4ed5\u4e8b\u3067EMR\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u8abf\u3079\u3066\u3044\u305f\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\u3063\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n

\u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u306a\u3093\u3067\u3059\u3051\u3069\u3001elastic-mapreduce-ruby<\/a>\u3067–input\u3092\u8907\u6570\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u3093\u3067\u3059\u304c\u3001\u89e3\u6c7a\u3057\u307e\u3057\u305f\u3002\u307e\u3041\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u5358\u7d14\u306b\u30ab\u30f3\u30de\u533a\u5207\u308a\u306b\u6307\u5b9a\u3059\u308c\u3070\u3088\u304b\u3063\u305f\u3068\u3044\u3046\u30aa\u30c1\u3067\u3057\u305f\u3002<\/p>\n

\r\nelastic-mapreduce --create --stream \\\r\n--mapper s3n:\/\/bucket\/path\/to\/mapper \\\r\n--reducer s3n:\/\/bucket\/path\/to\/reducer \\\r\n--master-instance-type m1.small \\\r\n--slave-instance-type m1.small \\\r\n--num-instances 3 \\\r\n--input s3n:\/\/bucket\/path\/to\/dir1\/*,s3n:\/\/bucket\/path\/to\/dir2\/*\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u6700\u8fd1\u3001\u4ed5\u4e8b\u3067EMR\u3092\u4f7f\u3046\u3088\u3046\u306b\u306a\u3063\u3066\u8abf\u3079\u3066\u3044\u305f\u3053\u3068\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\u3063\u3066\u304a\u304d\u307e\u3059\u3002 \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u306a\u3093\u3067\u3059\u3051\u3069\u3001elastic-mapreduce-ruby\u3067–input\u3092\u8907\u6570\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u304c … \u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":9223372036854775807,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1980],"tags":[1040,1039],"_links":{"self":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts\/7490"}],"collection":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/comments?post=7490"}],"version-history":[{"count":0,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/posts\/7490\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/media\/9223372036854775807"}],"wp:attachment":[{"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/media?parent=7490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/categories?post=7490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.fukata.org\/wp-json\/wp\/v2\/tags?post=7490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}