accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob" <md...@mdrob.com>
Subject Re: Review Request 17129: ACCUMULO-2213 Make Tracer more robust in handling batchwriter recovery
Date Tue, 21 Jan 2014 19:28:08 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17129/#review32403
-----------------------------------------------------------



src/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java
<https://reviews.apache.org/r/17129/#comment61196>

    'writer == null' would minimize the diff.



src/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java
<https://reviews.apache.org/r/17129/#comment61198>

    Why aren't we using guards? I had convinced myself earlier that it is because that could
inadvertantly cause traces to block, but I'm not convinced that is a good reason.



src/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java
<https://reviews.apache.org/r/17129/#comment61199>

    Maybe worth catching NPE separately?


- Mike Drob


On Jan. 21, 2014, 7:24 p.m., Sean Busbey wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/17129/
> -----------------------------------------------------------
> 
> (Updated Jan. 21, 2014, 7:24 p.m.)
> 
> 
> Review request for accumulo and Eric Newton.
> 
> 
> Bugs: ACCUMULO-2213
>     https://issues.apache.org/jira/browse/ACCUMULO-2213
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> ACCUMULO-2213 Make writer recovery in the Tracer more robust.
>     
>     * Adds optional logging to TSBW closure so we can better instrument long run tests
to look for problems.
>     * Cleans up writer reseting in the TraceServer, avoids overly broad catching.
>     * tones down log levels in TraceServer to WARN because trace information is transient
and we retry everything.
> 
> 
> Diffs
> -----
> 
>   src/core/src/main/java/org/apache/accumulo/core/client/impl/TabletServerBatchWriter.java
e18f3f96f4e0959b975399921bb7d7958c561220 
>   src/server/src/main/java/org/apache/accumulo/server/trace/TraceServer.java 4d89e9c13f89e71e674875db32cf267e045d6131

> 
> Diff: https://reviews.apache.org/r/17129/diff/
> 
> 
> Testing
> -------
> 
> running on cluster with injected failures now
> 
> 
> Thanks,
> 
> Sean Busbey
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message