hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14598) azure wasb failing: FsUrlConnection cannot be cast to HttpURLConnection
Date Tue, 27 Jun 2017 21:00:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16065454#comment-16065454

Steve Loughran commented on HADOOP-14598:

In Spark's {{org.apache.spark.sql.internal.SharedState}}
URL.setURLStreamHandlerFactory(new FsUrlStreamHandlerFactory())

This is kicking in when Hive/ Spark SQLContext is being inited, which is why it only surfaces
in some tests

> azure wasb failing: FsUrlConnection cannot be cast to HttpURLConnection
> -----------------------------------------------------------------------
>                 Key: HADOOP-14598
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14598
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/azure, test
>    Affects Versions: 3.0.0-beta1
>            Reporter: Steve Loughran
> my downstream-of-spark cloud integration tests (where I haven't been running the azure
ones for a while) now have a few of the tests failing
> {code}
>  org.apache.hadoop.fs.azure.AzureException: com.microsoft.azure.storage.StorageException:
org.apache.hadoop.fs.FsUrlConnection cannot be cast to java.net.HttpURLConnection
> {code}
> No obvious cause, and it's only apparently happening in some of the (scalatest) tests.

This message was sent by Atlassian JIRA

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

View raw message