[
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)