Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am costin on github.
  • I am costin (https://keybase.io/costin) on keybase.
  • I have a public key whose fingerprint is 0ACE 6EBC E8F4 6134 0CC3 A5DE C532 9F68 789E DE0C

To claim this, I am signing this object:

package demo;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.MapWritable;
@costin
costin / 1-trial input
Created December 16, 2013 10:12
Output from running Cascalog Experiment/Example with Elasticsearch Hadoop
;; lein run -m trial.input
04:27:11,920 INFO main util.HadoopUtil - resolving application jar from found main method on: clojure.main
04:27:11,922 INFO main planner.HadoopPlanner - using application jar: /root/.m2/repository/org/clojure/clojure/1.5.1/clojure-1.5.1.jar
04:27:11,932 INFO main property.AppProps - using app.id: B395F55317CB44779C61FF6B9243266D
04:27:12,447 INFO flow write-to-ES util.Version - Concurrent, Inc - Cascading 2.5.1
04:27:12,451 INFO flow write-to-ES flow.Flow - [write-to-ES] starting
04:27:12,451 INFO flow write-to-ES flow.Flow - [write-to-ES] source: Lfs["TextDelimited[['id', 'name', 'url', 'picture']]"]["resources/artists.dat"]
04:27:12,451 INFO flow write-to-ES flow.Flow - [write-to-ES] sink: ESHadoopTap["ESHadoopScheme[['name', 'url', 'picture']]"]["radio/artists"]
04:27:12,451 INFO flow write-to-ES flow.Flow - [write-to-ES] parallel execution is enabled: false
@costin
costin / MahoutTests-context.xml
Created September 24, 2012 14:08
Mahout SHDP Tool Config
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:hdp="http://www.springframework.org/schema/hadoop"
xmlns:batch="http://www.springframework.org/schema/batch"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/hadoop http://www.springframework.org/schema/hadoop/spring-hadoop.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">