hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-hadoop Wiki] Update of "DistributedLucene" by MarkButler
Date Tue, 18 Dec 2007 14:13:26 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-hadoop Wiki" for change notification.

The following page has been changed by MarkButler:
http://wiki.apache.org/lucene-hadoop/DistributedLucene

------------------------------------------------------------------------------
  
  {{{
  public class IndexVersion implements Comparable<IndexVersion>, Writable, Constants
{
- 
    private String id;
    private int version;
  }
@@ -16, +15 @@

  
  {{{
  public class IndexLocation implements Comparable<IndexLocation>, Writable {
- 
    private IndexVersion indexVersion;
    private InetSocketAddress location;
    private IndexState state;
@@ -36, +34 @@

  
  {{{
  public interface ClientToDataNodeProtocol extends VersionedProtocol {
- 
    void addDocument(String index, Document doc) throws IOException;
  
    // Change here, Doug suggested int[] but that is different
@@ -60, +57 @@

  
  {{{
  public interface ClientToNameNodeProtocol extends VersionedProtocol {
- 
    IndexLocation[] getSearchableIndexes();
    IndexLocation getUpdateableIndex(String id);
  }
@@ -70, +66 @@

  
  {{{
  public interface DataNodeToDataNodeProtocol extends VersionedProtocol {
- 
    String[] getFileSet(IndexVersion indexVersion) throws IOException;
    byte[] getFileContent(IndexVersion indexVersion, String file)
        throws IOException;
@@ -83, +78 @@

  
  {{{
  public interface DataNodeToNameNodeProtocol extends VersionedProtocol {
- 
    public IndexLocation[] heartbeat(DataNodeStatusInformation datanode,
        IndexLocation[] searchableIndexes) throws RemoteException;
  }

Mime
View raw message