Re: Alternative to native client c++
W dniu 21.06.2018 o 22:52, Ted Yu pisze: Andrzej: Can you tell us which mvn / Java versions you use ? andrzej@andrzej-VirtualBox ~/code/hbase $ mvn -v Apache Maven 3.3.9 Maven home: /usr/share/maven Java version: 1.8.0_171, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: pl_PL, platform encoding: UTF-8 OS name: "linux", version: "4.10.0-38-generic", arch: "amd64", family: "unix"
Re: Alternative to native client c++
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 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 >&g
Re: Alternative to native client c++
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: Alternative to native client c++
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 swi
Alternative to native client c++
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)
Re: Native client c++
Please join the dev@hbase list if you wish to talk about how to work on unreleased code that is still in development. Please do not use unreleased code directly. Downstream participants on the user@hbase list should only make use of code that has been formally released by the PMC. On Tue, Jun 19, 2018 at 7:33 AM, Ted Yu wrote: > Please use HBASE-14850 branch which works with hbase 2.0 > > Cheers > > On Tue, Jun 19, 2018 at 7:30 AM, Andrzej wrote: > >> I have written previous my library based on native_client sources in any >> branch. Those worked with HBase 1.3 but now not works with HBase 2.0 >> I again want compile my library with sources of native_client. >> I see it in master branch, but its are very old (5 years) >> This sources will works with HBase 2.0 or is new version in any branch? >> >> Andrzej >>
Re: Native client c++
Please use HBASE-14850 branch which works with hbase 2.0 Cheers On Tue, Jun 19, 2018 at 7:30 AM, Andrzej wrote: > I have written previous my library based on native_client sources in any > branch. Those worked with HBase 1.3 but now not works with HBase 2.0 > I again want compile my library with sources of native_client. > I see it in master branch, but its are very old (5 years) > This sources will works with HBase 2.0 or is new version in any branch? > > Andrzej >
Native client c++
I have written previous my library based on native_client sources in any branch. Those worked with HBase 1.3 but now not works with HBase 2.0 I again want compile my library with sources of native_client. I see it in master branch, but its are very old (5 years) This sources will works with HBase 2.0 or is new version in any branch? Andrzej