Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion couldn't get VoldemortFilter to work

X-BeenThere: project-voldemort@googlegroups.com
Received: by 10.115.112.27 with SMTP id p27ls2712582wam.2.p; Thu, 25 Mar 2010 
	12:53:31 -0700 (PDT)
Received: by 10.114.189.4 with SMTP id m4mr812575waf.6.1269546810222;
        Thu, 25 Mar 2010 12:53:30 -0700 (PDT)
Received: by 10.114.189.4 with SMTP id m4mr812574waf.6.1269546810132;
        Thu, 25 Mar 2010 12:53:30 -0700 (PDT)
Return-Path: <tequila...@ymail.com>
Received: from n3-vm1.bullet.mail.gq1.yahoo.com (n3-vm1.bullet.mail.gq1.yahoo.com [67.195.23.157])
        by gmr-mx.google.com with SMTP id 24si27571pzk.9.2010.03.25.12.53.29;
        Thu, 25 Mar 2010 12:53:29 -0700 (PDT)
Received-SPF: neutral (google.com: 67.195.23.157 is neither permitted nor denied by best guess record for domain of tequila...@ymail.com) client-ip=67.195.23.157;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 67.195.23.157 is neither permitted nor denied by best guess record for domain of tequila...@ymail.com) smtp.mail=tequila...@ymail.com; dkim=pass (test mode) header...@ymail.com
Received: from [98.137.27.132] by n3.bullet.mail.gq1.yahoo.com with NNFMP; 25 Mar 2010 19:53:28 -0000
Received: from [98.137.27.128] by t4.bullet.mail.gq1.yahoo.com with NNFMP; 25 Mar 2010 19:53:28 -0000
Received: from [127.0.0.1] by omp202.mail.gq1.yahoo.com with NNFMP; 25 Mar 2010 19:53:28 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 755299.34575...@omp202.mail.gq1.yahoo.com
Received: (qmail 31088 invoked by uid 60001); 25 Mar 2010 19:53:28 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1269546808; bh=JnwX2ootp22r0x5BM48ln31jM5ze1Bk2MRaIBwbq250=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=IfyGKZWIhlaSU/wKWEnhAnnj+J75SzRb9SpX+5MYmkEJfYOu3xirUs3FxNTEQTsSRZR3mZwRlhIrM5sezK0DE1cZ9MyAuqpjseFA1BnkFdj7iSK7LFqs6tetViyJa0LjbcCtq5t6z4vD0NBvW5anC0O9zb1Qaywu3Pw3+hCaxAE=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=ymail.com;
  h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type;
  b=RQ5KH8Rm6kE+SBt+Amx2X7THWghHHoaHQ/+lTligH3y/rtRufBkGPHQYI5imXLXudY0IZpIfRTqDcvgWqXXWod7tY2ryinZbqzm948LRFRB5/WONMgzWq1GBR925GozsFUrLTQsK4041OO7kRcbnVhoBXlhlriBaNbjeFyEJsFs=;
Message-ID: <473736.29906...@web113717.mail.gq1.yahoo.com>
X-YMail-OSG: ywjDoIQVM1lvKcuprzuZ0plCzT7Frg8aJAPkU4wWMNdlJ3c
 g1yy8zyoB
Received: from [65.102.144.193] by web113717.mail.gq1.yahoo.com via HTTP; Thu, 25 Mar 2010 12:53:27 PDT
X-Mailer: YahooMailRC/324.3 YahooMailWebService/0.8.100.260964
References: <14233.46906...@web113702.mail.gq1.yahoo.com> <da162a591003230828w925a5c7l58a6a9fb6a150...@mail.gmail.com>  <267517.79822...@web113704.mail.gq1.yahoo.com> <da162a591003231118q202cf042y16449fe8b6952...@mail.gmail.com>  <83290b461003242304y5cb6d87ej142b7f7270f0c...@mail.gmail.com>  <da162a591003251145u2100f4acg3865c1834732f...@mail.gmail.com> <f544f46e-fd81-4f3b-9093-a1e6ac6db...@q23g2000yqd.googlegroups.com>
Date: Thu, 25 Mar 2010 12:53:27 -0700 (PDT)
From: Ron Reynolds <tequila...@ymail.com>
Subject: Re: [project-voldemort] Re: couldn't get VoldemortFilter to work
To: project-voldemort@googlegroups.com
In-Reply-To: <f544f46e-fd81-4f3b-9093-a1e6ac6db...@q23g2000yqd.googlegroups.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="0-212617748-1269546807=:29906"

