summaryrefslogtreecommitdiff
path: root/hadoop/streaming/mapper_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'hadoop/streaming/mapper_test.py')
-rw-r--r--hadoop/streaming/mapper_test.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/hadoop/streaming/mapper_test.py b/hadoop/streaming/mapper_test.py
new file mode 100644
index 0000000..d358bda
--- /dev/null
+++ b/hadoop/streaming/mapper_test.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python2
+
+import sys
+
+
+if __name__ == "__main__":
+ for line in sys.stdin:
+ print line.upper()
+