You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/06/27 19:06:01 UTC

[jira] [Commented] (HADOOP-14598) azure wasb failing: FsUrlConnection cannot be cast to HttpURLConnection

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

Steve Loughran commented on HADOOP-14598:
-----------------------------------------

{code}
- DataFrames *** FAILED ***
  org.apache.hadoop.fs.azure.AzureException: com.microsoft.azure.storage.StorageException: org.apache.hadoop.fs.FsUrlConnection cannot be cast to java.net.HttpURLConnection
  at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.retrieveMetadata(AzureNativeFileSystemStore.java:2023)
  at org.apache.hadoop.fs.azure.NativeAzureFileSystem.delete(NativeAzureFileSystem.java:1846)
  at org.apache.hadoop.fs.azure.NativeAzureFileSystem.delete(NativeAzureFileSystem.java:1810)
  at com.hortonworks.spark.cloud.ObjectStoreOperations$class.rm(ObjectStoreOperations.scala:409)
  at com.hortonworks.spark.cloud.operations.CloudDataFrames.rm(CloudDataFrames.scala:36)
  at com.hortonworks.spark.cloud.operations.CloudDataFrames.action(CloudDataFrames.scala:82)
  at com.hortonworks.spark.cloud.ObjectStoreExample$class.action(ObjectStoreExample.scala:70)
  at com.hortonworks.spark.cloud.operations.CloudDataFrames.action(CloudDataFrames.scala:36)
  at com.hortonworks.spark.cloud.common.DataFrameTests$$anonfun$3.apply$mcV$sp(DataFrameTests.scala:45)
  at com.hortonworks.spark.cloud.CloudSuiteTrait$$anonfun$ctest$1.apply$mcV$sp(CloudSuiteTrait.scala:69)
  ...
  Cause: com.microsoft.azure.storage.StorageException: org.apache.hadoop.fs.FsUrlConnection cannot be cast to java.net.HttpURLConnection
  at com.microsoft.azure.storage.core.ExecutionEngine.setupStorageRequest(ExecutionEngine.java:332)
  at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:95)
  at com.microsoft.azure.storage.blob.CloudBlob.exists(CloudBlob.java:1850)
  at com.microsoft.azure.storage.blob.CloudBlob.exists(CloudBlob.java:1837)
  at org.apache.hadoop.fs.azure.StorageInterfaceImpl$CloudBlobWrapperImpl.exists(StorageInterfaceImpl.java:333)
  at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.retrieveMetadata(AzureNativeFileSystemStore.java:1964)
  at org.apache.hadoop.fs.azure.NativeAzureFileSystem.delete(NativeAzureFileSystem.java:1846)
  at org.apache.hadoop.fs.azure.NativeAzureFileSystem.delete(NativeAzureFileSystem.java:1810)
  at com.hortonworks.spark.cloud.ObjectStoreOperations$class.rm(ObjectStoreOperations.scala:409)
  at com.hortonworks.spark.cloud.operations.CloudDataFrames.rm(CloudDataFrames.scala:36)
  ...
  Cause: java.lang.ClassCastException: org.apache.hadoop.fs.FsUrlConnection cannot be cast to java.net.HttpURLConnection
  at com.microsoft.azure.storage.core.BaseRequest.createURLConnection(BaseRequest.java:185)
  at com.microsoft.azure.storage.core.BaseRequest.getProperties(BaseRequest.java:299)
  at com.microsoft.azure.storage.blob.BlobRequest.getProperties(BlobRequest.java:791)
  at com.microsoft.azure.storage.blob.BlobRequest.getBlobProperties(BlobRequest.java:570)
  at com.microsoft.azure.storage.blob.CloudBlob$10.buildRequest(CloudBlob.java:1867)
  at com.microsoft.azure.storage.blob.CloudBlob$10.buildRequest(CloudBlob.java:1857)
  at com.microsoft.azure.storage.core.ExecutionEngine.setupStorageRequest(ExecutionEngine.java:304)
  at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:95)
  at com.microsoft.azure.storage.blob.CloudBlob.exists(CloudBlob.java:1850)
  at com.microsoft.azure.storage.blob.CloudBlob.exists(CloudBlob.java:1837)
{code}

> 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org