--0-212617748-1269546807=:29906
Content-Type: text/plain; charset=us-ascii

streaming the source (option-3) doesn't seem reasonable as you would have to embed java source into a deployed system (like a jsp) with all the compile-time failure risk and so forth.  RMI has solved loading of never-before-seen classes before using the URLClassLoader for years - the trick is having a jar/class URL that can serve up the .class file to the loader (which would require the client run some sort of Jetty server or something).  so i would guess NetworkClassLoader does something similar except it ships the class file and object data together.  in the case of RMI i would expect major JVM versions must match (or at least the server must be as or more current than the client).  i would guess since VoldemortFilter doesn't extend Serializable we're using a custom serialization?  not sure what the advantage of that would be.  i could look into it - i've done a fair amount of playing around with class-loaders.  tho having a version that takes a
 key-set would also be nice... :)




________________________________
From: Bruce Ritchie <bruce.ritc...@gmail.com>
To: project-voldemort <project-voldemort@googlegroups.com>
Sent: Thu, March 25, 2010 12:02:45 PM
Subject: [project-voldemort] Re: couldn't get VoldemortFilter to work

Bhupesh,

My first thoughts for this are

1. The filter would already exist on the server's classpath
2. Require a jar of the filter(s) to be uploaded prior to use (either
before startup or streamed and loaded with a custom classloader)
3. Stream the source and compile on the server.

I prefer the first option but the second I think is not undoable
either. I think this feature could have very nice potential to it if
it was rock solid stable.


Regards,

Bruce Ritchie

