diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-05-21 17:16:37 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-05-21 17:16:37 -0700 |
commit | 3b6ce6d7c612be58fde1a2e5b73a461af19290b2 (patch) | |
tree | cb577813de4b860921d169adec60a3efb38c59db /src/main/scala | |
parent | 77bfa94c539ea861befa91c1d0479bccd5febc71 (diff) | |
download | SpyGlass-3b6ce6d7c612be58fde1a2e5b73a461af19290b2.tar.gz SpyGlass-3b6ce6d7c612be58fde1a2e5b73a461af19290b2.zip |
patch a failing test (due to syntax deprecation)
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/parallelai/spyglass/hbase/testing/HBaseSaltTester.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/parallelai/spyglass/hbase/testing/HBaseSaltTester.scala b/src/main/scala/parallelai/spyglass/hbase/testing/HBaseSaltTester.scala index fb91f65..fa20815 100644 --- a/src/main/scala/parallelai/spyglass/hbase/testing/HBaseSaltTester.scala +++ b/src/main/scala/parallelai/spyglass/hbase/testing/HBaseSaltTester.scala @@ -88,7 +88,7 @@ class HBaseSaltTester (args: Args) extends JobBase(args) with HBasePipeConversio val splitType = if(args.getOrElse("regional", "true").toBoolean) SplitType.REGIONAL else SplitType.GRANULAR val testName01 = "Scan All with NO useSalt" - val list01 = (00000 to 99999).toList.map(x => ("" + (x%10) + "_" + "%010d".format(x), "" + (x%10) + "_" + "%010d".format(x), "%010d".format(x))) + val list01 = (0 to 99999).toList.map(x => ("" + (x%10) + "_" + "%010d".format(x), "" + (x%10) + "_" + "%010d".format(x), "%010d".format(x))) val hbase01 = new HBaseSource( "_TEST.SALT.01", quorum, 'key, TABLE_SCHEMA.tail.map((x: Symbol) => "data"), TABLE_SCHEMA.tail.map((x: Symbol) => new Fields(x.name)), @@ -326,4 +326,4 @@ class HBaseSaltTestShutdown (args: Args) extends JobBase(args) with HBasePipeCon TABLE_SCHEMA.tail.map((x: Symbol) => "data"), TABLE_SCHEMA.tail.map((x: Symbol) => new Fields(x.name)), sinkMode = SinkMode.REPLACE )) } -}
\ No newline at end of file +} |