[ 
https://issues.apache.org/jira/browse/HDDS-2461?focusedWorklogId=341966&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-341966
 ]

ASF GitHub Bot logged work on HDDS-2461:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Nov/19 15:22
            Start Date: 12/Nov/19 15:22
    Worklog Time Spent: 10m 
      Work Description: elek commented on pull request #144: HDDS-2461. Logging 
by ChunkUtils is misleading
URL: https://github.com/apache/hadoop-ozone/pull/144
 
 
   ## What changes were proposed in this pull request?
   
   During a k8s based test I found a lot of log message like:
   ```
   2019-11-12 14:27:13 WARN  ChunkManagerImpl:209 - Duplicate write chunk 
request. Chunk overwrite without explicit request. 
ChunkInfo{chunkName='A9UrLxiEUN_testdata_chunk_4465025, offset=0, len=1024} 
   ```
   
   I was very surprised as at `ChunkManagerImpl:209` there was no related lines.
   
   It turned out that it's logged by `ChunkUtils` but it's used the logger of 
`ChunkManagerImpl`.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2461
   
   ## How was this patch tested?
   
   I deployed a new version  from Ozone to the kubernetes cluster. But I also 
added a new test method TestChunkUtil to have at least one unit test method 
which uses the logger. 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 341966)
    Remaining Estimate: 0h
            Time Spent: 10m

> Logging by ChunkUtils is misleading
> -----------------------------------
>
>                 Key: HDDS-2461
>                 URL: https://issues.apache.org/jira/browse/HDDS-2461
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>            Reporter: Marton Elek
>            Assignee: Marton Elek
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> During a k8s based test I found a lot of log message like:
> {code:java}
> 2019-11-12 14:27:13 WARN  ChunkManagerImpl:209 - Duplicate write chunk 
> request. Chunk overwrite without explicit request. 
> ChunkInfo{chunkName='A9UrLxiEUN_testdata_chunk_4465025, offset=0, len=1024} 
> {code}
> I was very surprised as at ChunkManagerImpl:209 there was no similar lines.
> It turned out that it's logged by ChunkUtils but it's used the logger of 
> ChunkManagerImpl.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to