[ 
https://issues.apache.org/jira/browse/PHOENIX-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037364#comment-17037364
 ] 

Hudson commented on PHOENIX-5633:
---------------------------------

FAILURE: Integrated in Jenkins build PreCommit-PHOENIX-Build #3443 (See 
[https://builds.apache.org/job/PreCommit-PHOENIX-Build/3443/])
PHOENIX-5633: Add table name info to scan logging (chinmayskulkarni: rev 
f592bfdecbf5a50b54f71bad82f52a0504d6eaf5)
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/execute/BaseQueryPlan.java
* (edit) 
phoenix-core/src/main/java/org/apache/phoenix/iterate/BaseResultIterators.java


> Add table name info to scan logging
> -----------------------------------
>
>                 Key: PHOENIX-5633
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5633
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.15.0
>            Reporter: Chinmay Kulkarni
>            Assignee: Christine Feng
>            Priority: Major
>              Labels: beginner, newbie
>             Fix For: 4.15.1
>
>         Attachments: PHOENIX-5633.4.x-HBase-1.3.v1.patch, 
> PHOENIX-5633.master.v1.patch, PHOENIX-5633.master.v2.patch, 
> PHOENIX-5633.master.v3.patch, PHOENIX-5633.master.v4.patch, 
> PHOENIX-5633.master.v5.patch
>
>
> We log the scans at the debug level at various places such as inside 
> _BaseQueryPlan_, _BaseResultIterators_, _Parallelterators_, etc. To help with 
> debugging, we should also print the table name that the scan will be 
> scanning. An example of a log line for a scan currently, is:
> {code:java}
> 19/12/16 22:10:38 DEBUG execute.BaseQueryPlan: Scan ready for iteration: 
> {"loadColumnFamiliesOnDemand":true,"startRow":"","stopRow":"","batch":-1,"cacheBlocks":true,"totalColumns":1,"maxResultSize":-1,"families":{"0":["ALL"]},"caching":2147483647,"maxVersions":1,"timeRange":[0,9223372036854775807]}
> {code}
> OR
> {code:java}
> 19/12/16 22:10:38 DEBUG iterate.BaseResultIterators: Getting iterators for 
> ResultIterators 
> [name=PARALLEL,id=1de62127-8ce9-b8d0-4881-6eaec8835ea5,scans=[[{"loadColumnFamiliesOnDemand":true,"startRow":"","stopRow":"","batch":-1,"cacheBlocks":true,"totalColumns":1,"maxResultSize":-1,"families":{"0":["ALL"]},"caching":2147483647,"maxVersions":1,"timeRange":[0,9223372036854775807]}]]]
> 19/12/16 22:10:38 DEBUG iterate.ParallelIterators: Id: 
> 1de62127-8ce9-b8d0-4881-6eaec8835ea5, Time: 0ms, Scan: 
> {"loadColumnFamiliesOnDemand":true,"startRow":"","stopRow":"","batch":-1,"cacheBlocks":true,"totalColumns":1,"maxResultSize":-1,"families":{"0":["ALL"]},"caching":2147483647,"maxVersions":1,"timeRange":[0,9223372036854775807]}
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to