I executed the following commands:

mvn clean
mvn compile

There was no error.

Andrzej:
Can you tell us which mvn / Java versions you use ?

I use the following:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=812M; support was removed in 8.0
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
2017-10-18T00:58:13-07:00)
Maven home: /Users/tyu/apache-maven-3.5.2
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.3", arch: "x86_64", family: "mac"

Cheers

On Thu, Jun 21, 2018 at 1:42 PM, Josh Elser <[email protected]> wrote:

> Use `mvn package`, not `compile`.
>
> On 6/21/18 10:41 AM, Andrzej wrote:
>
>> W dniu 21.06.2018 o 19:01, Andrzej pisze:
>>
>>> Is any alternative to fast control HBase from C++ sources?
>>> Or is Java client?
>>> Native Client C++ (HBASE-14850) sources are old and mismatch to folly
>>> library (Futures.h)
>>>
>>>
>> Now I first tried compiling hbase-client in master branch with Maven...
>> next, I try compile whole repository with Maven:
>> command "mvn compile":
>>
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache HBase ....................................... SUCCESS
>> [01:41 min]
>> [INFO] Apache HBase - Checkstyle .......................... SUCCESS [
>> 0.753 s]
>> [INFO] Apache HBase - Build Support ....................... SUCCESS [
>> 0.233 s]
>> [INFO] Apache HBase - Error Prone Rules ................... SUCCESS [
>> 11.211 s]
>> [INFO] Apache HBase - Annotations ......................... SUCCESS [
>> 0.327 s]
>> [INFO] Apache HBase - Build Configuration ................. SUCCESS [
>> 0.419 s]
>> [INFO] Apache HBase - Shaded Protocol ..................... SUCCESS [
>> 53.398 s]
>> [INFO] Apache HBase - Common .............................. SUCCESS [
>> 25.850 s]
>> [INFO] Apache HBase - Metrics API ......................... SUCCESS [
>> 2.835 s]
>> [INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [
>> 3.432 s]
>> [INFO] Apache HBase - Metrics Implementation .............. SUCCESS [
>> 7.296 s]
>> [INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [
>> 12.773 s]
>> [INFO] Apache HBase - Protocol ............................ SUCCESS [
>> 18.311 s]
>> [INFO] Apache HBase - Client .............................. SUCCESS [
>> 10.863 s]
>> [INFO] Apache HBase - Zookeeper ........................... SUCCESS [
>> 4.104 s]
>> [INFO] Apache HBase - Replication ......................... FAILURE [
>> 2.351 s]
>> [INFO] Apache HBase - Resource Bundle ..................... SKIPPED
>> [INFO] Apache HBase - HTTP ................................ SKIPPED
>> [INFO] Apache HBase - Procedure ........................... SKIPPED
>> [INFO] Apache HBase - Server .............................. SKIPPED
>> [INFO] Apache HBase - MapReduce ........................... SKIPPED
>> [INFO] Apache HBase - Testing Util ........................ SKIPPED
>> [INFO] Apache HBase - Thrift .............................. SKIPPED
>> [INFO] Apache HBase - RSGroup ............................. SKIPPED
>> [INFO] Apache HBase - Shell ............................... SKIPPED
>> [INFO] Apache HBase - Coprocessor Endpoint ................ SKIPPED
>> [INFO] Apache HBase - Backup .............................. SKIPPED
>> [INFO] Apache HBase - Integration Tests ................... SKIPPED
>> [INFO] Apache HBase - Rest ................................ SKIPPED
>> [INFO] Apache HBase - Examples ............................ SKIPPED
>> [INFO] Apache HBase - Shaded .............................. SKIPPED
>> [INFO] Apache HBase - Shaded - Client (with Hadoop bundled) SKIPPED
>> [INFO] Apache HBase - Shaded - Client ..................... SKIPPED
>> [INFO] Apache HBase - Shaded - MapReduce .................. SKIPPED
>> [INFO] Apache HBase - External Block Cache ................ SKIPPED
>> [INFO] Apache HBase - Spark ............................... SKIPPED
>> [INFO] Apache HBase - Spark Integration Tests ............. SKIPPED
>> [INFO] Apache HBase - Assembly ............................ SKIPPED
>> [INFO] Apache HBase Shaded Packaging Invariants ........... SKIPPED
>> [INFO] Apache HBase Shaded Packaging Invariants (with Hadoop bundled)
>> SKIPPED
>> [INFO] Apache HBase - Archetypes .......................... SKIPPED
>> [INFO] Apache HBase - Exemplar for hbase-client archetype . SKIPPED
>> [INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SKIPPED
>> [INFO] Apache HBase - Archetype builder ................... SKIPPED
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] BUILD FAILURE
>> [INFO] ------------------------------------------------------------
>> ------------
>> [INFO] Total time: 04:19 min
>> [INFO] Finished at: 2018-06-21T19:37:37+02:00
>> [INFO] Final Memory: 100M/458M
>> [INFO] ------------------------------------------------------------
>> ------------
>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven
>> -enforcer-plugin:3.0.0-M1:enforce 
>> (hadoop-profile-min-maven-min-java-banned-xerces)
>> on project hbase-replication: Execution 
>> hadoop-profile-min-maven-min-java-banned-xerces
>> of goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce
>> failed: 
>> org.apache.maven.shared.dependency.graph.DependencyGraphBuilderException:
>> Could not resolve following dependencies: 
>> [org.apache.hbase:hbase-zookeeper:jar:tests:3.0.0-SNAPSHOT
>> (test)]: Could not resolve dependencies for project
>> org.apache.hbase:hbase-replication:jar:3.0.0-SNAPSHOT: Could not find
>> artifact org.apache.hbase:hbase-zookeeper:jar:tests:3.0.0-SNAPSHOT in
>> project.local 
>> (file:/home/andrzej/code/hbase/hbase-replication/src/site/resources/repo)
>> -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/conflu
>> ence/display/MAVEN/PluginExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :hbase-replication
>>
>

Reply via email to