Github user hyunsik commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/673#discussion_r36168924
  
    --- Diff: 
tajo-catalog/tajo-catalog-server/src/main/java/org/apache/tajo/catalog/CatalogServer.java
 ---
    @@ -304,9 +295,25 @@ public GetTablespaceListResponse 
getAllTablespaces(RpcController controller, Nul
             throws ServiceException {
           rlock.lock();
           try {
    +
    +        // retrieves tablespaces from catalog store
    +        final List<TablespaceProto> tableSpaces = 
Lists.newArrayList(store.getTablespaces());
    +
    +        // retrieves tablespaces from linked meta data
    +        
tableSpaces.addAll(Collections2.transform(linkedMetadataManager.getTablespaces(),
    --- End diff --
    
    Some functional methods like transform and filter are in guava Collections2 
class.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to