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

Switch to Plain View
Accumulo, mail # dev - Review Request: Patch submitted by Chris McCubbin to add thrift proxy to Accumulo


+
keith@... 2012-11-07, 20:33
+
keith@... 2012-11-07, 21:14
+
keith@... 2012-11-07, 21:55
+
Chris McCubbin 2012-11-07, 21:40
+
Chris McCubbin 2012-11-07, 21:44
+
keith@... 2012-11-07, 21:41
+
Chris McCubbin 2012-11-07, 21:55
+
keith@... 2012-11-07, 22:05
Copy link to this message
-
Re: Review Request: Patch submitted by Chris McCubbin to add thrift proxy to Accumulo
keith@... 2012-11-07, 21:44


> On Nov. 7, 2012, 9:41 p.m., kturner wrote:
> > /trunk/proxy/README, line 13
> > <https://reviews.apache.org/r/7936/diff/1/?file=186398#file186398line13>
> >
> >     May be useful to provide guidance on how proxies should be run in a cluster.  For example run one proxy for each client node.
> >    
> >     So what should this guidance be?  Whats the best practice?
> >    
> >     Running a proxy process on every node where a client runs may be the most efficient.  But if the user has to manage this it could be cumbersome.  We could help by having each tserver run a proxy process may be the most convienet for users.  Could do this and provide a little bit of code for each language that helps a user find proxy.   This utility could prefer a local tserver if there is one and otherwise choose a random one.  Having tservers run a proxy service may make them less stable.
> >

Just realized that running on a proxy on each tserver is probably a bad idea.  It make the user of the thrift API have to handle failure cases (i.e. remote proxy I was using failed, now I need to select another).   If you are running a local proxy process, there could be failures but I think its much less likely.  Using a local proxy and letting the Accumulo client code handle remote failures seems like a good way to go.
- kturner
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/7936/#review13224
-----------------------------------------------------------
On Nov. 7, 2012, 8:33 p.m., kturner wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/7936/
> -----------------------------------------------------------
>
> (Updated Nov. 7, 2012, 8:33 p.m.)
>
>
> Review request for accumulo.
>
>
> Description
> -------
>
> Patch submitted by Chris McCubbin to add thrift proxy to Accumulo
>
>
> This addresses bug ACCUMULO-482.
>     https://issues.apache.org/jira/browse/ACCUMULO-482
>
>
> Diffs
> -----
>
>   /trunk/pom.xml 1406772
>   /trunk/proxy/README PRE-CREATION
>   /trunk/proxy/examples/python/README PRE-CREATION
>   /trunk/proxy/examples/python/TestClient.py PRE-CREATION
>   /trunk/proxy/examples/python/data/__init__.py PRE-CREATION
>   /trunk/proxy/examples/python/data/constants.py PRE-CREATION
>   /trunk/proxy/examples/python/data/ttypes.py PRE-CREATION
>   /trunk/proxy/examples/python/proxy/AccumuloProxy-remote PRE-CREATION
>   /trunk/proxy/examples/python/proxy/AccumuloProxy.py PRE-CREATION
>   /trunk/proxy/examples/python/proxy/__init__.py PRE-CREATION
>   /trunk/proxy/examples/python/proxy/constants.py PRE-CREATION
>   /trunk/proxy/examples/python/proxy/ttypes.py PRE-CREATION
>   /trunk/proxy/examples/ruby/README PRE-CREATION
>   /trunk/proxy/examples/ruby/accumulo_proxy.rb PRE-CREATION
>   /trunk/proxy/examples/ruby/data_constants.rb PRE-CREATION
>   /trunk/proxy/examples/ruby/data_types.rb PRE-CREATION
>   /trunk/proxy/examples/ruby/proxy_constants.rb PRE-CREATION
>   /trunk/proxy/examples/ruby/proxy_types.rb PRE-CREATION
>   /trunk/proxy/examples/ruby/test_client.rb PRE-CREATION
>   /trunk/proxy/examples/ruby/thrift.rb PRE-CREATION
>   /trunk/proxy/pom.xml PRE-CREATION
>   /trunk/proxy/proxy.properties PRE-CREATION
>   /trunk/proxy/src/main/java/org/apache/accumulo/proxy/ProxyHarness.java PRE-CREATION
>   /trunk/proxy/src/main/java/org/apache/accumulo/proxy/ProxyServer.java PRE-CREATION
>   /trunk/proxy/src/main/java/org/apache/accumulo/proxy/TestProxyClient.java PRE-CREATION
>   /trunk/proxy/src/main/java/org/apache/accumulo/proxy/Util.java PRE-CREATION
>   /trunk/proxy/src/main/java/org/apache/accumulo/proxy/api/AccumuloException.java PRE-CREATION
>   /trunk/proxy/src/main/java/org/apache/accumulo/proxy/api/AccumuloProxy.java PRE-CREATION
>   /trunk/proxy/src/main/java/org/apache/accumulo/proxy/api/AccumuloSecurityException.java PRE-CREATION