[jira] [Created] (HBASE-18222) Tests fail as lock on table is not released

2017-06-15 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-18222:
--

 Summary: Tests fail as lock on table is not released 
 Key: HBASE-18222
 URL: https://issues.apache.org/jira/browse/HBASE-18222
 Project: HBase
  Issue Type: Bug
  Components: hbase
Affects Versions: 3.0.0
 Environment: [INFO] 

[INFO] Detecting the operating system and CPU architecture
[INFO] 
[INFO] os.detected.name: linux
[INFO] os.detected.arch: ppcle_64
[INFO] os.detected.version: 3.16
[INFO] os.detected.version.major: 3
[INFO] os.detected.version.minor: 16
[INFO] os.detected.release: ubuntu
[INFO] os.detected.release.version: 14.04
[INFO] os.detected.release.like.ubuntu: true
[INFO] os.detected.release.like.debian: true
[INFO] os.detected.classifier: linux-ppcle_64
Reporter: Anup Halarnkar
 Fix For: 3.0.0


*All Failed Tests*
1. 
org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testRegionObserverAfterRegionClosed
_org.apache.hadoop.hbase.exceptions.TimeoutIOException: 
java.util.concurrent.TimeoutException: The procedure 14 is still running
at 
org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.waitProcedureResult(HBaseAdmin.java:3418)
at 
org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.get(HBaseAdmin.java:3339)
at org.apache.hadoop.hbase.client.HBaseAdmin.get(HBaseAdmin.java:1962)
at 
org.apache.hadoop.hbase.client.HBaseAdmin.disableTable(HBaseAdmin.java:764)
at 
org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testRegionObserverAfterRegionClosed(TestCoprocessorMetrics.java:487)
_

2.org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testMasterObserver
3.org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testRegionObserverEndpoint
4.org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testRegionObserverMultiRegion
5.org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testRegionObserverSingleRegion
6.org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testWALObserver
7.org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testRegionServerObserver
8.org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.testRegionObserverMultiTable
*-*
*Stack Traces of all tests from 2 -8 is given below*
org.apache.hadoop.hbase.TableNotDisabledException: 
testRegionObserverAfterRegionClosed
at 
org.apache.hadoop.hbase.master.HMaster.checkTableModifiable(HMaster.java:2470)
at 
org.apache.hadoop.hbase.master.procedure.DeleteTableProcedure.prepareDelete(DeleteTableProcedure.java:241)
at 
org.apache.hadoop.hbase.master.procedure.DeleteTableProcedure.executeFromState(DeleteTableProcedure.java:91)
at 
org.apache.hadoop.hbase.master.procedure.DeleteTableProcedure.executeFromState(DeleteTableProcedure.java:58)
at 
org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:155)
at 
org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:843)
at 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1373)
at 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor.executeProcedure(ProcedureExecutor.java:1142)
at 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor.access$800(ProcedureExecutor.java:78)
at 
org.apache.hadoop.hbase.procedure2.ProcedureExecutor$WorkerThread.run(ProcedureExecutor.java:1651)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (HBASE-17818) On branch-1 in module Server, TestRSKilledWhenInitializing and TestScannerHeartbeatMessages broken

2017-03-22 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-17818:
--

 Summary: On branch-1 in module Server, 
TestRSKilledWhenInitializing and TestScannerHeartbeatMessages broken
 Key: HBASE-17818
 URL: https://issues.apache.org/jira/browse/HBASE-17818
 Project: HBase
  Issue Type: Bug
Affects Versions: 2.0.0
 Environment: OS: Ubuntu 14.04
Arch: x86_64
Reporter: Anup Halarnkar
 Fix For: 2.0.0


Branch: branch-1
Command: mvn clean install -X -fn

