[jira] [Created] (HBASE-19973) Implement a procedure to replay sync replication wal for standby cluster

2018-02-10 Thread Guanghao Zhang (JIRA)
Guanghao Zhang created HBASE-19973:
--

 Summary: Implement a procedure to replay sync replication wal for 
standby cluster
 Key: HBASE-19973
 URL: https://issues.apache.org/jira/browse/HBASE-19973
 Project: HBase
  Issue Type: Sub-task
Reporter: Guanghao Zhang
Assignee: Guanghao Zhang






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (HBASE-19972) Should rethrow the RetriesExhaustedWithDetailsException when failed to apply the batch in ReplicationSink

2018-02-10 Thread Zheng Hu (JIRA)
Zheng Hu created HBASE-19972:


 Summary: Should rethrow  the RetriesExhaustedWithDetailsException 
when failed to apply the batch in ReplicationSink
 Key: HBASE-19972
 URL: https://issues.apache.org/jira/browse/HBASE-19972
 Project: HBase
  Issue Type: Bug
Reporter: Zheng Hu
Assignee: Zheng Hu


As [~Apache9] saided in HBASE-12091. 

In ReplicationSink#batch,we swallow the RetriesExhaustedWithDetailsException 
except 

TableNotFoundException,   actually,  should rethrow the exception. 

{code}
try {
  Connection connection = getConnection();
  table = connection.getTable(tableName);
  for (List rows : allRows) {
table.batch(rows);
  }
} catch (RetriesExhaustedWithDetailsException rewde) {
  for (Throwable ex : rewde.getCauses()) {
if (ex instanceof TableNotFoundException) {
  throw new TableNotFoundException("'"+tableName+"'");
}
  }
} 
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (HBASE-19971) TestMajorCompaction#testDataBlockEncodingInCacheOnly sometimes fails with IllegalArgumentException

2018-02-10 Thread Ted Yu (JIRA)
Ted Yu created HBASE-19971:
--

 Summary: TestMajorCompaction#testDataBlockEncodingInCacheOnly 
sometimes fails with IllegalArgumentException
 Key: HBASE-19971
 URL: https://issues.apache.org/jira/browse/HBASE-19971
 Project: HBase
  Issue Type: Bug
Reporter: Ted Yu


>From 
>https://builds.apache.org/job/HBASE-Flaky-Tests/25784/testReport/junit/org.apache.hadoop.hbase.regionserver/TestMajorCompaction/testDataBlockEncodingInCacheOnly_2_/
> :
{code}
java.io.IOException: java.lang.IllegalArgumentException: In CellChunkMap, cell 
must be associated with chunk.. We were looking for a cell at index 0
at 
org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompaction(TestMajorCompaction.java:206)
at 
org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompactionWithDataBlockEncoding(TestMajorCompaction.java:186)
at 
org.apache.hadoop.hbase.regionserver.TestMajorCompaction.testDataBlockEncodingInCacheOnly(TestMajorCompaction.java:166)
Caused by: java.lang.IllegalArgumentException: In CellChunkMap, cell must be 
associated with chunk.. We were looking for a cell at index 0
at 
org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompaction(TestMajorCompaction.java:206)
at 
org.apache.hadoop.hbase.regionserver.TestMajorCompaction.majorCompactionWithDataBlockEncoding(TestMajorCompaction.java:186)
at 
org.apache.hadoop.hbase.regionserver.TestMajorCompaction.testDataBlockEncodingInCacheOnly(TestMajorCompaction.java:166)
{code}
>From the index of the test, EAGER policy was used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Reopened] (HBASE-19964) TestWriteHeavyIncrementObserver fails

2018-02-10 Thread Duo Zhang (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-19964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang reopened HBASE-19964:
---

Failed with another error:

{noformat}
Error Message
Waiting timed out after [30,000] msec Major compaction hangs, there are still 3 
store files
Stacktrace
java.lang.AssertionError: Waiting timed out after [30,000] msec Major 
compaction hangs, there are still 3 store files
at 
org.apache.hadoop.hbase.coprocessor.example.TestWriteHeavyIncrementObserver.test(TestWriteHeavyIncrementObserver.java:69)
{noformat}

https://builds.apache.org/job/HBASE-Flaky-Tests/25735/testReport/junit/org.apache.hadoop.hbase.coprocessor.example/TestWriteHeavyIncrementObserver/test/

> TestWriteHeavyIncrementObserver fails
> -
>
> Key: HBASE-19964
> URL: https://issues.apache.org/jira/browse/HBASE-19964
> Project: HBase
>  Issue Type: Bug
>  Components: test
>Reporter: Duo Zhang
>Assignee: Duo Zhang
>Priority: Major
> Fix For: 2.0.0-beta-2
>
> Attachments: HBASE-19964.patch
>
>
> https://builds.apache.org/job/HBASE-Flaky-Tests/25704/artifact/hbase-examples/target/surefire-reports/org.apache.hadoop.hbase.coprocessor.example.TestWriteHeavyIncrementObserver-output.txt/*view*/
> I could reproduce it locally. Let me dig more.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)