[ 
https://issues.apache.org/jira/browse/HBASE-17728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Yu updated HBASE-17728:
---------------------------
    Attachment: 17728.v3.txt

Patch v3 creates a build target, conf, inside core/BUCK
core:core depends on core:conf

The following command passes:

buck test //core:filter-test

make also passes.

I can refine isSecurityEnabled() if reviewers think this approach is good.

> Separate Configuration into common module
> -----------------------------------------
>
>                 Key: HBASE-17728
>                 URL: https://issues.apache.org/jira/browse/HBASE-17728
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 17728.v1.txt, 17728.v2.txt, 17728.v3.txt
>
>
> User is in security module.
> When User::isSecurityEnabled() is added, we need to query Configuration for 
> security setting.
> However, this introduces a circular build dependency:
> BUILD FAILED: Cycle found: //connection:connection -> //security:security -> 
> //core:core -> //connection:connection
> This issue is to separate Configuration into common module which is depended 
> upon by both core and connection modules.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to