packages feed

hadoop-streaming 0.2.0.1 → 0.2.0.2

raw patch · 7 files changed

+29/−4 lines, 7 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for hadoop-streaming +## 0.2.0.1 -- 2020-04-06++* Add test files to the tarball.+ ## 0.2.0.1 -- 2020-04-05  * Fix a broken link.
hadoop-streaming.cabal view
@@ -1,7 +1,7 @@ cabal-version:       2.4  name:                hadoop-streaming-version:             0.2.0.1+version:             0.2.0.2 synopsis:            A simple Hadoop streaming library description:   A simple Hadoop streaming library based on <https://hackage.haskell.org/package/conduit conduit>,@@ -21,6 +21,8 @@ extra-source-files:     CHANGELOG.md     README.md+    test/resource/*.in+    test/resource/*.out  source-repository head   type: git
test/hspec/HadoopStreamingSpec.hs view
@@ -22,7 +22,7 @@   describe "Testing HadoopStreaming" $ do     it "test case 1 - mapper" $ do       let fin = "test/resource/1.in"-          fout = "test/resource/1.mapper-out"+          fout = "test/resource/1.mapper.out"       actual <- withFile fin ReadMode $ \hin ->         withTempFile $ \temp -> do           withFile temp WriteMode $ \hout -> do@@ -43,7 +43,7 @@      it "test case 1 - reducer" $ do       let fin = "test/resource/1.in"-          fout = "test/resource/1.reducer-out"+          fout = "test/resource/1.reducer.out"       actual <- withFile fin ReadMode $ \hin ->         withTempFile $ \temp -> do           withFile temp WriteMode $ \hout -> do@@ -64,7 +64,7 @@      it "test case 1 - mapper - odd keys" $ do       let fin = "test/resource/1.in"-          fout = "test/resource/1.mapper-out-oddkeys"+          fout = "test/resource/1.mapper.oddkeys.out"       actual <- withFile fin ReadMode $ \hin ->         withTempFile $ \temp -> do           withFile temp WriteMode $ \hout -> do
+ test/resource/1.in view
@@ -0,0 +1,6 @@+(3,8)+(3,9)+(3,10)+(4,5)+(4,6)+(5,10)
+ test/resource/1.mapper.oddkeys.out view
@@ -0,0 +1,4 @@+1003, 108+1003, 109+1003, 110+1005, 110
+ test/resource/1.mapper.out view
@@ -0,0 +1,6 @@+1003, 108+1003, 109+1003, 110+1004, 105+1004, 106+1005, 110
+ test/resource/1.reducer.out view
@@ -0,0 +1,3 @@+3, 27+4, 11+5, 10