diff options
author | Antonios Chalkiopoulos <Antwnis@gmail.com> | 2014-08-22 19:09:55 +0100 |
---|---|---|
committer | Antonios Chalkiopoulos <Antwnis@gmail.com> | 2014-08-22 19:09:55 +0100 |
commit | 1ae61f8fd770acd19aa58133618b0d98a56cfcf2 (patch) | |
tree | 8e58798045897644828732660adcff71eb1479a8 /src/main/scala/parallelai | |
parent | 83af28c8aa3ba707340b752dd7b619c92d1c5067 (diff) | |
download | SpyGlass-1ae61f8fd770acd19aa58133618b0d98a56cfcf2.tar.gz SpyGlass-1ae61f8fd770acd19aa58133618b0d98a56cfcf2.zip |
Preparation for CDH5.1 - HBase 0.98.1
Diffstat (limited to 'src/main/scala/parallelai')
-rw-r--r-- | src/main/scala/parallelai/spyglass/hbase/example/HBaseExample.scala | 7 | ||||
-rw-r--r-- | src/main/scala/parallelai/spyglass/hbase/example/HBaseExampleRunner.scala | 11 |
2 files changed, 3 insertions, 15 deletions
diff --git a/src/main/scala/parallelai/spyglass/hbase/example/HBaseExample.scala b/src/main/scala/parallelai/spyglass/hbase/example/HBaseExample.scala index 13c75d6..d8889c2 100644 --- a/src/main/scala/parallelai/spyglass/hbase/example/HBaseExample.scala +++ b/src/main/scala/parallelai/spyglass/hbase/example/HBaseExample.scala @@ -1,10 +1,5 @@ package parallelai.spyglass.hbase.example -import org.apache.hadoop.conf.Configuration -import org.apache.hadoop.hbase.HBaseConfiguration -import org.apache.hadoop.hbase.client.HConnectionManager -import org.apache.hadoop.hbase.client.HTable -import org.apache.hadoop.hbase.util.Bytes import org.apache.log4j.Level import org.apache.log4j.Logger import com.twitter.scalding._ @@ -12,8 +7,6 @@ import com.twitter.scalding.Args import parallelai.spyglass.base.JobBase import parallelai.spyglass.hbase.HBaseSource import parallelai.spyglass.hbase.HBaseConstants.SourceMode -import org.apache.hadoop.hbase.client.Put -import parallelai.spyglass.hbase.HBaseSalter class HBaseExample(args: Args) extends JobBase(args) { diff --git a/src/main/scala/parallelai/spyglass/hbase/example/HBaseExampleRunner.scala b/src/main/scala/parallelai/spyglass/hbase/example/HBaseExampleRunner.scala index c503247..b8f7da4 100644 --- a/src/main/scala/parallelai/spyglass/hbase/example/HBaseExampleRunner.scala +++ b/src/main/scala/parallelai/spyglass/hbase/example/HBaseExampleRunner.scala @@ -1,14 +1,9 @@ package parallelai.spyglass.hbase.example -import com.twitter.scalding.Tool -import org.joda.time.format.DateTimeFormat -import java.util.Formatter.DateTime import parallelai.spyglass.base.JobRunner import org.apache.hadoop.conf.Configuration -import org.apache.hadoop.hbase.{HColumnDescriptor, HTableDescriptor, HBaseConfiguration} -import org.apache.hadoop.hbase.client.{Put, HTable, HConnectionManager, HBaseAdmin} -import org.apache.hadoop.hbase.io.hfile.Compression -import org.apache.hadoop.hbase.regionserver.StoreFile +import org.apache.hadoop.hbase.HBaseConfiguration +import org.apache.hadoop.hbase.client.{Put, HTable, HConnectionManager} import org.apache.hadoop.hbase.util.Bytes import parallelai.spyglass.hbase.HBaseSalter @@ -71,4 +66,4 @@ object HBaseExampleRunner extends App { "--output", output, "--debug", "true", "--job.lib.path", jobLibPath, "--quorum", quorum)) -}
\ No newline at end of file +} |