You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ketan (Jira)" <ji...@apache.org> on 2019/08/23 13:52:00 UTC
[jira] [Created] (SPARK-28861) Jetty property handling
Ketan created SPARK-28861:
-----------------------------
Summary: Jetty property handling
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
While processing data from certain files a NumberFormatExceltion was seen in the logs. The processing was fine but the following stacktrace was observed:
{"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".
On investigation it is found that in the class Jetty there is the following:
BUILD_TIMESTAMP = formatTimestamp(__buildProperties.getProperty("timestamp", "unknown"));
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
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org