Siddhant Chadha commented on SPARK-28861:

I’d like to take this up

> Jetty property handling: java.lang.NumberFormatException: For input string: 
> "unknown".
> --------------------------------------------------------------------------------------
>                 Key: SPARK-28861
>                 URL: https://issues.apache.org/jira/browse/SPARK-28861
>             Project: Spark
>          Issue Type: Wish
>          Components: Spark Submit
>    Affects Versions: 2.4.3
>            Reporter: Ketan
>            Priority: Minor
> While processing data from certain files a {{NumberFormatExceltion}} was seen 
> in the logs. The processing was fine but the following stacktrace was 
> observed:
> {code}
> {"time":"2019-08-16 
> 08:21:36,733","level":"DEBUG","class":"o.s.j.u.Jetty","message":"","thread":"Driver","appName":"app-name","appVersion":"APPLICATION_VERSION","type":"APPLICATION","errorCode":"ERROR_CODE","errorId":""}
> java.lang.NumberFormatException: For input string: "unknown".
> {code}
> On investigation it is found that in the class Jetty there is the following:
> {code}
> BUILD_TIMESTAMP = formatTimestamp(__buildProperties.getProperty("timestamp", 
> "unknown")); 
> {code}
> which indicates that the config should have the 'timestamp' property. If the 
> property is not there then the default value is set as 'unknown' and this 
> value causes the stacktrace to show up in the logs in our application. It has 
> no detrimental effect on the application as such but could be addressed.

This message was sent by Atlassian Jira

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

Reply via email to