You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2019/08/26 03:34:00 UTC

[jira] [Commented] (SPARK-28861) Jetty property handling: java.lang.NumberFormatException: For input string: "unknown".

    [ https://issues.apache.org/jira/browse/SPARK-28861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915447#comment-16915447 ] 

Hyukjin Kwon commented on SPARK-28861:
--------------------------------------

Can you share full stract trace?

> 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
(v8.3.2#803003)

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