Re: Hbase integration testing

2018-02-22 Thread Gauthier Feuillen
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 = 

Re: Hbase integration testing

2018-02-21 Thread Ted Yu
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 
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  wrote:
> >
> > Use hbase-testing-util
> >
> > https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
> >
> > On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" 
> wrote:
> >
> >> I did that but still the class is not available. Strange.
> >>
> >>> On 21 Feb 2018, at 17:08, Debraj Manna 
> 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" 
> >> 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

2018-02-21 Thread Gauthier Feuillen
Nothing, the class is just not available in my project ...

> On 21 Feb 2018, at 17:36, Debraj Manna  wrote:
> 
> What is the error you are getting?
> 
> On 21-Feb-2018 9:51 PM, "Gauthier Feuillen"  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  wrote:
>>> 
>>> Use hbase-testing-util
>>> 
>>> https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
>>> 
>>> On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" 
>> wrote:
>>> 
 I did that but still the class is not available. Strange.
 
> On 21 Feb 2018, at 17:08, Debraj Manna 
>> 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" 
 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

2018-02-21 Thread Debraj Manna
What is the error you are getting?

On 21-Feb-2018 9:51 PM, "Gauthier Feuillen"  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  wrote:
> >
> > Use hbase-testing-util
> >
> > https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
> >
> > On 21-Feb-2018 9:40 PM, "Gauthier Feuillen" 
> wrote:
> >
> >> I did that but still the class is not available. Strange.
> >>
> >>> On 21 Feb 2018, at 17:08, Debraj Manna 
> 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" 
> >> 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

2018-02-21 Thread Gauthier Feuillen
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  wrote:
> 
> Use hbase-testing-util
> 
> https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util
> 
> On 21-Feb-2018 9:40 PM, "Gauthier Feuillen"  wrote:
> 
>> I did that but still the class is not available. Strange.
>> 
>>> On 21 Feb 2018, at 17:08, Debraj Manna  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" 
>> 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

2018-02-21 Thread Debraj Manna
Use hbase-testing-util

https://mvnrepository.com/artifact/org.apache.hbase/hbase-testing-util

On 21-Feb-2018 9:40 PM, "Gauthier Feuillen"  wrote:

> I did that but still the class is not available. Strange.
>
> > On 21 Feb 2018, at 17:08, Debraj Manna  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" 
> 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

2018-02-21 Thread Gauthier Feuillen
I did that but still the class is not available. Strange. 

> On 21 Feb 2018, at 17:08, Debraj Manna  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"  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

2018-02-21 Thread Ted Yu
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 
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

2018-02-21 Thread Debraj Manna
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"  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.