You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/08/21 21:02:00 UTC

[jira] [Commented] (SPARK-25180) Spark standalone failure in Utils.doFetchFile() if nslookup of local hostname fails

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

Steve Loughran commented on SPARK-25180:
----------------------------------------

code snippet was some trivial CSV => ORC with both src and dest on s3a URLs

{code}
  filteredCSV.write.
    partitionBy("year", "month").
    mode(SaveMode.Append).format("orc").save(orcData.toString)
{code}

> Spark standalone failure in Utils.doFetchFile() if nslookup of local hostname fails
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-25180
>                 URL: https://issues.apache.org/jira/browse/SPARK-25180
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.3.0
>         Environment: mac laptop running on a corporate guest wifi, presumably a wifi with odd DNS settings.
>            Reporter: Steve Loughran
>            Priority: Minor
>
> trying to save work on spark standalone can fail if netty RPC cannot determine the hostname. While that's a valid failure on a real cluster, in standalone falling back to localhost rather than inferred "hw13176.lan" value may be the better option.
> note also, the abort* call failed; NPE.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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