Output:
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 2.030 s
[INFO] Finished at: 2017-03-22T19:17:16+05:30
[INFO] Final Memory: 15M/304M
[INFO] 
[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] Apache HBase ... SUCCESS [ 24.315 s]
[INFO] Apache HBase - Checkstyle .. SUCCESS [  7.797 s]
[INFO] Apache HBase - Resource Bundle . SUCCESS [  0.263 s]
[INFO] Apache HBase - Annotations . SUCCESS [  2.416 s]
[INFO] Apache HBase - Protocol  SUCCESS [ 12.994 s]
[INFO] Apache HBase - Common .. SUCCESS [02:31 min]
[INFO] Apache HBase - Procedure ... SUCCESS [03:37 min]
[INFO] Apache HBase - Client .. SUCCESS [01:53 min]
[INFO] Apache HBase - Hadoop Compatibility  SUCCESS [  8.560 s]
[INFO] Apache HBase - Hadoop Two Compatibility  SUCCESS [ 10.500 s]
[INFO] Apache HBase - Prefix Tree . SUCCESS [  9.367 s]
[INFO] Apache HBase - Server .. FAILURE [  02:04 h]
[INFO] Apache HBase - Testing Util  SUCCESS [  5.107 s]
[INFO] Apache HBase - Thrift .. SUCCESS [04:52 min]
[INFO] Apache HBase - Rest  SUCCESS [13:56 min]
[INFO] Apache HBase - Shell ... SUCCESS [  3.980 s]
[INFO] Apache HBase - Integration Tests ... SUCCESS [  02:33 h]
[INFO] Apache HBase - Examples  SUCCESS [ 11.129 s]
[INFO] Apache HBase - External Block Cache  SUCCESS [  1.231 s]
[INFO] Apache HBase - Assembly  FAILURE [  4.063 s]
[INFO] Apache HBase - Shaded .. SUCCESS [  0.172 s]
[INFO] Apache HBase - Shaded - Client . SUCCESS [  0.793 s]
[INFO] Apache HBase - Shaded - Server . SUCCESS [  1.721 s]
[INFO] Apache HBase - Archetypes .. SUCCESS [  0.094 s]
[INFO] Apache HBase - Exemplar for hbase-client archetype . SUCCESS [01:24 min]
[INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SUCCESS [01:15 
min]
[INFO] Apache HBase - Archetype builder ... SUCCESS [ 31.495 s]
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 05:10 h
[INFO] Finished at: 2017-03-22T19:17:16+05:30
---
Failed tests:

TestRSKilledWhenInitializing.testRSTerminationAfterRegisteringToMasterBeforeCreatingEphemeralNode:123
 null
  
TestScannerHeartbeatMessages.testScannerHeartbeatMessages:207->testImportanceOfHeartbeats:237
 Heartbeats messages are disabled, an exception should be thrown. If an 
exception  is not thrown, the test case is not testing the importance of 
heartbeat messages

Tests run: 1698, Failures: 2, Errors: 0, Skipped: 11
--
If these tests are passing on your end,then please let me know the possible 
issue that I could have on my side.

Thanks in advance,
Anup



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


[jira] [Created] (HBASE-17811) TestThriftHttpServer.testRunThriftServerWithHeaderBufferLength is broken in "branch-1"

2017-03-20 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-17811:
--

 Summary: 
TestThriftHttpServer.testRunThriftServerWithHeaderBufferLength is broken in 
"branch-1"
 Key: HBASE-17811
 URL: https://issues.apache.org/jira/browse/HBASE-17811
 Project: HBase
  Issue Type: Bug
  Components: Thrift
Affects Versions: 2.0.0
 Environment: OS: Ubuntu 14.04
Arch:x86_64
Reporter: Anup Halarnkar
 Fix For: 2.0.0


Module Thrift fails with this output:
Results :

Failed tests:
  TestThriftHttpServer.testRunThriftServerWithHeaderBufferLength
Expected: (an instance of org.apache.thrift.transport.TTransportException and 
exception with message a string containing "HTTP Response code: 413")
 but: exception with message a string containing "HTTP Response code: 413" 
message was "java.net.ConnectException: Connection refused (Connection refused)"
Stacktrace was: org.apache.thrift.transport.TTransportException: 
java.net.ConnectException: Connection refused (Connection refused)
at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:356)
at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:73)
at org.apache.thrift.TServiceClient.sendBase(TServiceClient.java:62)
at 
org.apache.hadoop.hbase.thrift.generated.Hbase$Client.send_getTableNames(Hbase.java:901)
at 
org.apache.hadoop.hbase.thrift.generated.Hbase$Client.getTableNames(Hbase.java:894)
at 
org.apache.hadoop.hbase.thrift.TestThriftServer.checkTableList(TestThriftServer.java:248)
at 
org.apache.hadoop.hbase.thrift.TestThriftHttpServer.talkToThriftServer(TestThriftHttpServer.java:187)
at 
org.apache.hadoop.hbase.thrift.TestThriftHttpServer.runThriftServer(TestThriftHttpServer.java:147)
at 
org.apache.hadoop.hbase.thrift.TestThriftHttpServer.testRunThriftServerWithHeaderBufferLength(TestThriftHttpServer.java:121)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138)
at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
at org.apache.thrift.transport.THttpClient.flush(THttpClient.java:344)
... 20 more


