[ https://issues.apache.org/jira/browse/HBASE-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-765. ------------------------- Resolution: Won't Fix We don't have IndexConfiguration anymore in our code base. Won't fix. > Adding basic Spring DI support to IndexConfiguration class. > ----------------------------------------------------------- > > Key: HBASE-765 > URL: https://issues.apache.org/jira/browse/HBASE-765 > Project: HBase > Issue Type: Improvement > Components: mapred > Affects Versions: 0.16.0, 0.1.0, 0.1.1, 0.1.2, 0.1.3 > Environment: n/a > Reporter: Ryan Smith > Priority: Minor > Original Estimate: 20m > Remaining Estimate: 20m > > Spring can configure classes/object graphs via xml. I am pretty much able to > configure the entire MR object graph to launch MR jobs via spring except > class IndexConfiguration.java. So instead of only using addFromXML() to > configure IndexConfiguration, it would be nice to add support so Spring could > set all class variables needed for initialization in IndexConfiguration > without invoking addFromXML(). > Since the class IndexConfiguration already has setters and getters for almost > all its members, it's almost compliant for a spring configuration bean except > one issue: no ability to configure columnMap outside of calling addFromXML(). > The easiest way i can figure is to allow a setter for the column map and put > any logic for checking the map integrity there. By adding a few methods to > IndexConfiguration.java , it should solve the issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira