Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> Re: Review Request 21169: ACCUMULO-2770 Add utility to read local WAL

Copy link to this message
Re: Review Request 21169: ACCUMULO-2770 Add utility to read local WAL

This is an automatically generated e-mail. To reply, visit:

(Updated May 14, 2014, 4:16 a.m.)
Review request for accumulo, Sean Busbey and Eric Newton.

Clean up the test code.
Bugs: ACCUMULO-2770
Repository: accumulo
Description (updated)

ACCUMULO-2770 Add utility to read local WAL

Forward port the upgrade code from 1.5.x into a separate utility so
that a user can still read local WALs if they happen to be around.
Recreate LogFile{Key,Value} in their old packages so that we can still
read the old sequence files that have embedded class names.

Modify the utility to optionally accept values as command line options
instead of searching around in the configuration settings.

Add documentation to the troubleshooting guide to describe usage.

commit 2db5ce6186e32c451328154b024951cc5090505f
Author: Eric C. Newton <[EMAIL PROTECTED]>
Date:   Tue Jun 5 13:18:22 2012 +0000
Diffs (updated)

  core/src/main/java/org/apache/accumulo/core/conf/Property.java 60969bed6d67fd7677ed9349b9acc817b41456de
  docs/src/main/latex/accumulo_user_manual/chapters/troubleshooting.tex 203fe0c313db84f7cf9842927f8350f149b4ed4b
  server/tserver/pom.xml f2b47d45b274b510e6ea7bb0bd12e6d9646f29fe
  server/tserver/src/main/java/org/apache/accumulo/server/logger/LogFileKey.java PRE-CREATION
  server/tserver/src/main/java/org/apache/accumulo/server/logger/LogFileValue.java PRE-CREATION
  server/tserver/src/main/java/org/apache/accumulo/tserver/log/LocalWALRecovery.java PRE-CREATION
  server/tserver/src/test/java/org/apache/accumulo/tserver/log/LocalWALRecoveryTest.java PRE-CREATION
  server/tserver/src/test/resources/walog-from-14/550e8400-e29b-41d4-a716-446655440000 PRE-CREATION

Diff: https://reviews.apache.org/r/21169/diff/
Testing (updated)

Added new unit test for attempting to read the recovered WAL using the DfsLogger class.

Mike Drob