Tests run: 88, Failures: 1, Errors: 0, Skipped: 0




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


[jira] [Created] (HBASE-17810) TestFuzzyRowFilter and IntegrationTest* tests on "branch-1" are broken

2017-03-20 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-17810:
--

 Summary: TestFuzzyRowFilter and IntegrationTest* tests on 
"branch-1" are broken
 Key: HBASE-17810
 URL: https://issues.apache.org/jira/browse/HBASE-17810
 Project: HBase
  Issue Type: Bug
  Components: integration tests
Affects Versions: 2.0.0
 Environment: OS: Ubuntu 14.04
Arch: ppc64le

Reporter: Anup Halarnkar
 Fix For: 2.0.0


I saw that some fixes HBASE-17746 were in branch-1. So, I used this branch to 
see if I am getting any failures.
This is the result:
Results :

Failed tests:
  TestFuzzyRowFilter.testSatisfiesForward:80 expected: but was:
  TestFuzzyRowFilter.testSatisfiesReverse:120 expected: but 
was:
Tests in error:
  
TestSeekToBlockWithEncoders.testSeekToBlockWithDecreasingCommonPrefix:140->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekToBlockWithDiffFamilyAndQualifer:249->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekToBlockWithDiffQualifer:160->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekToBlockWithDiffQualiferOnSameRow:183->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekToBlockWithDiffQualiferOnSameRow1:206->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekToBlockWithDiffQualiferOnSameRowButDescendingInSize:229->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekToBlockWithNonMatchingSeekKey:65->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekingToBlockToANotAvailableKey:117->seekToTheKey:270
 » NoClassDefFound
  
TestSeekToBlockWithEncoders.testSeekingToBlockWithBiggerNonLength1:91->seekToTheKey:270
 » NoClassDefFound
  TestHFileEncryption.testHFileEncryption:232 » NoClassDefFound Could not 
initia...
  
TestSeekTo.testSeekBeforeWithReSeekTo:199->testSeekBeforeWithReSeekToInternals:216
 » NoClassDefFound
  TestSeekTo.testSeekBefore:145->testSeekBeforeInternals:161 » NoClassDefFound 
C...
  TestSeekTo.testSeekTo:292->testSeekToInternals:308 » NoClassDefFound Could 
not...

Tests run: 1106, Failures: 2, Errors: 13, Skipped: 22

Results :

Failed tests:
  IntegrationTestRegionReplicaReplication.testIngest:112->runIngestTest:214 
Load failed with error code 1
  IntegrationTestBulkLoad.testBulkLoad:213->runLoad:223->runLinkedListMRJob:296 
expected: but was:
  IntegrationTestImportTsv.testGenerateAndLoad:203 expected:<0> but was:<1>
  IntegrationTestLoadAndVerify.testLoadAndVerify:544->doLoad:353 null
  
IntegrationTestWithCellVisibilityLoadAndVerify>IntegrationTestLoadAndVerify.testLoadAndVerify:544->doLoad:244->IntegrationTestLoadAndVerify.doLoad:353
 null
Tests in error:
  
IntegrationTestIngestWithACL>IntegrationTestBase.setUp:148->setUpCluster:64->IntegrationTestIngest.setUpCluster:84
 » IO
  IntegrationTestMTTR.testKillRsHoldingMeta:278->run:319 » Execution 
java.io.IOE...
  IntegrationTestMTTR.testRestartRsHoldingTable:273->run:319 » Execution 
java.io...
  IntegrationTestBigLinkedList.testContinuousIngest:1798 » Runtime Generator 
fai...
  IntegrationTestBigLinkedListWithVisibility.testContinuousIngest:637 » Runtime 
...
  
IntegrationTestReplication>IntegrationTestBigLinkedList.testContinuousIngest:1798
 » Runtime

Tests run: 32, Failures: 5, Errors: 6, Skipped: 2

