[jira] [Resolved] (STORM-3799) Logging user information for blob delete req

2021-10-14 Thread Ethan Li (Jira)


 [ 
https://issues.apache.org/jira/browse/STORM-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ethan Li resolved STORM-3799.
-
Fix Version/s: 2.4.0
   Resolution: Fixed

Thanks [~snikhil5].

Merged to the master branch (d9b12720d149c78b15a7eb0e114c6b5b5824421d)

> Logging user information for blob delete req
> 
>
> Key: STORM-3799
> URL: https://issues.apache.org/jira/browse/STORM-3799
> Project: Apache Storm
>  Issue Type: Improvement
>  Components: blobstore, storm-server
>Reporter: Nikhil Singh
>Assignee: Nikhil Singh
>Priority: Minor
> Fix For: 2.4.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Existing message does not contain information about the user making the 
> request for deleting the blob. This change will add information about the 
> user that requested the blob deletion.
>  
> Current log message has no context information:
> 2021-01-22 23:14:52.147 o.a.s.d.n.Nimbus pool-34-thread-215 [INFO] Deleted 
> blob for key maw_conf.tgz



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


[jira] [Created] (STORM-3800) Fix Resocue leak due to Files.list and Files.walk

2021-10-14 Thread lujie (Jira)
lujie created STORM-3800:


 Summary: Fix Resocue leak due to Files.list and Files.walk
 Key: STORM-3800
 URL: https://issues.apache.org/jira/browse/STORM-3800
 Project: Apache Storm
  Issue Type: Improvement
Reporter: lujie


Files.list and Files.walk will open dir stream, we should close it.

 

see jdk:

the {[@code|https://github.com/code] try}-with-resources construct should be 
used to ensure that the
stream's {[@link|https://github.com/link] Stream#close close} method is invoked 
after the stream
operations are completed.



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