diff options
author | Ellen Spertus <ellen.spertus@gmail.com> | 2018-07-17 14:37:00 -0700 |
---|---|---|
committer | Ellen Spertus <ellen.spertus@gmail.com> | 2018-07-17 14:37:00 -0700 |
commit | 258abaf0f74c07b0de59c95d77f614a6d28447eb (patch) | |
tree | 2c8651138b0475e601768f1898f3617c551ccec2 /scalding/src | |
parent | 3e6432307c4e85598cf63ab8578fd678ba9df156 (diff) | |
download | sandcrawler-258abaf0f74c07b0de59c95d77f614a6d28447eb.tar.gz sandcrawler-258abaf0f74c07b0de59c95d77f614a6d28447eb.zip |
Added import order checking. Fixed misordered imports in our code.
Diffstat (limited to 'scalding/src')
3 files changed, 2 insertions, 4 deletions
diff --git a/scalding/src/main/scala/sandcrawler/HBaseCountJob.scala b/scalding/src/main/scala/sandcrawler/HBaseCountJob.scala index 1ebc261..e1f46ef 100644 --- a/scalding/src/main/scala/sandcrawler/HBaseCountJob.scala +++ b/scalding/src/main/scala/sandcrawler/HBaseCountJob.scala @@ -5,8 +5,8 @@ import cascading.tuple.Fields import com.twitter.scalding._ import java.util.Properties import parallelai.spyglass.base.JobBase -import parallelai.spyglass.hbase.{HBaseSource, HBasePipeConversions} import parallelai.spyglass.hbase.HBaseConstants.SourceMode +import parallelai.spyglass.hbase.{HBaseSource, HBasePipeConversions} class HBaseCountJob(args: Args, colSpec: String) extends JobBase(args) with HBasePipeConversions { val output = args("output") diff --git a/scalding/src/main/scala/sandcrawler/HBaseRowCountJob.scala b/scalding/src/main/scala/sandcrawler/HBaseRowCountJob.scala index ba3b9cd..41de719 100644 --- a/scalding/src/main/scala/sandcrawler/HBaseRowCountJob.scala +++ b/scalding/src/main/scala/sandcrawler/HBaseRowCountJob.scala @@ -5,8 +5,8 @@ import cascading.tuple.Fields import com.twitter.scalding._ import java.util.Properties import parallelai.spyglass.base.JobBase -import parallelai.spyglass.hbase.{HBaseSource, HBasePipeConversions} import parallelai.spyglass.hbase.HBaseConstants.SourceMode +import parallelai.spyglass.hbase.{HBaseSource, HBasePipeConversions} class HBaseRowCountJob(args: Args) extends JobBase(args) with HBasePipeConversions { diff --git a/scalding/src/main/scala/sandcrawler/HBaseStatusCountJob.scala b/scalding/src/main/scala/sandcrawler/HBaseStatusCountJob.scala index dbd444d..b1dab0e 100644 --- a/scalding/src/main/scala/sandcrawler/HBaseStatusCountJob.scala +++ b/scalding/src/main/scala/sandcrawler/HBaseStatusCountJob.scala @@ -1,6 +1,5 @@ package sandcrawler - import com.twitter.scalding.Args import com.twitter.scalding._ import com.twitter.scalding.typed.TDsl._ @@ -9,7 +8,6 @@ import org.apache.hadoop.hbase.util.Bytes import parallelai.spyglass.base.JobBase import parallelai.spyglass.hbase.HBasePipeConversions - class HBaseStatusCountJob(args: Args) extends JobBase(args) with HBasePipeConversions { val source = HBaseCountJob.getHBaseSource(args("hbase-table"), |