drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vrozov <...@git.apache.org>
Subject [GitHub] drill pull request #911: - DRILL-5507 Made verbose info logging message debu...
Date Thu, 17 Aug 2017 22:01:41 GMT
Github user vrozov commented on a diff in the pull request:

    https://github.com/apache/drill/pull/911#discussion_r133838104
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/schedule/BlockMapBuilder.java
---
    @@ -228,6 +230,7 @@ public EndpointByteMap getEndpointByteMap(FileWork work) throws IOException
{
     
         // Find submap of ranges that intersect with the rowGroup
         ImmutableRangeMap<Long,BlockLocation> subRangeMap = blockMap.subRangeMap(rowGroupRange);
    +    Set<String> noDrillbitHosts = Sets.newHashSet();
    --- End diff --
    
    Consider `final Set<String> noDrillbitHosts = logger.isDebugEnabled() ? Sets.newHashSet()
: null;`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message