Any idea what could be the reason for above failures?



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


[jira] [Created] (HBASE-17781) TestAcidGuarantees

2017-03-13 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-17781:
--

 Summary: TestAcidGuarantees
 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-xx 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


After applying patch HBASE-17723, the test "TestSimpleRpcScheduler" passes but, 
the below test fails.

Results :

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)


[jira] [Created] (HBASE-17759) TestComparators.testCellFieldsCompare fails on ppc64le

2017-03-08 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-17759:
--

 Summary:  TestComparators.testCellFieldsCompare fails on ppc64le
 Key: HBASE-17759
 URL: https://issues.apache.org/jira/browse/HBASE-17759
 Project: HBase
  Issue Type: Bug
  Components: integration tests
Affects Versions: 2.0.0
 Environment: OS: Ubuntu 14.04
Arch: Power (ppc64le)
Reporter: Anup Halarnkar
 Fix For: 2.0.0


Failed tests:
  TestComparators.testCellFieldsCompare:56 expected:<0> but was:<114>
Tests run: 133, Failures: 1, Errors: 0, Skipped: 1
--
Output of TestComparators-output.txt
2017-03-08 12:44:17,934 DEBUG [main] util.ClassSize(230): Using Unsafe to 
estimate memory layout
--
Output of TestComparators.txt
---
Test set: org.apache.hadoop.hbase.filter.TestComparators
---
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.153 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.filter.TestComparators
testCellFieldsCompare(org.apache.hadoop.hbase.filter.TestComparators)  Time 
elapsed: 0.153 sec  <<< FAILURE!
java.lang.AssertionError: expected:<0> but was:<114>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at 
org.apache.hadoop.hbase.filter.TestComparators.testCellFieldsCompare(TestComparators.java:56)
---




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


[jira] [Created] (HBASE-17746) TestSimpleRpcScheduler.testCoDelScheduling:469 None of these calls should have been discarded expected:<0> but was:<15>

2017-03-07 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-17746:
--

 Summary: TestSimpleRpcScheduler.testCoDelScheduling:469 None of 
these calls should have been discarded expected:<0> but was:<15>
 Key: HBASE-17746
 URL: https://issues.apache.org/jira/browse/HBASE-17746
 Project: HBase
  Issue Type: Bug
  Components: integration tests
Affects Versions: 2.0.0
 Environment: OS: Ubuntu 14.04
Arch: x86_64
Linux x 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


Command:
export JAVA_TOOL_OPTIONS="-Xmx8G -Xms2G"
mvn clean install -X

Output:
Results :

Failed tests:
  TestSimpleRpcScheduler.testCoDelScheduling:469 None of these calls should 
have been discarded expected:<0> but was:<15>

Tests run: 1191, Failures: 1, Errors: 0, Skipped: 12

Output of "TestSimpleRpcScheduler.txt" 

---
Test set: org.apache.hadoop.hbase.ipc.TestSimpleRpcScheduler
---
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.642 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.ipc.TestSimpleRpcScheduler
testCoDelScheduling(org.apache.hadoop.hbase.ipc.TestSimpleRpcScheduler)  Time 
elapsed: 0.563 sec  <<< FAILURE!
java.lang.AssertionError: None of these calls should have been discarded 
expected:<0> but was:<15>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at 
org.apache.hadoop.hbase.ipc.TestSimpleRpcScheduler.testCoDelScheduling(TestSimpleRpcScheduler.java:469)
--

Output of last few lines of "TestSimpleRpcScheduler-output.txt"

