DRILL-1474: [AtomicRemainder] Failure to allocate requested memory should be 
logged as warning


Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/9c280b52
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/9c280b52
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/9c280b52

Branch: refs/heads/master
Commit: 9c280b523202c34504681424402b54e4eb9988a5
Parents: 1e21045
Author: Aditya Kishore <adi...@maprtech.com>
Authored: Tue Sep 30 17:43:27 2014 -0700
Committer: Jacques Nadeau <jacq...@apache.org>
Committed: Wed Nov 12 09:41:46 2014 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/drill/exec/memory/AtomicRemainder.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/9c280b52/exec/java-exec/src/main/java/org/apache/drill/exec/memory/AtomicRemainder.java
----------------------------------------------------------------------
diff --git 
a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/AtomicRemainder.java
 
b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/AtomicRemainder.java
index 6771497..56ec9ae 100644
--- 
a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/AtomicRemainder.java
+++ 
b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/AtomicRemainder.java
@@ -113,7 +113,7 @@ public class AtomicRemainder {
           sb.append(s.toString());
           sb.append("\n");
         }
-        logger.error("No more memory. Fragment limit ("+this.limit +
+        logger.warn("No more memory. Fragment limit ("+this.limit +
           " bytes) reached. Trying to allocate "+size+ " bytes. "+getUsed()+" 
bytes already allocated.\n"+sb.toString());
         return false;
       }

Reply via email to