bzhaoopenstack edited a comment on issue #959: HBASE-23612: Add new profile to 
make hbase build success on ARM
URL: https://github.com/apache/hbase/pull/959#issuecomment-569604956
 
 
   Hi @Apache9 , hi zhang,
   Sorry for not mention this PR with you, as I just want to make all things 
are OK, then I will tell you about the all details.
   
   I had test this on arm3(https://builds.apache.org/computer/arm3/) in Apache 
Jenkins with the following cmds:
   # Build and install hbase
   mvn clean install assembly:single -f ./pom.xml -Dhadoop.profile=3.0 
-Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true 
-Dspotbugs.skip=true -DskipTests 2>&1 | tee ~/hbase-results/hbase_build.log
   # Test hbase
   mvn clean test -P runAllTests -Dhadoop.profile=3.0 -Dmaven.javadoc.skip=true 
-Dcheckstyle.skip=true -Dfindbugs.skip=true -Dspotbugs.skip=true 
-Dtest.exclude.pattern=**/security.access.TestSnapshotScannerHDFSAclController.java
 -fn | tee ~/hbase-results/hbase_all_test.log
   And the test result summary is:
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Apache HBase 3.0.0-SNAPSHOT:
   [INFO]
   [INFO] Apache HBase ....................................... SUCCESS [  1.450 
s]
   [INFO] Apache HBase - Checkstyle .......................... SUCCESS [  0.396 
s]
   [INFO] Apache HBase - Annotations ......................... SUCCESS [  0.906 
s]
   [INFO] Apache HBase - Build Configuration ................. SUCCESS [  0.059 
s]
   [INFO] Apache HBase - Shaded Protocol ..................... SUCCESS [ 22.255 
s]
   [INFO] Apache HBase - Common .............................. SUCCESS [02:23 
min]
   [INFO] Apache HBase - Metrics API ......................... SUCCESS [  2.525 
s]
   [INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [ 13.680 
s]
   [INFO] Apache HBase - Metrics Implementation .............. SUCCESS [  8.220 
s]
   [INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [ 19.129 
s]
   [INFO] Apache HBase - Protocol ............................ SUCCESS [  8.104 
s]
   [INFO] Apache HBase - Client .............................. SUCCESS [01:13 
min]
   [INFO] Apache HBase - Zookeeper ........................... SUCCESS [ 29.204 
s]
   [INFO] Apache HBase - Replication ......................... SUCCESS [  7.202 
s]
   [INFO] Apache HBase - Resource Bundle ..................... SUCCESS [  0.237 
s]
   [INFO] Apache HBase - HTTP ................................ SUCCESS [ 33.540 
s]
   [INFO] Apache HBase - Procedure ........................... SUCCESS [02:53 
min]
   [INFO] Apache HBase - Server .............................. SUCCESS [  02:22 
h]
   [INFO] Apache HBase - MapReduce ........................... FAILURE [15:38 
min]
   [INFO] Apache HBase - Testing Util ........................ SUCCESS [ 16.827 
s]
   [INFO] Apache HBase - Thrift .............................. SUCCESS [03:24 
min]
   [INFO] Apache HBase - RSGroup ............................. SUCCESS [05:00 
min]
   [INFO] Apache HBase - Shell ............................... SUCCESS [06:30 
min]
   [INFO] Apache HBase - Coprocessor Endpoint ................ SUCCESS [03:21 
min]
   [INFO] Apache HBase - Backup .............................. SUCCESS [14:07 
min]
   [INFO] Apache HBase - Integration Tests ................... SUCCESS [ 21.781 
s]
   [INFO] Apache HBase - Rest ................................ SUCCESS [03:22 
min]
   [INFO] Apache HBase - Examples ............................ SUCCESS [01:07 
min]
   [INFO] Apache HBase - Shaded .............................. SUCCESS [  0.153 
s]
   [INFO] Apache HBase - Shaded - Client (with Hadoop bundled) SUCCESS [  1.098 
s]
   [INFO] Apache HBase - Shaded - Client ..................... SUCCESS [  1.237 
s]
   [INFO] Apache HBase - Shaded - MapReduce .................. SUCCESS [  2.181 
s]
   [INFO] Apache HBase - External Block Cache ................ SUCCESS [  1.905 
s]
   [INFO] Apache HBase - HBTop ............................... SUCCESS [ 26.650 
s]
   [INFO] Apache HBase - Assembly ............................ SUCCESS [  4.982 
s]
   [INFO] Apache HBase - Shaded - Testing Util ............... SUCCESS [  3.303 
s]
   [INFO] Apache HBase - Shaded - Testing Util Tester ........ SUCCESS [ 16.297 
s]
   [INFO] Apache HBase Shaded Packaging Invariants ........... SUCCESS [  1.635 
s]
   [INFO] Apache HBase Shaded Packaging Invariants (with Hadoop bundled) 
SUCCESS [  0.849 s]
   [INFO] Apache HBase - Archetypes .......................... SUCCESS [  0.029 
s]
   [INFO] Apache HBase - Exemplar for hbase-client archetype . SUCCESS [ 27.871 
s]
   [INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SUCCESS [ 
26.061 s]
   [INFO] Apache HBase - Archetype builder ................... SUCCESS [  0.436 
s]
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  03:26 h
   [INFO] Finished at: 2019-12-24T15:50:18Z
   [INFO] 
------------------------------------------------------------------------
   
   I check the related failed test, seem the failure is related with the 
performance, as the tests can pass if I just test them with the same mvn cmd. 
Like:
   $MVN clean test -P runAllTests -Dhadoop.profile=3.0 
-Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true 
-Dspotbugs.skip=true -Dtest=TestMultiTableSnapshotInputFormat
   $MVN clean test -P runAllTests -Dhadoop.profile=3.0 
-Dmaven.javadoc.skip=true -Dcheckstyle.skip=true -Dfindbugs.skip=true 
-Dspotbugs.skip=true -Dtest=TestTableInputFormat
   
   More build and test could be found in the Dockerfile I test on other ARM 
resources via Docker:
   
https://github.com/bzhaoopenstack/dockertoy/blob/master/ubuntu/hbase/hbase-build-test/Dockerfile
   
   Thanks for your help. ;-)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to