Hi Josh, first of all thanks for any help you can provide... I do appreciate 
it.
`-DskipTests` is the standard Maven "ism" to skip tests. Your output
appears to indicate that you were running tests, so perhaps your
invocation was incorrect? You've not provided enough information for us
to know why exactly your build failed.
well, in the pom file, it does say that you should use the invocation "mvn 
package" to build.as far as the -DskipTests, I did use that BUT there were some 
tests still being run in the actual build, my assumption is that there were 
some poms that might have overridden this but I would have to look...
it does turn out that the specific one that I had the problem hbase-http, I did 
set the configuration to skipTests and that did work... 

You do not have to build HBase from source in order to build an
application. Every official release which this project creates has
artifacts which are published in Maven Central for you to consume directly.
ok, except that I when building just the client source code I couldn't find 
this version (3.0.0-SNAPSHOT) for a dependencywhich I did open a jira ticket on 
that... 
another guy named sean suggested I need to build from the top down in order for 
some of those dependencies to properly builton the apache web site, it does 
have a link that seems to point to that dependency but unfortunately in going 
to the link it returned a 404

One final note: you are building from the master branch (3.0.0-SNAPSHOT)
which is still under development. I'd suggest that you add a dependency
in your application to the Maven dependency
org.apache.hbase:hbase-client for the version of HBase that you are
actually running.
I have an actual running hbase (2.3.4) that does run but (and this is an 
important but)... I can't seem to get a client to build with the 
hbase-clientalone, and I couldn't seem to find the client source code to use to 
test out the java api / connect to my version of hbase...any help you can 
provide on that would be the real solution...  

If you do not yet have a HBase which is already running, you can
download a pre-built release from
https://hbase.apache.org/downloads.html. Be sure to grab a version of
Hadoop which is compatible with the HBase release which you are running.
Thanks again for the response!Richard    On Friday, January 29, 2021, 04:19:42 
PM EST, Josh Elser <[email protected]> wrote:  
 
 `-DskipTests` is the standard Maven "ism" to skip tests. Your output 
appears to indicate that you were running tests, so perhaps your 
invocation was incorrect? You've not provided enough information for us 
to know why exactly your build failed.

You do not have to build HBase from source in order to build an 
application. Every official release which this project creates has 
artifacts which are published in Maven Central for you to consume directly.

One final note: you are building from the master branch (3.0.0-SNAPSHOT) 
which is still under development. I'd suggest that you add a dependency 
in your application to the Maven dependency 
org.apache.hbase:hbase-client for the version of HBase that you are 
actually running.

If you do not yet have a HBase which is already running, you can 
download a pre-built release from 
https://hbase.apache.org/downloads.html. Be sure to grab a version of 
Hadoop which is compatible with the HBase release which you are running.

On 1/29/21 8:54 AM, richard t wrote:
> hi,
> my ultimate goal is to have a basic CRUD client to hbase using the java api.
> in trying to get there, I downloaded the source for hbase 3.0.0 because of 
> the client source and wanted to build this client and test it against my 
> hbase instance that is running.
> the hbase source is not building due to this error:BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 18:03 min
> [INFO] Finished at: 2021-01-28T11:22:12-05:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M4:test (default-test) 
> on project hbase-http: There are test failures.
> [ERROR]
> [ERROR] Please refer to 
> /home/rtkatch/Downloads/hbase-src/hbase-master/hbase-http/target/surefire-reports
>  for the individual test results.
> [ERROR] Please refer to dump files (if any exist) [date].dump, 
> [date]-jvmRun[N].dump and [date].dumpstream.
> I have tried to run with -DskipTests but this error seems to be persistent.I 
> am using maven 3.6.3. compiling with openjdk 1.8
> I had found some information where one can set up configuration in the pom to 
> skip tests, so I will try to set that up.
> Any information on this would be much appreciated.
> One other comment, I just don't understand why one has to build everything 
> just to get a test client... there really should be a bundle that contains 
> only the stuff needed to connect to the hbase. I noticed that there were 
> different archetypes but am not sure how to use them other than copying them 
> to my dev directory for use.
> thanks!
> 
> 
  

Reply via email to