Ding Ding created YARN-11143:
--------------------------------

             Summary: LeveldbTimelineStateStore gives inaccurate log message 
saying "Creating a new database at th path ... " after already created the 
database
                 Key: YARN-11143
                 URL: https://issues.apache.org/jira/browse/YARN-11143
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
            Reporter: Ding Ding


Hello,

While viewing the 
[MAPREDUCE-4262|https://issues.apache.org/jira/browse/MAPREDUCE-4262], I found 
that the logging statements might give inaccurate messages. 

I also found that the in the line *119* of the file 
{*}LeveldbTimelineStateStore{*}, the log messages says "{_}Creating a new 
database at th path:  "{_}. Howver, the database creation should already 
completed in previous code ({*}line 117 and 118{*}).

Would it be better if we change the verb "Creating" to "Created" to indicate 
the action is completed? Or can we move the logging statement to the line 
before {*}117{*}? Since when there was an exception in {*}line 117 and 118{*}, 
the logging message would not be printed, which may be not good for debugging. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to