> On Jan. 27, 2014, 6:19 p.m., kturner wrote: > > server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServerResourceManager.java, > > line 498 > > <https://reviews.apache.org/r/17426/diff/1/?file=451891#file451891line498> > > > > Maybe this could return tablet.getTableConfiguration() and the > > setTableConfiguration() method could be dropped.
I believe you are right. Since the table configuration can be made final in the tablet class, it's equivalent. New diff incoming with the update. Much simpler, thanks! - Bill ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/17426/#review32906 ----------------------------------------------------------- On Jan. 27, 2014, 5:15 p.m., Bill Havanki wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/17426/ > ----------------------------------------------------------- > > (Updated Jan. 27, 2014, 5:15 p.m.) > > > Review request for accumulo. > > > Bugs: ACCUMULO-1948 > https://issues.apache.org/jira/browse/ACCUMULO-1948 > > > Repository: accumulo > > > Description > ------- > > Change in the construction of the cross-referencing between Tablet and > TabletResourceManager to avoid the Tablet constructor leaking this. > > > Diffs > ----- > > server/tserver/pom.xml b627de092faa2b5b4dbc5f8b9e4fb7af696ca436 > server/tserver/src/main/java/org/apache/accumulo/tserver/Tablet.java > 40dfcf0fa1715fbb0ff69e78bdf8954146a36b20 > server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java > 5c1f6ce5f95523ef16005902c99a8f974e9e2baf > > server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServerResourceManager.java > e95843775c85ecf90a2b4c7afce91094381da450 > > server/tserver/src/test/java/org/apache/accumulo/tserver/TabletResourceManagerTest.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/17426/diff/ > > > Testing > ------- > > Added unit test. Real cluster testing TBD. > > > Thanks, > > Bill Havanki > >
