You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2014/12/16 17:29:13 UTC

[jira] [Comment Edited] (KNOX-479) Remove cacheManager configuration from template files

    [ https://issues.apache.org/jira/browse/KNOX-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242864#comment-14242864 ] 

Larry McCay edited comment on KNOX-479 at 12/16/14 4:28 PM:
------------------------------------------------------------

The problem is that HS2 interactions through ODBC/JDBC are very chatty which result in many LDAP lookups per query.
This is very important to optimize.

Most interactions with other services will result in LDAP hits per request which will not generally be very many.
Most importantly, the clients are more varied for the other services and most will not be sending JSESSIONID.

Since we are changing the drivers to do so transparently - that is the only interaction that we can assume will always have JSESSIONID and will work.

It is a rather complicated workaround for an optimization that happens to break most clients. 
Not very easy to reconcile.

This is why we need to eliminate the need for this particular cache mechanism.


was (Author: lmccay):
The problem is that HS2 interactions through ODBC/JDBC are very chatty which result in 1000+ LDAP lookups.
This is very important to optimize.

Most interactions with other services will result in LDAP hits per request which will not generally be very many.
Most importantly, the clients are more varied for the other services and most will not be sending JSESSIONID.

Since we are changing the drivers to do so transparently - that is the only interaction that we can assume will always have JSESSIONID and will work.

It is a rather complicated workaround for an optimization that happens to break most clients. 
Not very easy to reconcile.

This is why we need to eliminate the need for this particular cache mechanism.

> Remove cacheManager configuration from template files
> -----------------------------------------------------
>
>                 Key: KNOX-479
>                 URL: https://issues.apache.org/jira/browse/KNOX-479
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>             Fix For: 0.6.0
>
>
> The cacheManager configuration needs to be removed from the general purpose template files. We will create a new topology template to show how to use it for xDBC->knox->HS2 access - since this is where it is most needed. The specialized hivedriver topology will only have the hive routing service defined.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)