elek opened a new 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to