Query executed was: SELECT TABLE_SCHEMA, TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.`TABLES` ORDER BY TABLE_NAME DESC;
sqlline.log had the following: 2014-06-27 09:22:26,663 [Client-1] DEBUG o.a.d.e.rpc.user.QueryResultHandler - Received QueryId part1: 6092967412432391238 part2: -7332788056789516408 succesfully. Adding listener org.apache.drill.jdbc.DrillResultSet$Listener@7102adc0 drillbit.log had the following: 2014-06-27 09:22:26,663 [WorkManager Event Thread] DEBUG o.apache.drill.exec.work.WorkManager - Starting pending task org.apache.drill.exec.work.foreman.Foreman@619f4fd1 2014-06-27 09:22:26,673 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.s.h.DefaultSqlHandler - Optiq Logical : SortRel(sort0=[$1], dir0=[DESC]): rowcount = 100.0, cumulative cost = {5726.20422318571 rows, 501.0 cpu, 0.0 io, 0.0 network}, id = 2531 ProjectRel(TABLE_SCHEMA=[$1], TABLE_NAME=[$2], TABLE_TYPE=[$3]): rowcount = 100.0, cumulative cost = {200.0 rows, 401.0 cpu, 0.0 io, 0.0 network}, id = 2530 EnumerableTableAccessRel(table=[[INFORMATION_SCHEMA, TABLES]]): rowcount = 100.0, cumulative cost = {100.0 rows, 101.0 cpu, 0.0 io, 0.0 network}, id = 2529 2014-06-27 09:22:26,683 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.s.h.DefaultSqlHandler - Drill Logical : DrillScreenRel: rowcount = 1000.0, cumulative cost = {84993.06334778565 rows, 5112.0 cpu, 0.0 io, 0.0 network}, id = 2569 DrillSortRel(sort0=[$1], dir0=[DESC]): rowcount = 1000.0, cumulative cost = {84893.06334778565 rows, 5012.0 cpu, 0.0 io, 0.0 network}, id = 2568 DrillProjectRel(TABLE_SCHEMA=[$1], TABLE_NAME=[$2], TABLE_TYPE=[$3]): rowcount = 1000.0, cumulative cost = {2000.0 rows, 4012.0 cpu, 0.0 io, 0.0 network}, id = 2567 DrillScanRel(table=[[INFORMATION_SCHEMA, TABLES]], groupscan=[TABLEScolumns=null]): rowcount = 1000.0, cumulative cost = {1000.0 rows, 4000.0 cpu, 0.0 io, 0.0 network}, id = 2560 2014-06-27 09:22:26,736 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.s.h.DefaultSqlHandler - Drill Physical : 00-00 Screen: rowcount = 1000.0, cumulative cost = {7100.0 rows, 75326.98714153297 cpu, 0.0 io, 2.4576E7 network}, id = 2698 00-01 Project(TABLE_SCHEMA=[$0], TABLE_NAME=[$1], TABLE_TYPE=[$2]): rowcount = 1000.0, cumulative cost = {7000.0 rows, 75226.98714153297 cpu, 0.0 io, 2.4576E7 network}, id = 2697 00-02 SingleMergeExchange(sort0=[1 DESC]): rowcount = 1000.0, cumulative cost = {6000.0 rows, 75214.98714153297 cpu, 0.0 io, 2.4576E7 network}, id = 2696 01-01 SelectionVectorRemover: rowcount = 1000.0, cumulative cost = {5000.0 rows, 60875.13713864835 cpu, 0.0 io, 1.2288E7 network}, id = 2695 01-02 Sort(sort0=[$1], dir0=[DESC]): rowcount = 1000.0, cumulative cost = {4000.0 rows, 59875.13713864835 cpu, 0.0 io, 1.2288E7 network}, id = 2694 01-03 HashToRandomExchange(dist0=[[$1]]): rowcount = 1000.0, cumulative cost = {3000.0 rows, 20012.0 cpu, 0.0 io, 1.2288E7 network}, id = 2693 02-01 Project(TABLE_SCHEMA=[$1], TABLE_NAME=[$2], TABLE_TYPE=[$3]): rowcount = 1000.0, cumulative cost = {2000.0 rows, 4012.0 cpu, 0.0 io, 0.0 network}, id = 2692 02-02 Scan(groupscan=[TABLEScolumns=null]): rowcount = 1000.0, cumulative cost = {1000.0 rows, 4000.0 cpu, 0.0 io, 0.0 network}, id = 2691 2014-06-27 09:22:26,739 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.s.h.DefaultSqlHandler - Drill Plan : { "head" : { "version" : 1, "generator" : { "type" : "DefaultSqlHandler", "info" : "" }, "type" : "APACHE_DRILL_PHYSICAL", "options" : [ ], "queue" : 0, "resultMode" : "EXEC" }, "graph" : [ { "pop" : "info-schema", "@id" : 131074 }, { "pop" : "project", "@id" : 131073, "exprs" : [ { "ref" : "`TABLE_SCHEMA`", "expr" : "`TABLE_SCHEMA`" }, { "ref" : "`TABLE_NAME`", "expr" : "`TABLE_NAME`" }, { "ref" : "`TABLE_TYPE`", "expr" : "`TABLE_TYPE`" } ], "child" : 131074, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, { "pop" : "hash-to-random-exchange", "@id" : 65539, "child" : 131073, "expr" : "hash(`TABLE_NAME`) ", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, { "pop" : "external-sort", "@id" : 65538, "child" : 65539, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, { "pop" : "selection-vector-remover", "@id" : 65537, "child" : 65538, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, { "pop" : "single-merge-exchange", "@id" : 2, "child" : 65537, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, { "pop" : "project", "@id" : 1, "exprs" : [ { "ref" : "`TABLE_SCHEMA`", "expr" : "`TABLE_SCHEMA`" }, { "ref" : "`TABLE_NAME`", "expr" : "`TABLE_NAME`" }, { "ref" : "`TABLE_TYPE`", "expr" : "`TABLE_TYPE`" } ], "child" : 2, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, { "pop" : "screen", "@id" : 0, "child" : 1, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 } ] } 2014-06-27 09:22:26,743 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,743 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,744 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,744 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,745 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 0 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill2" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,745 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,746 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,746 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,746 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,747 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 1 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill3" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,748 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,748 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,748 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,749 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,750 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 2 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,750 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,750 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,751 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,751 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,752 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 3 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill2" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,752 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,752 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,753 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,753 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,754 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 4 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill3" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,754 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,755 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,755 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,755 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,756 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 5 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,757 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,757 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,757 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,758 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,759 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 6 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill2" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,759 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,759 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,760 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 2014-06-27 09:22:26,760 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 4000000. Pop: org.apache.drill. exec.physical.config.HashToRandomExchange@4616fa42 2014-06-27 09:22:26,761 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.e.p.f.SimpleParallelizer - Remote fragment: handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 1 minor_fragment_id: 7 } network_cost: 0.0 cpu_cost: 0.0 disk_cost: 0.0 memory_cost: 0.0 fragment_json: "{ "pop" : "single-sender", "@id" : 0, "receiver-major-fragment" : 0, "child" : { "pop" : "selection-vector-remover", "@id" : 1, "child" : { "pop" : "external-sort", "@id" : 2, "child" : { "pop" : "random-receiver", "@id" : 3, "sender-major-fragment" : 2, "senders" : [ "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB" ], "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "orderings" : [ { "order" : "DESC", "expr" : "`TABLE_NAME`", "nullDirection" : "UNSPECIFIED" } ], "reverse" : false, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }, "destination" : "Cg1tdWZlZWQtZHJpbGwxEKLyARij8gEgpPIB", "initialAllocation" : 1000000, "maxAllocation" : 10000000000 }" leaf_fragment: false assignment { address: "mufeed-drill3" user_port: 31010 control_port: 31011 data_port: 31012 } foreman { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } mem_initial: 4000000 mem_max: 40000000000 query_start_time: 1403875346743 time_zone: 166 options_json: "[ ]" 2014-06-27 09:22:26,761 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 1000000. Pop: org.apache.drill. exec.physical.config.SingleMergeExchange@135191b 2014-06-27 09:22:26,762 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 2000000. Pop: org.apache.drill. exec.physical.config.SelectionVectorRemover@45033c3b 2014-06-27 09:22:26,762 [548e9194-6610-4c46-9a3c-b41cf5d57f88:foreman] DEBUG o.a.d.exec.planner.fragment.Wrapper - Incrementing initialAllocation by 1000000 to 3000000. Pop: org.apache.drill. exec.physical.config.ExternalSort@576768e2 ...skipping... query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 2 minor_fragment_id: 0 } 2014-06-27 09:22:26,817 [BitServer-1] DEBUG o.a.d.exec.work.foreman.QueryManager - New fragment status was provided to Foreman of profile { state: FAILED error { error_id: "d9ff80ba-7c45-4543-8476-f37dce74d33b" endpoint { address: "mufeed-drill1" user_port: 31010 control_port: 31011 data_port: 31012 } error_type: 0 message: "Failure while running fragment. < NullPointerException" } start_time: 1403875346805 end_time: 1403875346813 memory_used: 0 } handle { query_id { part1: 6092967412432391238 part2: -7332788056789516408 } major_fragment_id: 2 minor_fragment_id: 0 } (END) --- Mufeed Usman My LinkedIn <http://www.linkedin.com/pub/mufeed-usman/28/254/400> | My Social Cause <http://www.vision2016.org.in/> | My Blogs : LiveJournal <http://mufeed.livejournal.com> On Fri, Jun 27, 2014 at 3:54 PM, AnilKumar B <akumarb2...@gmail.com> wrote: > Hi Mufy, > > As console logs are not informative, can you please once check > the drillbit.log and sqlline.log? > > > Thanks & Regards, > B Anil Kumar. > > > On Fri, Jun 27, 2014 at 12:49 PM, mufy <mufeed.us...@gmail.com> wrote: > > > What could possibly be causing the below error? > > > > 0: jdbc:drill:zk=mufeed-drill1:5181,mufeed-dr> SELECT TABLE_SCHEMA, > > TABLE_NAME, TABLE_TYPE FROM INFORMATION_SCHEMA.`TABLES` ORDER BY > TABLE_NAME > > DESC; > > Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure > while > > running query.[error_id: "8d4ec0ed-ca7f-4aa2-9b11-5c3fdcf8695c" > > endpoint { > > address: "mufeed-drill3" > > user_port: 31010 > > control_port: 31011 > > data_port: 31012 > > } > > error_type: 0 > > message: "Failure while running fragment. < NullPointerException" > > ] > > Error: exception while executing query (state=,code=0 > > > > --- > > Mufeed Usman > > My LinkedIn <http://www.linkedin.com/pub/mufeed-usman/28/254/400> | My > > Social Cause <http://www.vision2016.org.in/> | My Blogs : LiveJournal > > <http://mufeed.livejournal.com> > > >