[ 
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}}
{code}
URL.setURLStreamHandlerFactory(new FsUrlStreamHandlerFactory())
{code}

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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to