[ 
https://issues.apache.org/jira/browse/HBASE-17781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929413#comment-15929413
 ] 

Anup Halarnkar commented on HBASE-17781:
----------------------------------------

Chia-Ping Tsai
I used the master branch + patches 17723 & 17746 and module server failed with 
test TestAcidGuarantees showing failure. 
But, I then saw that you had merged one of the patches to branch-1. So, I 
cloned branch-1 and ran build/test again. This time module Server passes but 
"Thrift" and "Assembly" fails as shown below
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.545 s
[INFO] Finished at: 2017-03-16T20:24:22+05:30
[INFO] Final Memory: 15M/304M
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache HBase ....................................... SUCCESS [  4.002 s]
[INFO] Apache HBase - Checkstyle .......................... SUCCESS [  1.231 s]
[INFO] Apache HBase - Resource Bundle ..................... SUCCESS [  0.263 s]
[INFO] Apache HBase - Annotations ......................... SUCCESS [  1.135 s]
[INFO] Apache HBase - Protocol ............................ SUCCESS [ 13.843 s]
[INFO] Apache HBase - Common .............................. SUCCESS [01:45 min]
[INFO] Apache HBase - Procedure ........................... SUCCESS [03:38 min]
[INFO] Apache HBase - Client .............................. SUCCESS [01:38 min]
[INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [  8.954 s]
[INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [ 10.393 s]
[INFO] Apache HBase - Prefix Tree ......................... SUCCESS [ 10.248 s]
[INFO] Apache HBase - Server .............................. SUCCESS [  01:59 h]
[INFO] Apache HBase - Testing Util ........................ SUCCESS [  1.978 s]
[INFO] Apache HBase - Thrift .............................. FAILURE [04:47 min]
[INFO] Apache HBase - Rest ................................ SUCCESS [14:11 min]
[INFO] Apache HBase - Shell ............................... SUCCESS [  4.617 s]
[INFO] Apache HBase - Integration Tests ................... SUCCESS [  02:57 h]
[INFO] Apache HBase - Examples ............................ SUCCESS [ 14.183 s]
[INFO] Apache HBase - External Block Cache ................ SUCCESS [  1.718 s]
[INFO] Apache HBase - Assembly ............................ FAILURE [  3.031 s]
[INFO] Apache HBase - Shaded .............................. SUCCESS [  0.120 s]
[INFO] Apache HBase - Shaded - Client ..................... SUCCESS [  0.556 s]
[INFO] Apache HBase - Shaded - Server ..................... SUCCESS [  0.716 s]
[INFO] Apache HBase - Archetypes .......................... SUCCESS [  0.100 s]
[INFO] Apache HBase - Exemplar for hbase-client archetype . SUCCESS [01:33 min]
[INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SUCCESS [01:27 
min]
[INFO] Apache HBase - Archetype builder ................... SUCCESS [ 27.979 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:28 h
[INFO] Finished at: 2017-03-16T20:24:22+05:30
[INFO] Final Memory: 110M/1547M
-------------------------------------------------------------------------------------------------------------------------------------------------------
Errors for Thrift: test TestThriftHttpServer has error
-------------------------------------------------------------------------------------------------------------------------------------------------------
2017-03-16 17:07:36,803 WARN  
[2778413@qtp-559946703-0-SendThread(localhost:61643)] zookeeper.ClientCnxn 
(ClientCnxn.java:run(1102)) - Session 0x15ad6e86bd7000c for server null, 
unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
2017-03-16 17:07:36,810 ERROR [HBase-Metrics2-1] lib.MethodMetric 
(MethodMetric.java:snapshot(118)) - Error invoking method getBlocksTotal
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.hadoop.metrics2.lib.MethodMetric$2.snapshot(MethodMetric.java:111)
        at 
org.apache.hadoop.metrics2.lib.MethodMetric.snapshot(MethodMetric.java:144)
        at 
org.apache.hadoop.metrics2.lib.MetricsRegistry.snapshot(MetricsRegistry.java:387)
        at 
org.apache.hadoop.metrics2.lib.MetricsSourceBuilder$1.getMetrics(MetricsSourceBuilder.java:79)
        at 
org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.getMetrics(MetricsSourceAdapter.java:195)
        at 
org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.updateJmxCache(MetricsSourceAdapter.java:172)
        at 
org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.getMBeanInfo(MetricsSourceAdapter.java:151)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getNewMBeanClassName(DefaultMBeanServerInterceptor.java:333)
        at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:319)
        at 
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
        at org.apache.hadoop.metrics2.util.MBeans.register(MBeans.java:57)
        at 
org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.startMBeans(MetricsSourceAdapter.java:221)
        at 
org.apache.hadoop.metrics2.impl.MetricsSourceAdapter.start(MetricsSourceAdapter.java:96)
        at 
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.registerSource(MetricsSystemImpl.java:245)
        at 
org.apache.hadoop.metrics2.impl.MetricsSystemImpl$1.postStart(MetricsSystemImpl.java:229)
        at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.hadoop.metrics2.impl.MetricsSystemImpl$3.invoke(MetricsSystemImpl.java:290)
        at com.sun.proxy.$Proxy12.postStart(Unknown Source)
        at 
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:185)
        at 
org.apache.hadoop.metrics2.impl.JmxCacheBuster$JmxCacheBusterRunnable.run(JmxCacheBuster.java:109)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at 
org.apache.hadoop.hdfs.server.blockmanagement.BlocksMap.size(BlocksMap.java:198)
        at 
org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.getTotalBlocks(BlockManager.java:3158)
        at 
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlocksTotal(FSNamesystem.java:5652)
        ... 33 more
-------------------------------------------------------------------------------------------------------------------------------------------------------

Also, can you please let me know if I should be using the branch-1 or Master?

Thanks,
Anup

> TestAcidGuarantees is broken
> ----------------------------
>
>                 Key: HBASE-17781
>                 URL: https://issues.apache.org/jira/browse/HBASE-17781
>             Project: HBase
>          Issue Type: Bug
>          Components: integration tests
>    Affects Versions: 2.0.0
>         Environment: OS: Ubuntu 14.04
> Arch: x86_64
> uname -a = Linux xx-xxxxxxxxxx 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 
> 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Anup Halarnkar
>             Fix For: 2.0.0
>
>
> Command:
> mvn clean install -X
> Previous History:
> After applying patch HBASE-17723, the test "TestSimpleRpcScheduler" passes 
> but, the below test fails.
> Final Output:
> Tests in error:
>   
> TestAcidGuarantees.testGetAtomicity:418->runTestAtomicity:315->runTestAtomicity:324->runTestAtomicity:388
>  » Runtime
>   TestAcidGuarantees.testMobGetAtomicity:435->runTestAtomicity:388 » Runtime 
> Def...
> Tests run: 1774, Failures: 0, Errors: 2, Skipped: 6



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to