You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2010/08/28 07:50:56 UTC
[jira] Created: (CASSANDRA-1440) Improve auth story for Avro
Improve auth story for Avro
---------------------------
Key: CASSANDRA-1440
URL: https://issues.apache.org/jira/browse/CASSANDRA-1440
Project: Cassandra
Issue Type: Improvement
Reporter: Stu Hood
Avro is:
* Missing many of the authorization calls that Thrift makes
* Doesn't clean up ThreadLocal state when a connection closes (accomplished in Thrift via the hacked up {{thrift.CustomTThreadPoolServer}})
* Doesn't have a login method (probably due to the last issue)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1440) Improve auth story for Avro
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905199#action_12905199 ]
Doug Cutting commented on CASSANDRA-1440:
-----------------------------------------
I wonder if you could instead simply use Jetty's Server class directly. The only line of code you're really getting from Avro's HttpServer is:
{code}
new Context(server, "/").addServlet(new ServletHolder(new ResponderServlet(responder)), "/*");
{code}
So this wouldn't duplicate much, and it would keep Avro's HttpServer API Jetty-independent.
> Improve auth story for Avro
> ---------------------------
>
> Key: CASSANDRA-1440
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1440
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Stu Hood
> Attachments: 0001-Use-AVRO-649-to-plug-in-a-ThreadPool-implementation-.patch
>
>
> Avro is:
> * Missing many of the authorization calls that Thrift makes
> * Doesn't clean up ThreadLocal state when a connection closes (accomplished in Thrift via the hacked up {{thrift.CustomTThreadPoolServer}})
> * Doesn't have a login method (probably due to the last issue)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1440) Improve auth story for Avro
Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stu Hood updated CASSANDRA-1440:
--------------------------------
Attachment: 0001-Use-AVRO-649-to-plug-in-a-ThreadPool-implementation-.patch
Nick fixed the other issues mentioned on this ticket, so this patch applies our ThreadLocal cleanups to Avro via AVRO-649.
> Improve auth story for Avro
> ---------------------------
>
> Key: CASSANDRA-1440
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1440
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Stu Hood
> Attachments: 0001-Use-AVRO-649-to-plug-in-a-ThreadPool-implementation-.patch
>
>
> Avro is:
> * Missing many of the authorization calls that Thrift makes
> * Doesn't clean up ThreadLocal state when a connection closes (accomplished in Thrift via the hacked up {{thrift.CustomTThreadPoolServer}})
> * Doesn't have a login method (probably due to the last issue)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1440) Improve auth story for Avro
Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stu Hood updated CASSANDRA-1440:
--------------------------------
Attachment: (was: 0001-Use-AVRO-649-to-plug-in-a-ThreadPool-implementation-.patch)
> Improve auth story for Avro
> ---------------------------
>
> Key: CASSANDRA-1440
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1440
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Stu Hood
>
> Avro is:
> * Missing many of the authorization calls that Thrift makes
> * Doesn't clean up ThreadLocal state when a connection closes (accomplished in Thrift via the hacked up {{thrift.CustomTThreadPoolServer}})
> * Doesn't have a login method (probably due to the last issue)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1440) Improve auth story for Avro
Posted by "Stu Hood (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stu Hood updated CASSANDRA-1440:
--------------------------------
Attachment: 0001-Access-Avro-s-Jetty-server-directly-to-plug-in-a-Thr.patch
As suggested, rather than relying on Avro supporting pluggable thread pools, this patch accesses Jetty directly to set up the server.
> Improve auth story for Avro
> ---------------------------
>
> Key: CASSANDRA-1440
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1440
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Stu Hood
> Attachments: 0001-Access-Avro-s-Jetty-server-directly-to-plug-in-a-Thr.patch
>
>
> Avro is:
> * Missing many of the authorization calls that Thrift makes
> * Doesn't clean up ThreadLocal state when a connection closes (accomplished in Thrift via the hacked up {{thrift.CustomTThreadPoolServer}})
> * Doesn't have a login method (probably due to the last issue)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.