2017-03-07 16:09:16,580 INFO  [main] hbase.ResourceChecker(172): after: 
ipc.TestSimpleRpcScheduler#testCoDelScheduling Thread=5 (was 5), 
OpenFileDescriptor=250 (was 250), MaxFileDescriptor=4096 (was 4096), 
SystemLoadAverage=607 (was 607), ProcessCount=158 (was 157) - ProcessCount 
LEAK? -, AvailableMemoryMB=1734 (was 1762)
2017-03-07 16:09:16,604 INFO  [main] hbase.ResourceChecker(148): before: 
ipc.TestSimpleRpcScheduler#testSoftAndHardQueueLimits Thread=5, 
OpenFileDescriptor=252, MaxFileDescriptor=4096, SystemLoadAverage=607, 
ProcessCount=158, AvailableMemoryMB=1734
2017-03-07 16:09:16,722 INFO  [main] ipc.RpcExecutor(145): RpcExecutor  name  
using fifo as call queue; numCallQueues=1; maxQueueLength=5; handlerCount=0
2017-03-07 16:09:16,722 DEBUG [main] ipc.RpcExecutor(215): Started 
RpcServer.deafult.FPBQ.Fifo.handler=0,queue=0,port=0
2017-03-07 16:09:16,839 INFO  [main] hbase.ResourceChecker(172): after: 
ipc.TestSimpleRpcScheduler#testSoftAndHardQueueLimits Thread=5 (was 5), 
OpenFileDescriptor=250 (was 252), MaxFileDescriptor=4096 (was 4096), 
SystemLoadAverage=607 (was 607), ProcessCount=158 (was 158), 
AvailableMemoryMB=1703 (was 1734)




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


[jira] [Created] (HBASE-17723) TestServerSideScanMetricsFromClientSide and TestRecoveredEdits fail

2017-03-03 Thread Anup Halarnkar (JIRA)
Anup Halarnkar created HBASE-17723:
--

 Summary: TestServerSideScanMetricsFromClientSide and 
TestRecoveredEdits fail
 Key: HBASE-17723
 URL: https://issues.apache.org/jira/browse/HBASE-17723
 Project: HBase
  Issue Type: Bug
  Components: integration tests
Affects Versions: 2.0.0
 Environment: Ubuntu 14.04 LTS / x86_64 / 16GB RAM
Reporter: Anup Halarnkar


Command to build and test:
mvn clean install -X 
JAVA_TOOL_OPTIONS: -Xmx4G -XX:MaxPermSize=4G -Xms1G

Failure in tests:
Results :

Failed tests:
  
TestServerSideScanMetricsFromClientSide.testRowsSeenMetricWithAsync:161->testRowsSeenMetric:174->testRowsSeenMetric:204->testMetric:330
 Metric: ROWS_SCANNED Expected: 9 Actual: 8 expected:<9> but was:<8>
  
TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing:78->testReplayWorksWithMemoryCompactionPolicy:149->verifyAllEditsMadeItIn:195
 Failed to find 
W\xE1X\xDBv\xD8}\x07\xBF\xC1I\xF1\xF5\xB9\x84\xD8/meta:prev/1422491946444/Put/vlen=16/seqid=0

Tests run: 1761, Failures: 2, Errors: 0, Skipped: 6


This is the output for 1st test failure:
---
Test set: org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide
---
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.971 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide
testRowsSeenMetricWithAsync(org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide)
  Time elapsed: 1.134 sec  <<< FAILURE!
java.lang.AssertionError: Metric: ROWS_SCANNED Expected: 9 Actual: 8 
expected:<9> but was:<8>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at 
org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide.testMetric(TestServerSideScanMetricsFromClientSide.java:330)
at 
org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide.testRowsSeenMetric(TestServerSideScanMetricsFromClientSide.java:204)
at 
org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide.testRowsSeenMetric(TestServerSideScanMetricsFromClientSide.java:174)
at 
org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide.testRowsSeenMetricWithAsync(TestServerSideScanMetricsFromClientSide.java:161)


This is output of 2nd test failure:
---
Test set: org.apache.hadoop.hbase.regionserver.TestRecoveredEdits
---
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.911 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.regionserver.TestRecoveredEdits
testReplayWorksThoughLotsOfFlushing(org.apache.hadoop.hbase.regionserver.TestRecoveredEdits)
  Time elapsed: 11.871 sec  <<< FAILURE!
java.lang.AssertionError: Failed to find 
W\xE1X\xDBv\xD8}\x07\xBF\xC1I\xF1\xF5\xB9\x84\xD8/meta:prev/1422491946444/Put/vlen=16/seqid=0
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at 
org.apache.hadoop.hbase.regionserver.TestRecoveredEdits.verifyAllEditsMadeItIn(TestRecoveredEdits.java:195)
at 
org.apache.hadoop.hbase.regionserver.TestRecoveredEdits.testReplayWorksWithMemoryCompactionPolicy(TestRecoveredEdits.java:149)
at 
org.apache.hadoop.hbase.regionserver.TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing(TestRecoveredEdits.java:78)


Please let me know if you need more information

Thanks,
Anup





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