On Mar 25, 2:45 pm, bhupesh bansal <bbansal....@gmail.com> wrote:
> Jay,
>
> I think so, This one need more work I guess. Having a filter in streaming
> APIs is a good idea
> but I am not sure the best way to go about it.
>
> Best
> Bhupesh
>
>
>
> On Wed, Mar 24, 2010 at 11:04 PM, Jay Kreps <jay.kr...@gmail.com> wrote:
> > Bhupesh, if this doesn't work can we just remove it?
>
> > -Jay
>
> > On Tue, Mar 23, 2010 at 11:18 AM, bhupesh bansal <bbansal....@gmail.com>
> > wrote:
> > > It was disabled for precautionary reasons, as we saw some class not found
> > > exceptions running some other tests. On further investigations we
> > realized
> > > it was something else and not
> > > the network class loading. It is waiting for some EC2 based multiple
> > > machines, multiple jvm test before we can enable it.
>
> > > Its just a property change in server.properties and I think you must be
> > > setting some values already ? The alternative is to provide the filter on
> > > the server classpath which should work just fine.
>
> > > Best
> > > Bhupesh
>
> > > On Tue, Mar 23, 2010 at 8:43 AM, Ron Reynolds <tequila...@ymail.com>
> > wrote:
>
> > >> is it disabled by default for security or performance reasons?  i expect
> > >> if no one attempts to serialize a filter (or similar) class to the
> > server
> > >> there should be no impact on performance, yes?
> > >> thanks. :)  (pity the error message doesn't say that, tho i suppose the
> > >> alternative would be to have the filter in the server's classpath, tho
> > at
> > >> this point i'm trying to keep the server as vanilla as possible).
>
> > >> ________________________________
> > >> From: bhupesh bansal <bbansal....@gmail.com>
> > >> To: project-voldemort@googlegroups.com
> > >> Sent: Tue, March 23, 2010 8:28:37 AM
> > >> Subject: Re: [project-voldemort] couldn't get VoldemortFilter to work
>
> > >> In VoldemortConfig there is a setting "enable.network.classloader" which
> > >> defaults to false,
> > >> setting it to true will enable class serialization and loading in remote
> > >> Jvms.
>
> > >> Best
> > >> Bhupesh
>
> > >> On Tue, Mar 23, 2010 at 7:52 AM, Ron Reynolds <tequila...@ymail.com>
> > >> wrote:
>
> > >>> playing with the AdminClient i tried using a VoldemortFilter with
> > >>> fetchEntries() but any time i provided a non-null reference to my
> > >>> VoldemortFilter on the client i got nothing back and this on the
> > server:
>
> > >>> 03 23, 2010 04:23:33 AM cc:
> > >>> voldemort.server.protocol.admin.AdminServiceRequestHandler ERROR:
> > >>> handleFetchPartitionEntries failed for request(partitions: 0
> > >>> partitions: 1
> > >>> store: "keys"
> > >>> filter {
> > >>>   name:
> > "com.audiencescience.service.user.util.VoldemortSingleKeyFilter"
> > >>>   data:
>
> > "\312\376\272\276\...\000\036\000!\000\002\000\001\000\"\000\000\000\002\00 0#"
> > >>> }
> > >>> fetch_values: true
> > >>> )
> > >>> voldemort.VoldemortException: Failed to load and instantiate the filter
> > >>> class
> > >>>         at
>
> > voldemort.server.protocol.admin.AdminServiceRequestHandler.getFilterFromReq uest(AdminServiceRequestHandler.java:656)
> > >>>         at
>
> > voldemort.server.protocol.admin.AdminServiceRequestHandler.handleFetchParti tionEntries(AdminServiceRequestHandler.java:159)
> > >>>         at
>
> > voldemort.server.protocol.admin.AdminServiceRequestHandler.handleRequest(Ad minServiceRequestHandler.java:114)
> > >>>         at
>
> > voldemort.server.socket.SocketServerSession.run(SocketServerSession.java:73 )
> > >>> ...
> > >>> Caused by: java.lang.ClassNotFoundException:
> > >>> com.audiencescience.service.user.util.VoldemortSingleKeyFilter
> > >>>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > >>> ...
> > >>>         at
>
> > voldemort.server.protocol.admin.AdminServiceRequestHandler.getFilterFromReq uest(AdminServiceRequestHandler.java:652)
> > >>>         ... 6 more
>
> > >>> i originally used an anonymous inner class (i wasn't too surprised that
> > >>> didn't work).
> > >>> then tried a public static inner class - i could rationalize that not
> > >>> working as well since the outer class wasn't serialized and there might
> > be
> > >>> loading issues.
> > >>> but i couldn't figure out the normal public class, with or without
> > >>> Serializable.
>
> > >>> public class VoldemortSingleKeyFilter implements VoldemortFilter {
> > >>>     private Object _key;
> > >>>     public VoldemortSingleKeyFilter (Object key) { _key = key; }
> > >>>     public boolean accept(Object key, Versioned<?> val) {
> > >>>         return key.equals(_key);
> > >>>     }
> > >>> };
>
> > >>> should this feature work?  is there a flag i need to set on the server?
> > >>> oh, version is 0.70.1 and the connection is between a windows client
> > and a
> > >>> linux server both running Java 1.6 (64-bit 1.6.0_13 on the server;
> > 32-bit
> > >>> 1.6.0_17 on the client).
>
> > >>> --
> > >>> You received this message because you are subscribed to the Google
> > Groups
> > >>> "project-voldemort" group.
> > >>> To post to this group, send email to
> > project-voldemort@googlegroups.com.
> > >>> To unsubscribe from this group, send email to
> > >>> project-voldemort+unsubscribe@googlegroups.com<project-voldemort%2Bunsubscr ibe@googlegroups.com>
> > .
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/project-voldemort?hl=en.
>
> > >> --
> > >> You received this message because you are subscribed to the Google
> > Groups
> > >> "project-voldemort" group.
> > >> To post to this group, send email to project-voldemort@googlegroups.com
> > .
> > >> To unsubscribe from this group, send email to
> > >> project-voldemort+unsubscribe@googlegroups.com<project-voldemort%2Bunsubscr ibe@googlegroups.com>
> > .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/project-voldemort?hl=en.
>
> > >> --
> > >> You received this message because you are subscribed to the Google
> > Groups
> > >> "project-voldemort" group.
> > >> To post to this group, send email to project-voldemort@googlegroups.com
> > .
> > >> To unsubscribe from this group, send email to
> > >> project-voldemort+unsubscribe@googlegroups.com<project-voldemort%2Bunsubscr ibe@googlegroups.com>
> > .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/project-voldemort?hl=en.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "project-voldemort" group.
> > > To post to this group, send email to project-voldemort@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > project-voldemort+unsubscribe@googlegroups.com<project-voldemort%2Bunsubscr ibe@googlegroups.com>
> > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/project-voldemort?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "project-voldemort" group.
> > To post to this group, send email to project-voldemort@googlegroups.com.
> > To unsubscribe from this group, send email to
> > project-voldemort+unsubscribe@googlegroups.com<project-voldemort%2Bunsubscr ibe@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/project-voldemort?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To post to this group, send email to project-voldemort@googlegroups.com.
To unsubscribe from this group, send email to project-voldemort+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/project-voldemort?hl=en.


      
--0-212617748-1269546807=:29906
Content-Type: text/html; charset=us-ascii

<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>streaming the source (option-3) doesn't seem reasonable as you would have to embed java source into a deployed system (like a jsp) with all the compile-time failure risk and so forth.&nbsp; RMI has solved loading of never-before-seen classes before using the URLClassLoader for years - the trick is having a jar/class URL that can serve up the .class file to the loader (which would require the client run some sort of Jetty server or something).&nbsp; so i would guess NetworkClassLoader does something similar except it ships the class file and object data together.&nbsp; in the case of RMI i would expect major JVM versions must match (or at least the server must be as or more current than the client).&nbsp; i would guess since VoldemortFilter doesn't extend Serializable we're using a custom
 serialization?&nbsp; not sure what the advantage of that would be.&nbsp; i could look into it - i've done a fair amount of playing around with class-loaders.&nbsp; tho having a version that takes a key-set would also be nice... :)<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Bruce Ritchie &lt;bruce.ritc...@gmail.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> project-voldemort &lt;project-voldemort@googlegroups.com&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, March 25, 2010 12:02:45 PM<br><b><span style="font-weight: bold;">Subject:</span></b> [project-voldemort] Re: couldn't get VoldemortFilter to work<br></font><br>
Bhupesh,<br><br>My first thoughts for this are<br><br>1. The filter would already exist on the server's classpath<br>2. Require a jar of the filter(s) to be uploaded prior to use (either<br>before startup or streamed and loaded with a custom classloader)<br>3. Stream the source and compile on the server.<br><br>I prefer the first option but the second I think is not undoable<br>either. I think this feature could have very nice potential to it if<br>it was rock solid stable.<br><br><br>Regards,<br><br>Bruce Ritchie<br><br>On Mar 25, 2:45&nbsp;pm, bhupesh bansal &lt;<a ymailto="mailto:bbansal....@gmail.com" href="mailto:bbansal....@gmail.com">bbansal....@gmail.com</a>&gt; wrote:<br>&gt; Jay,<br>&gt;<br>&gt; I think so, This one need more work I guess. Having a filter in streaming<br>&gt; APIs is a good idea<br>&gt; but I am not sure the best way to go about it.<br>&gt;<br>&gt; Best<br>&gt; Bhupesh<br>&gt;<br>&gt;<br>&gt;<br>&gt; On Wed, Mar 24, 2010 at
 11:04 PM, Jay Kreps &lt;<a ymailto="mailto:jay.kr...@gmail.com" href="mailto:jay.kr...@gmail.com">jay.kr...@gmail.com</a>&gt; wrote:<br>&gt; &gt; Bhupesh, if this doesn't work can we just remove it?<br>&gt;<br>&gt; &gt; -Jay<br>&gt;<br>&gt; &gt; On Tue, Mar 23, 2010 at 11:18 AM, bhupesh bansal &lt;<a ymailto="mailto:bbansal....@gmail.com" href="mailto:bbansal....@gmail.com">bbansal....@gmail.com</a>&gt;<br>&gt; &gt; wrote:<br>&gt; &gt; &gt; It was disabled for precautionary reasons, as we saw some class not found<br>&gt; &gt; &gt; exceptions running some other tests. On further investigations we<br>&gt; &gt; realized<br>&gt; &gt; &gt; it was something else and not<br>&gt; &gt; &gt; the network class loading. It is waiting for some EC2 based multiple<br>&gt; &gt; &gt; machines, multiple jvm test before we can enable it.<br>&gt;<br>&gt; &gt; &gt; Its just a property change in server.properties and I think you must be<br>&gt; &gt; &gt; setting some values
 already ? The alternative is to provide the filter on<br>&gt; &gt; &gt; the server classpath which should work just fine.<br>&gt;<br>&gt; &gt; &gt; Best<br>&gt; &gt; &gt; Bhupesh<br>&gt;<br>&gt; &gt; &gt; On Tue, Mar 23, 2010 at 8:43 AM, Ron Reynolds &lt;<a ymailto="mailto:tequila...@ymail.com" href="mailto:tequila...@ymail.com">tequila...@ymail.com</a>&gt;<br>&gt; &gt; wrote:<br>&gt;<br>&gt; &gt; &gt;&gt; is it disabled by default for security or performance reasons? &nbsp;i expect<br>&gt; &gt; &gt;&gt; if no one attempts to serialize a filter (or similar) class to the<br>&gt; &gt; server<br>&gt; &gt; &gt;&gt; there should be no impact on performance, yes?<br>&gt; &gt; &gt;&gt; thanks. :) &nbsp;(pity the error message doesn't say that, tho i suppose the<br>&gt; &gt; &gt;&gt; alternative would be to have the filter in the server's classpath, tho<br>&gt; &gt; at<br>&gt; &gt; &gt;&gt; this point i'm trying to keep the server as vanilla as
 possible).<br>&gt;<br>&gt; &gt; &gt;&gt; ________________________________<br>&gt; &gt; &gt;&gt; From: bhupesh bansal &lt;<a ymailto="mailto:bbansal....@gmail.com" href="mailto:bbansal....@gmail.com">bbansal....@gmail.com</a>&gt;<br>&gt; &gt; &gt;&gt; To: <a ymailto="mailto:project-voldemort@googlegroups.com" href="mailto:project-voldemort@googlegroups.com">project-voldemort@googlegroups.com</a><br>&gt; &gt; &gt;&gt; Sent: Tue, March 23, 2010 8:28:37 AM<br>&gt; &gt; &gt;&gt; Subject: Re: [project-voldemort] couldn't get VoldemortFilter to work<br>&gt;<br>&gt; &gt; &gt;&gt; In VoldemortConfig there is a setting "enable.network.classloader" which<br>&gt; &gt; &gt;&gt; defaults to false,<br>&gt; &gt; &gt;&gt; setting it to true will enable class serialization and loading in remote<br>&gt; &gt; &gt;&gt; Jvms.<br>&gt;<br>&gt; &gt; &gt;&gt; Best<br>&gt; &gt; &gt;&gt; Bhupesh<br>&gt;<br>&gt; &gt; &gt;&gt; On Tue, Mar 23, 2010 at 7:52 AM, Ron Reynolds &lt;<a
 ymailto="mailto:tequila...@ymail.com" href="mailto:tequila...@ymail.com">tequila...@ymail.com</a>&gt;<br>&gt; &gt; &gt;&gt; wrote:<br>&gt;<br>&gt; &gt; &gt;&gt;&gt; playing with the AdminClient i tried using a VoldemortFilter with<br>&gt; &gt; &gt;&gt;&gt; fetchEntries() but any time i provided a non-null reference to my<br>&gt; &gt; &gt;&gt;&gt; VoldemortFilter on the client i got nothing back and this on the<br>&gt; &gt; server:<br>&gt;<br>&gt; &gt; &gt;&gt;&gt; 03 23, 2010 04:23:33 AM cc:<br>&gt; &gt; &gt;&gt;&gt; voldemort.server.protocol.admin.AdminServiceRequestHandler ERROR:<br>&gt; &gt; &gt;&gt;&gt; handleFetchPartitionEntries failed for request(partitions: 0<br>&gt; &gt; &gt;&gt;&gt; partitions: 1<br>&gt; &gt; &gt;&gt;&gt; store: "keys"<br>&gt; &gt; &gt;&gt;&gt; filter {<br>&gt; &gt; &gt;&gt;&gt; &nbsp; name:<br>&gt; &gt; "com.audiencescience.service.user.util.VoldemortSingleKeyFilter"<br>&gt; &gt; &gt;&gt;&gt; &nbsp; data:<br>&gt;<br>&gt; &gt;
 "\312\376\272\276\...\000\036\000!\000\002\000\001\000\"\000\000\000\002\00 0#"<br>&gt; &gt; &gt;&gt;&gt; }<br>&gt; &gt; &gt;&gt;&gt; fetch_values: true<br>&gt; &gt; &gt;&gt;&gt; )<br>&gt; &gt; &gt;&gt;&gt; voldemort.VoldemortException: Failed to load and instantiate the filter<br>&gt; &gt; &gt;&gt;&gt; class<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>&gt;<br>&gt; &gt; voldemort.server.protocol.admin.AdminServiceRequestHandler.getFilterFromReq uest(AdminServiceRequestHandler.java:656)<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>&gt;<br>&gt; &gt; voldemort.server.protocol.admin.AdminServiceRequestHandler.handleFetchParti tionEntries(AdminServiceRequestHandler.java:159)<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>&gt;<br>&gt; &gt; voldemort.server.protocol.admin.AdminServiceRequestHandler.handleRequest(Ad minServiceRequestHandler.java:114)<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;
 at<br>&gt;<br>&gt; &gt; voldemort.server.socket.SocketServerSession.run(SocketServerSession.java:73 )<br>&gt; &gt; &gt;&gt;&gt; ...<br>&gt; &gt; &gt;&gt;&gt; Caused by: java.lang.ClassNotFoundException:<br>&gt; &gt; &gt;&gt;&gt; com.audiencescience.service.user.util.VoldemortSingleKeyFilter<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at <a target="_blank" href="http://java.net">java.net</a>.URLClassLoader$1.run(URLClassLoader.java:200)<br>&gt; &gt; &gt;&gt;&gt; ...<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; at<br>&gt;<br>&gt; &gt; voldemort.server.protocol.admin.AdminServiceRequestHandler.getFilterFromReq uest(AdminServiceRequestHandler.java:652)<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; ... 6 more<br>&gt;<br>&gt; &gt; &gt;&gt;&gt; i originally used an anonymous inner class (i wasn't too surprised that<br>&gt; &gt; &gt;&gt;&gt; didn't work).<br>&gt; &gt; &gt;&gt;&gt; then tried a public static inner class - i could
 rationalize that not<br>&gt; &gt; &gt;&gt;&gt; working as well since the outer class wasn't serialized and there might<br>&gt; &gt; be<br>&gt; &gt; &gt;&gt;&gt; loading issues.<br>&gt; &gt; &gt;&gt;&gt; but i couldn't figure out the normal public class, with or without<br>&gt; &gt; &gt;&gt;&gt; Serializable.<br>&gt;<br>&gt; &gt; &gt;&gt;&gt; public class VoldemortSingleKeyFilter implements VoldemortFilter {<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; private Object _key;<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; public VoldemortSingleKeyFilter (Object key) { _key = key; }<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; public boolean accept(Object key, Versioned&lt;?&gt; val) {<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; return key.equals(_key);<br>&gt; &gt; &gt;&gt;&gt; &nbsp; &nbsp; }<br>&gt; &gt; &gt;&gt;&gt; };<br>&gt;<br>&gt; &gt; &gt;&gt;&gt; should this feature work? &nbsp;is there a flag i need to set on the server?<br>&gt; &gt; &gt;&gt;&gt; oh,
 version is 0.70.1 and the connection is between a windows client<br>&gt; &gt; and a<br>&gt; &gt; &gt;&gt;&gt; linux server both running Java 1.6 (64-bit 1.6.0_13 on the server;<br>&gt; &gt; 32-bit<br>&gt; &gt; &gt;&gt;&gt; 1.6.0_17 on the client).<br>&gt;<br>&gt; &gt; &gt;&gt;&gt; --<br>&gt; &gt; &gt;&gt;&gt; You received this message because you are subscribed to the Google<br>&gt; &gt; Groups<br>&gt; &gt; &gt;&gt;&gt; "project-voldemort" group.<br>&gt; &gt; &gt;&gt;&gt; To post to this group, send email to<br>&gt; &gt; <a ymailto="mailto:project-voldemort@googlegroups.com" href="mailto:project-voldemort@googlegroups.com">project-voldemort@googlegroups.com</a>.<br>&gt; &gt; &gt;&gt;&gt; To unsubscribe from this group, send email to<br>&gt; &gt; &gt;&gt;&gt; project-voldemort+<a ymailto="mailto:unsubscribe@googlegroups.com" href="mailto:unsubscribe@googlegroups.com">unsubscribe@googlegroups.com</a>&lt;project-voldemort%2Bunsubscr <a
 ymailto="mailto:ibe@googlegroups.com" href="mailto:ibe@googlegroups.com">ibe@googlegroups.com</a>&gt;<br>&gt; &gt; .<br>&gt; &gt; &gt;&gt;&gt; For more options, visit this group at<br><span>&gt; &gt; &gt;&gt;&gt;<a target="_blank" href="http://groups.google.com/group/project-voldemort?hl=en">http://groups.google.com/group/project-voldemort?hl=en</a>.</span><br>&gt;<br>&gt; &gt; &gt;&gt; --<br>&gt; &gt; &gt;&gt; You received this message because you are subscribed to the Google<br>&gt; &gt; Groups<br>&gt; &gt; &gt;&gt; "project-voldemort" group.<br>&gt; &gt; &gt;&gt; To post to this group, send email to <a ymailto="mailto:project-voldemort@googlegroups.com" href="mailto:project-voldemort@googlegroups.com">project-voldemort@googlegroups.com</a><br>&gt; &gt; .<br>&gt; &gt; &gt;&gt; To unsubscribe from this group, send email to<br>&gt; &gt; &gt;&gt; project-voldemort+<a ymailto="mailto:unsubscribe@googlegroups.com"
 href="mailto:unsubscribe@googlegroups.com">unsubscribe@googlegroups.com</a>&lt;project-voldemort%2Bunsubscr <a ymailto="mailto:ibe@googlegroups.com" href="mailto:ibe@googlegroups.com">ibe@googlegroups.com</a>&gt;<br>&gt; &gt; .<br>&gt; &gt; &gt;&gt; For more options, visit this group at<br>&gt; &gt; &gt;&gt;<a href="http://groups.google.com/group/project-voldemort?hl=en" target="_blank">http://groups.google.com/group/project-voldemort?hl=en</a>.<br>&gt;<br>&gt; &gt; &gt;&gt; --<br>&gt; &gt; &gt;&gt; You received this message because you are subscribed to the Google<br>&gt; &gt; Groups<br>&gt; &gt; &gt;&gt; "project-voldemort" group.<br>&gt; &gt; &gt;&gt; To post to this group, send email to <a ymailto="mailto:project-voldemort@googlegroups.com" href="mailto:project-voldemort@googlegroups.com">project-voldemort@googlegroups.com</a><br>&gt; &gt; .<br>&gt; &gt; &gt;&gt; To unsubscribe from this group, send email to<br>&gt; &gt; &gt;&gt;
 project-voldemort+<a ymailto="mailto:unsubscribe@googlegroups.com" href="mailto:unsubscribe@googlegroups.com">unsubscribe@googlegroups.com</a>&lt;project-voldemort%2Bunsubscr <a ymailto="mailto:ibe@googlegroups.com" href="mailto:ibe@googlegroups.com">ibe@googlegroups.com</a>&gt;<br>&gt; &gt; .<br>&gt; &gt; &gt;&gt; For more options, visit this group at<br>&gt; &gt; &gt;&gt;<a href="http://groups.google.com/group/project-voldemort?hl=en" target="_blank">http://groups.google.com/group/project-voldemort?hl=en</a>.<br>&gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; You received this message because you are subscribed to the Google Groups<br>&gt; &gt; &gt; "project-voldemort" group.<br>&gt; &gt; &gt; To post to this group, send email to <a ymailto="mailto:project-voldemort@googlegroups.com" href="mailto:project-voldemort@googlegroups.com">project-voldemort@googlegroups.com</a>.<br>&gt; &gt; &gt; To unsubscribe from this group, send email to<br>&gt; &gt; &gt;
 project-voldemort+<a ymailto="mailto:unsubscribe@googlegroups.com" href="mailto:unsubscribe@googlegroups.com">unsubscribe@googlegroups.com</a>&lt;project-voldemort%2Bunsubscr <a ymailto="mailto:ibe@googlegroups.com" href="mailto:ibe@googlegroups.com">ibe@googlegroups.com</a>&gt;<br>&gt; &gt; .<br>&gt; &gt; &gt; For more options, visit this group at<br>&gt; &gt; &gt;<a href="http://groups.google.com/group/project-voldemort?hl=en" target="_blank">http://groups.google.com/group/project-voldemort?hl=en</a>.<br>&gt;<br>&gt; &gt; --<br>&gt; &gt; You received this message because you are subscribed to the Google Groups<br>&gt; &gt; "project-voldemort" group.<br>&gt; &gt; To post to this group, send email to <a ymailto="mailto:project-voldemort@googlegroups.com" href="mailto:project-voldemort@googlegroups.com">project-voldemort@googlegroups.com</a>.<br>&gt; &gt; To unsubscribe from this group, send email to<br>&gt; &gt; project-voldemort+<a
 ymailto="mailto:unsubscribe@googlegroups.com" href="mailto:unsubscribe@googlegroups.com">unsubscribe@googlegroups.com</a>&lt;project-voldemort%2Bunsubscr <a ymailto="mailto:ibe@googlegroups.com" href="mailto:ibe@googlegroups.com">ibe@googlegroups.com</a>&gt;<br>&gt; &gt; .<br>&gt; &gt; For more options, visit this group at<br>&gt; &gt;<a href="http://groups.google.com/group/project-voldemort?hl=en" target="_blank">http://groups.google.com/group/project-voldemort?hl=en</a>.<br><br>-- <br>You received this message because you are subscribed to the Google Groups "project-voldemort" group.<br>To post to this group, send email to <a ymailto="mailto:project-voldemort@googlegroups.com" href="mailto:project-voldemort@googlegroups.com">project-voldemort@googlegroups.com</a>.<br>To unsubscribe from this group, send email to project-voldemort+<a ymailto="mailto:unsubscribe@googlegroups.com"
 href="mailto:unsubscribe@googlegroups.com">unsubscribe@googlegroups.com</a>.<br>For more options, visit this group at <a href="http://groups.google.com/group/project-voldemort?hl=en" target="_blank">http://groups.google.com/group/project-voldemort?hl=en</a>.<br><br></div></div>
</div><br>

      </body></html>
--0-212617748-1269546807=:29906--