You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Gauthier Feuillen <ga...@dataroots.io> on 2018/02/21 15:07:21 UTC
Hbase integration testing
Hi,
I’d like to be able to unit test my HBase application. I see a lot of posts using the HBaseTestingUtility. I can’t get it into my project. Which dependency(ies) should I use ?
Best,
Gauthier.
Re: Hbase integration testing
Posted by Ted Yu <yu...@gmail.com>.
HBaseTestingUtility is in hbase-server module.
You can add hbase-server module with test scope.
On Wed, Feb 21, 2018 at 7:07 AM, Gauthier Feuillen <ga...@dataroots.io>
wrote:
> Hi,
>
> I’d like to be able to unit test my HBase application. I see a lot of
> posts using the HBaseTestingUtility. I can’t get it into my project. Which
> dependency(ies) should I use ?
>
> Best,
> Gauthier.
Re: Hbase integration testing
Posted by Gauthier Feuillen <ga...@dataroots.io>.
Nothing, the class is just not available in my project ...
> On 21 Feb 2018, at 17:36, Debraj Manna <su...@gmail.com> wrote:
>
> What is the error you are getting?
>
> On 21-Feb-2018 9:51 PM, "Gauthier Feuillen" <ga...@dataroots.io> wrote:
>
>> Yeah I already tested that (thanks for the help btw)
>>
>> Here are my dependencies:
>>
>> ————
>> lazy val hbaseTesting = "org.apache.hbase" % "hbase-testing-util" %
>> version % Test
>> lazy val hbaseServerTest = "org.apache.hbase" % "hbase-server" % version %
>> Test
>>
>> lazy val hbaseTestDependencies = Seq(hbaseTesting, hbaseServerTest)
>> ————
>>
>> See anything unusual ?
>>
>>
>>> On 21 Feb 2018, at 17:11, Debraj Manna <su...@gmail.com> wrote:
>>>
>>> Use hbase-testing-util
>>>
>>> https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
>>>
>>> On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" <ga...@dataroots.io>
>> wrote:
>>>
>>>> I did that but still the class is not available. Strange.
>>>>
>>>>> On 21 Feb 2018, at 17:08, Debraj Manna <su...@gmail.com>
>> wrote:
>>>>>
>>>>> You have to use hbase-testing-util dependency. Check the below
>> discussion
>>>>> in stackoverflow
>>>>>
>>>>> https://stackoverflow.com/q/48114833/785523
>>>>>
>>>>> On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I’d like to be able to unit test my HBase application. I see a lot of
>>>> posts
>>>>> using the HBaseTestingUtility. I can’t get it into my project. Which
>>>>> dependency(ies) should I use ?
>>>>>
>>>>> Best,
>>>>> Gauthier.
>>>>
>>>>
>>
>>
Re: Hbase integration testing
Posted by Debraj Manna <su...@gmail.com>.
What is the error you are getting?
On 21-Feb-2018 9:51 PM, "Gauthier Feuillen" <ga...@dataroots.io> wrote:
> Yeah I already tested that (thanks for the help btw)
>
> Here are my dependencies:
>
> ————
> lazy val hbaseTesting = "org.apache.hbase" % "hbase-testing-util" %
> version % Test
> lazy val hbaseServerTest = "org.apache.hbase" % "hbase-server" % version %
> Test
>
> lazy val hbaseTestDependencies = Seq(hbaseTesting, hbaseServerTest)
> ————
>
> See anything unusual ?
>
>
> > On 21 Feb 2018, at 17:11, Debraj Manna <su...@gmail.com> wrote:
> >
> > Use hbase-testing-util
> >
> > https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
> >
> > On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" <ga...@dataroots.io>
> wrote:
> >
> >> I did that but still the class is not available. Strange.
> >>
> >>> On 21 Feb 2018, at 17:08, Debraj Manna <su...@gmail.com>
> wrote:
> >>>
> >>> You have to use hbase-testing-util dependency. Check the below
> discussion
> >>> in stackoverflow
> >>>
> >>> https://stackoverflow.com/q/48114833/785523
> >>>
> >>> On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io>
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I’d like to be able to unit test my HBase application. I see a lot of
> >> posts
> >>> using the HBaseTestingUtility. I can’t get it into my project. Which
> >>> dependency(ies) should I use ?
> >>>
> >>> Best,
> >>> Gauthier.
> >>
> >>
>
>
Re: Hbase integration testing
Posted by Gauthier Feuillen <ga...@dataroots.io>.
While in the project of interest :
[info] common-library/*:clean = Task[Unit]
[info] +-common-library/*:clean::streams = Task[sbt.std.TaskStreams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] | +-*/*:streamsManager = Task[sbt.std.Streams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] |
[info] +-common-library/*:cleanFiles = Task[scala.collection.Seq[java.io.File]]
[info] | +-common-library/*:cleanKeepFiles = Vector(/home/gfeuillen/projects/my-project/common-library/target/.history)
[info] | | +-common-library/*:history = Some(/home/gfeuillen/projects/my-project/common-library/target/.history)
[info] | | +-common-library/*:target = common-library/target
[info] | | +-common-library/*:baseDirectory = common-library
[info] | | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configuratio..
[info] | |
[info] | +-{.}/*:managedDirectory = lib_managed
[info] | +-common-library/*:target = common-library/target
[info] | +-common-library/*:baseDirectory = common-library
[info] | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configurations: ..
[info] |
[info] +-common-library/*:ivyModule = Task[sbt.internal.librarymanagement.IvySbt#sbt.internal.librarymanagement.IvySbt$Module]
[info] +-common-library/*:ivySbt = Task[sbt.internal.librarymanagement.IvySbt]
[info] | +-*/*:credentials = Task[scala.collection.Seq[sbt.librarymanagement.ivy.Credentials]]
[info] | +-common-library/*:ivyConfiguration = Task[sbt.librarymanagement.ivy.IvyConfiguration]
[info] | | +-*/*:appConfiguration = xsbt.boot.AppConfiguration@163697a8
[info] | | +-common-library/*:crossTarget = common-library/target/scala-2.11
[info] | | | +-*/*:crossPaths = true
[info] | | | +-common-library/*:pluginCrossBuild::sbtBinaryVersion = 1.0
[info] | | | | +-*/*:pluginCrossBuild::sbtVersion = 1.0.3
[info] | | | |
[info] | | | +-*/*:sbtPlugin = false
[info] | | | +-common-library/*:scalaBinaryVersion = 2.11
[info] | | | | +-common-library/*:scalaVersion = 2.11.12
[info] | | | |
[info] | | | +-common-library/*:target = common-library/target
[info] | | | +-common-library/*:baseDirectory = common-library
[info] | | | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configurat..
[info] | | |
[info] | | +-common-library/*:fullResolvers = Task[scala.collection.Seq[sbt.librarymanagement.Resolver]]
[info] | | | +-common-library/*:bootResolvers = Task[scala.Option[scala.collection.Seq[sbt.librarymanagement.Resolver]]]
[info] | | | | +-*/*:appConfiguration = xsbt.boot.AppConfiguration@163697a8
[info] | | | |
[info] | | | +-common-library/*:externalResolvers = Task[scala.collection.Seq[sbt.librarymanagement.Resolver]]
[info] | | | | +-common-library/*:appResolvers = Some(Vector(FileRepository(local, Patterns(ivyPatterns=Vector(${ivy.home}/local/[organisation]/[module]/(scala_[s..
[info] | | | | | +-*/*:appConfiguration = xsbt.boot.AppConfiguration@163697a8
[info] | | | | | +-*/*:useJCenter = false
[info] | | | | |
[info] | | | | +-common-library/*:resolvers = Vector(Mapr maven repository: http://repository.mapr.com/maven/, Mvn repository: https://repository.jboss.org/nexus/..
[info] | | | | +-*/*:useJCenter = false
[info] | | | |
[info] | | | +-common-library/*:overrideBuildResolvers = false
[info] | | | | +-*/*:appConfiguration = xsbt.boot.AppConfiguration@163697a8
[info] | | | |
[info] | | | +-common-library/*:projectResolver = Task[sbt.librarymanagement.Resolver]
[info] | | | | +-common-library/*:projectDescriptors = Task[scala.collection.immutable.Map[org.apache.ivy.core.module.id.ModuleRevisionId, org.apache.ivy.core.mod..
[info] | | | | +-*/*:buildDependencies = sbt.internal.BuildDependencies@3847fe81
[info] | | | | +-common-library/*:projectDescriptors::streams = Task[sbt.std.TaskStreams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] | | | | | +-*/*:streamsManager = Task[sbt.std.Streams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] | | | | |
[info] | | | | +-*/*:settingsData = Task[sbt.internal.util.Settings[sbt.Scope]]
[info] | | | | +-common-library/*:thisProjectRef = ProjectRef(file:/home/gfeuillen/projects/my-project/,common-library)
[info] | | | |
[info] | | | +-*/*:sbtPlugin = false
[info] | | | +-*/*:sbtResolver = URLRepository(typesafe-ivy-releases, Patterns(ivyPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[..
[info] | | |
[info] | | +-common-library/*:ivyConfiguration::streams = Task[sbt.std.TaskStreams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] | | | +-*/*:streamsManager = Task[sbt.std.Streams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] | | |
[info] | | +-common-library/*:ivyPaths = IvyPaths(/home/gfeuillen/projects/my-project/common-library, Some(/home/gfeuillen/.ivy2))
[info] | | | +-*/*:appConfiguration = xsbt.boot.AppConfiguration@163697a8
[info] | | | +-common-library/*:baseDirectory = common-library
[info] | | | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configuratio..
[info] | | |
[info] | | +-*/*:moduleConfigurations = List()
[info] | | +-common-library/*:otherResolvers = Task[scala.collection.Seq[sbt.librarymanagement.Resolver]]
[info] | | | +-*/*:publishTo = Task[scala.Option[sbt.librarymanagement.Resolver]]
[info] | | |
[info] | | +-*/*:checksums = Vector(sha1, md5)
[info] | | +-*/*:updateOptions = UpdateOptions(
[info] circularDependencyLevel = warn,
[info] latestSnapshots = true,
[info] cachedResolution = false
[info] )
[info] | |
[info] | +-common-library/*:ivySbt::streams = Task[sbt.std.TaskStreams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] | +-*/*:streamsManager = Task[sbt.std.Streams[sbt.internal.util.Init$ScopedKey[_ <: Any]]]
[info] |
[info] +-common-library/*:moduleSettings = Task[sbt.librarymanagement.ModuleSettings]
[info] +-common-library/*:allDependencies = Task[scala.collection.Seq[sbt.librarymanagement.ModuleID]]
[info] | +-common-library/*:libraryDependencies = List(org.scala-lang:scala-library:2.11.12, com.geirsson:scalafmt-core_2.12:1.3.0:scalafmt, com.lucidchart:scal..
[info] | | +-*/*:autoScalaLibrary = true
[info] | | +-*/*:managedScalaInstance = true
[info] | | +-*/*:sbtPlugin = false
[info] | | +-*/*:scalaHome = None
[info] | | +-*/*:scalaOrganization = org.scala-lang
[info] | | +-common-library/*:scalaVersion = 2.11.12
[info] | | +-common-library/*:scalafmtUseIvy = true
[info] | | +-common-library/scalafmt:libraryDependencies = List(com.geirsson:scalafmt-core_2.12:1.3.0, com.lucidchart:scalafmt-impl_2.12:1.15-1.0)
[info] | | +-{.}/*:scalafmtVersion = 1.3.0
[info] | |
[info] | +-*/*:managedScalaInstance = true
[info] | +-common-library/*:pluginCrossBuild::sbtDependency = org.scala-sbt:sbt:1.0.3
[info] | | +-*/*:appConfiguration = xsbt.boot.AppConfiguration@163697a8
[info] | | +-*/*:pluginCrossBuild::sbtVersion = 1.0.3
[info] | | +-common-library/*:scalaBinaryVersion = 2.11
[info] | | +-common-library/*:scalaVersion = 2.11.12
[info] | |
[info] | +-common-library/*:projectDependencies = Task[scala.collection.Seq[sbt.librarymanagement.ModuleID]]
[info] | | +-*/*:buildDependencies = sbt.internal.BuildDependencies@3847fe81
[info] | | +-*/*:settingsData = Task[sbt.internal.util.Settings[sbt.Scope]]
[info] | | +-common-library/*:thisProjectRef = ProjectRef(file:/home/gfeuillen/projects/my-project/,common-library)
[info] | |
[info] | +-*/*:sbtDependency = org.scala-sbt:sbt:1.0.3
[info] | +-*/*:sbtPlugin = false
[info] | +-*/*:scalaHome = None
[info] | +-common-library/*:scalaModuleInfo = Some(ScalaModuleInfo(2.11.12, 2.11, Vector(), true, false, false, org.scala-lang, Vector(scala-library, scala-comp..
[info] | | +-*/*:scalaArtifacts = Vector(scala-library, scala-compiler, scala-reflect, scala-actors, scalap)
[info] | | +-*/*:scalaOrganization = org.scala-lang
[info] | | +-common-library/*:scalafmtUseIvy = true
[info] | | +-common-library/*:scalaBinaryVersion = 2.11
[info] | | +-common-library/*:scalaVersion = 2.11.12
[info] | |
[info] | +-*/*:scalaOrganization = org.scala-lang
[info] | +-common-library/*:scalaVersion = 2.11.12
[info] |
[info] +-*/*:conflictManager = ConflictManager(latest-revision, *, *)
[info] +-*/*:defaultConfiguration = Some(compile)
[info] +-*/*:dependencyOverrides = Vector()
[info] +-*/*:excludeDependencies = List()
[info] +-common-library/*:ivyConfigurations = List(compile, runtime, test, provided, optional, compile-internal, runtime-internal, test-internal, plugin, pom, s..
[info] | +-*/*:autoCompilerPlugins = true
[info] | +-*/*:internalConfigurationMap = sbt.Defaults$$$Lambda$1392/268258490@4135b7f9
[info] | +-*/*:managedScalaInstance = true
[info] | +-*/*:scalaHome = None
[info] | +-common-library/*:scalafmtUseIvy = true
[info] | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configurations: ..
[info] |
[info] +-*/*:ivyValidate = false
[info] +-*/*:ivyXML =
[info] +-common-library/*:projectID = com.company:common-library:0.0.1-SNAPSHOT
[info] | +-*/*:apiURL = None
[info] | +-common-library/*:artifacts = List(Artifact(common-library, pom, pom, None, Vector(pom), None, Map(), None), Artifact(common-library, jar, jar, None, ..
[info] | | +-common-library/*:makePom::artifact = Artifact(common-library, pom, pom, None, Vector(pom), None, Map(), None)
[info] | | | +-common-library/*:moduleName = common-library
[info] | | | +-common-library/*:normalizedName = common-library
[info] | | | +-common-library/*:name = common-library
[info] | | | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, config..
[info] | | |
[info] | | +-common-library/*:makePom::publishArtifact = true
[info] | | | +-*/*:publishArtifact = true
[info] | | | +-*/*:publishMavenStyle = true
[info] | | |
[info] | | +-common-library/compile:packageBin::artifact = Artifact(common-library, jar, jar, None, Vector(compile), None, Map(), None)
[info] | | | +-*/*:artifactClassifier = None
[info] | | | +-common-library/compile:configuration = compile
[info] | | |
[info] | | +-*/*:publishArtifact = true
[info] | | +-common-library/compile:packageDoc::artifact = Artifact(common-library, doc, jar, Some(javadoc), Vector(compile), None, Map(), None)
[info] | | | +-*/*:packageDoc::artifactClassifier = Some(javadoc)
[info] | | | +-common-library/compile:configuration = compile
[info] | | |
[info] | | +-*/*:publishArtifact = true
[info] | | +-common-library/compile:packageSrc::artifact = Artifact(common-library, src, jar, Some(sources), Vector(compile), None, Map(), None)
[info] | | | +-*/*:packageSrc::artifactClassifier = Some(sources)
[info] | | | +-common-library/compile:configuration = compile
[info] | | |
[info] | | +-*/*:publishArtifact = true
[info] | | +-common-library/test:packageBin::artifact = Artifact(common-library, jar, jar, Some(tests), Vector(test), None, Map(), None)
[info] | | | +-*/*:artifactClassifier = None
[info] | | | +-common-library/test:configuration = test
[info] | | |
[info] | | +-*/test:publishArtifact = false
[info] | | +-common-library/test:packageDoc::artifact = Artifact(common-library, doc, jar, Some(tests-javadoc), Vector(test), None, Map(), None)
[info] | | | +-*/*:packageDoc::artifactClassifier = Some(javadoc)
[info] | | | +-common-library/test:configuration = test
[info] | | |
[info] | | +-*/test:publishArtifact = false
[info] | | +-common-library/test:packageSrc::artifact = Artifact(common-library, src, jar, Some(tests-sources), Vector(test), None, Map(), None)
[info] | | | +-*/*:packageSrc::artifactClassifier = Some(sources)
[info] | | | +-common-library/test:configuration = test
[info] | | |
[info] | | +-*/test:publishArtifact = false
[info] | |
[info] | +-common-library/*:moduleName = common-library
[info] | | +-common-library/*:normalizedName = common-library
[info] | | +-common-library/*:name = common-library
[info] | | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configurat..
[info] | |
[info] | +-common-library/*:organization = com.company
[info] | +-common-library/*:pluginCrossBuild::sbtBinaryVersion = 1.0
[info] | | +-*/*:pluginCrossBuild::sbtVersion = 1.0.3
[info] | |
[info] | +-common-library/*:scalaBinaryVersion = 2.11
[info] | +-common-library/*:crossVersion = Binary(, )
[info] | +-*/*:sbtPlugin = false
[info] | +-common-library/*:version = 0.0.1-SNAPSHOT
[info] |
[info] +-common-library/*:projectInfo = ModuleInfo(common-library, common-library, None, None, Vector(), com.company, None, None, Vector())
[info] | +-common-library/*:description = common-library
[info] | | +-common-library/*:name = common-library
[info] | | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configuratio..
[info] | |
[info] | +-*/*:developers = List()
[info] | +-*/*:homepage = None
[info] | +-*/*:licenses = List()
[info] | +-common-library/*:name = common-library
[info] | | +-common-library/*:thisProject = Project(id common-library, base: /home/gfeuillen/projects/my-project/common-library, configurations..
[info] | |
[info] | +-common-library/*:organizationHomepage = None
[info] | | +-*/*:homepage = None
[info] | |
[info] | +-common-library/*:organizationName = com.company
[info] | | +-common-library/*:organization = com.company
[info] | |
[info] | +-*/*:scmInfo = None
[info] | +-*/*:startYear = None
[info] |
[info] +-common-library/*:scalaModuleInfo = Some(ScalaModuleInfo(2.11.12, 2.11, Vector(), true, false, false, org.scala-lang, Vector(scala-library, scala-compil..
[info] +-*/*:scalaArtifacts = Vector(scala-library, scala-compiler, scala-reflect, scala-actors, scalap)
[info] +-*/*:scalaOrganization = org.scala-lang
[info] +-common-library/*:scalafmtUseIvy = true
[info] +-common-library/*:scalaBinaryVersion = 2.11
[info] +-common-library/*:scalaVersion = 2.11.12
> On 21 Feb 2018, at 18:30, Ted Yu <yu...@gmail.com> wrote:
>
> It seems you're using sbt.
>
> Can you run this command and pastebin the output:
>
> sbt "inspect tree clean"
>
>
>
> On Wed, Feb 21, 2018 at 8:21 AM, Gauthier Feuillen <ga...@dataroots.io>
> wrote:
>
>> Yeah I already tested that (thanks for the help btw)
>>
>> Here are my dependencies:
>>
>> ————
>> lazy val hbaseTesting = "org.apache.hbase" % "hbase-testing-util" %
>> version % Test
>> lazy val hbaseServerTest = "org.apache.hbase" % "hbase-server" % version %
>> Test
>>
>> lazy val hbaseTestDependencies = Seq(hbaseTesting, hbaseServerTest)
>> ————
>>
>> See anything unusual ?
>>
>>
>>> On 21 Feb 2018, at 17:11, Debraj Manna <su...@gmail.com> wrote:
>>>
>>> Use hbase-testing-util
>>>
>>> https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
>>>
>>> On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" <ga...@dataroots.io>
>> wrote:
>>>
>>>> I did that but still the class is not available. Strange.
>>>>
>>>>> On 21 Feb 2018, at 17:08, Debraj Manna <su...@gmail.com>
>> wrote:
>>>>>
>>>>> You have to use hbase-testing-util dependency. Check the below
>> discussion
>>>>> in stackoverflow
>>>>>
>>>>> https://stackoverflow.com/q/48114833/785523
>>>>>
>>>>> On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I’d like to be able to unit test my HBase application. I see a lot of
>>>> posts
>>>>> using the HBaseTestingUtility. I can’t get it into my project. Which
>>>>> dependency(ies) should I use ?
>>>>>
>>>>> Best,
>>>>> Gauthier.
>>>>
>>>>
>>
>>
Re: Hbase integration testing
Posted by Ted Yu <yu...@gmail.com>.
It seems you're using sbt.
Can you run this command and pastebin the output:
sbt "inspect tree clean"
On Wed, Feb 21, 2018 at 8:21 AM, Gauthier Feuillen <ga...@dataroots.io>
wrote:
> Yeah I already tested that (thanks for the help btw)
>
> Here are my dependencies:
>
> ————
> lazy val hbaseTesting = "org.apache.hbase" % "hbase-testing-util" %
> version % Test
> lazy val hbaseServerTest = "org.apache.hbase" % "hbase-server" % version %
> Test
>
> lazy val hbaseTestDependencies = Seq(hbaseTesting, hbaseServerTest)
> ————
>
> See anything unusual ?
>
>
> > On 21 Feb 2018, at 17:11, Debraj Manna <su...@gmail.com> wrote:
> >
> > Use hbase-testing-util
> >
> > https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
> >
> > On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" <ga...@dataroots.io>
> wrote:
> >
> >> I did that but still the class is not available. Strange.
> >>
> >>> On 21 Feb 2018, at 17:08, Debraj Manna <su...@gmail.com>
> wrote:
> >>>
> >>> You have to use hbase-testing-util dependency. Check the below
> discussion
> >>> in stackoverflow
> >>>
> >>> https://stackoverflow.com/q/48114833/785523
> >>>
> >>> On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io>
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I’d like to be able to unit test my HBase application. I see a lot of
> >> posts
> >>> using the HBaseTestingUtility. I can’t get it into my project. Which
> >>> dependency(ies) should I use ?
> >>>
> >>> Best,
> >>> Gauthier.
> >>
> >>
>
>
Re: Hbase integration testing
Posted by Gauthier Feuillen <ga...@dataroots.io>.
Yeah I already tested that (thanks for the help btw)
Here are my dependencies:
————
lazy val hbaseTesting = "org.apache.hbase" % "hbase-testing-util" % version % Test
lazy val hbaseServerTest = "org.apache.hbase" % "hbase-server" % version % Test
lazy val hbaseTestDependencies = Seq(hbaseTesting, hbaseServerTest)
————
See anything unusual ?
> On 21 Feb 2018, at 17:11, Debraj Manna <su...@gmail.com> wrote:
>
> Use hbase-testing-util
>
> https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
>
> On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" <ga...@dataroots.io> wrote:
>
>> I did that but still the class is not available. Strange.
>>
>>> On 21 Feb 2018, at 17:08, Debraj Manna <su...@gmail.com> wrote:
>>>
>>> You have to use hbase-testing-util dependency. Check the below discussion
>>> in stackoverflow
>>>
>>> https://stackoverflow.com/q/48114833/785523
>>>
>>> On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io>
>> wrote:
>>>
>>> Hi,
>>>
>>> I’d like to be able to unit test my HBase application. I see a lot of
>> posts
>>> using the HBaseTestingUtility. I can’t get it into my project. Which
>>> dependency(ies) should I use ?
>>>
>>> Best,
>>> Gauthier.
>>
>>
Re: Hbase integration testing
Posted by Debraj Manna <su...@gmail.com>.
Use hbase-testing-util
https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" <ga...@dataroots.io> wrote:
> I did that but still the class is not available. Strange.
>
> > On 21 Feb 2018, at 17:08, Debraj Manna <su...@gmail.com> wrote:
> >
> > You have to use hbase-testing-util dependency. Check the below discussion
> > in stackoverflow
> >
> > https://stackoverflow.com/q/48114833/785523
> >
> > On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io>
> wrote:
> >
> > Hi,
> >
> > I’d like to be able to unit test my HBase application. I see a lot of
> posts
> > using the HBaseTestingUtility. I can’t get it into my project. Which
> > dependency(ies) should I use ?
> >
> > Best,
> > Gauthier.
>
>
Re: Hbase integration testing
Posted by Gauthier Feuillen <ga...@dataroots.io>.
I did that but still the class is not available. Strange.
> On 21 Feb 2018, at 17:08, Debraj Manna <su...@gmail.com> wrote:
>
> You have to use hbase-testing-util dependency. Check the below discussion
> in stackoverflow
>
> https://stackoverflow.com/q/48114833/785523
>
> On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io> wrote:
>
> Hi,
>
> I’d like to be able to unit test my HBase application. I see a lot of posts
> using the HBaseTestingUtility. I can’t get it into my project. Which
> dependency(ies) should I use ?
>
> Best,
> Gauthier.
Re: Hbase integration testing
Posted by Debraj Manna <su...@gmail.com>.
You have to use hbase-testing-util dependency. Check the below discussion
in stackoverflow
https://stackoverflow.com/q/48114833/785523
On 21-Feb-2018 8:37 PM, "Gauthier Feuillen" <ga...@dataroots.io> wrote:
Hi,
I’d like to be able to unit test my HBase application. I see a lot of posts
using the HBaseTestingUtility. I can’t get it into my project. Which
dependency(ies) should I use ?
Best,
Gauthier.