You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Raghavendra Singh (JIRA)" <ji...@apache.org> on 2014/12/15 14:03:13 UTC
[jira] [Commented] (LENS-14) Lightest fact first config wont work
with more than one storage
[ https://issues.apache.org/jira/browse/LENS-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246623#comment-14246623 ]
Raghavendra Singh commented on LENS-14:
---------------------------------------
verified:-
works fine
resolves storage then lightest fact then partitions
> Lightest fact first config wont work with more than one storage
> ---------------------------------------------------------------
>
> Key: LENS-14
> URL: https://issues.apache.org/jira/browse/LENS-14
> Project: Apache Lens
> Issue Type: Bug
> Components: cube
> Affects Versions: 2.0
> Reporter: Amareshwari Sriramadasu
> Assignee: Rajat Khandelwal
> Fix For: 2.0
>
> Attachments: LENS-14.0.patch, LENS-14.1.patch, LENS-14.2.patch
>
>
> With lightest fact resolver first config enabled, it would pick only one lightest fact to be lightest. And storage table resolver might skip it if current driver cannot work on the storage chosen.
> The problem is StorageTableResolver resolves supported storages, final storage tables and also checks for partitions available in tables. The solution is to split StorageTableResolver into two resolvers sothat we first apply storage table resolver to find supported storages and storage tables. If lightest fact first config enabled, then apply LightestFactResolver and then apply storage partition resolver, which checks for partition existence on the fact storage tables.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)