java.lang.IllegalArgumentException: Wrong FS: s3n://<my-bucket>/test.bam, expected: hdfs://ec2-blah.blah.blah.compute-1.amazonaws.com:9000

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Sergei Iakhnin, 10 months ago
Wrong FS: s3n://<my-bucket>/test.bam, expected: hdfs:// ec2-blah.blah.blah.compute-1.amazonaws.com:9000
via incubator-crunch-user by Shawn Smith, 1 year ago
This file system object (hdfs://10.114.37.65:9000) does not support access to the request path 's3://test-bucket/test/Input.avro' You possibly called FileSystem.get(conf) when you should have called FileSystem.get(uri, conf) to obtain a file system supporting your path.
via incubator-crunch-user by Shawn Smith, 1 year ago
This file system object (hdfs://10.114.37.65:9000) does not support access to the request path 's3://test-bucket/test/Input.avro' You possibly called FileSystem.get(conf) when you should have called FileSystem.get(uri, conf) to obtain a file system supporting your path.
via incubator-crunch-user by Daithi O Crualaoich, 1 year ago
This file system object (hdfs://10.114.37.65:9000) does not support access to the request path 's3://test-bucket/test/Input.avro' You possibly called FileSystem.get(conf) when you should have called FileSystem.get(uri, conf) to obtain a file system supporting your path.
via incubator-crunch-user by Daithi O Crualaoich, 1 year ago
This file system object (hdfs://10.114.37.65:9000) does not support access to the request path 's3://test-bucket/test/Input.avro' You possibly called FileSystem.get(conf) when you should have called FileSystem.get(uri, conf) to obtain a file system supporting your path.
via Google Groups by deepak singh, 4 months ago
Wrong FS: hdfs://20160125235128_appendpart.task_GobblinGeoDoc_1453765886327_2.avro, expected: hdfs://<*namenode*>:8020
java.lang.IllegalArgumentException: Wrong FS: s3n://<my-bucket>/test.bam, expected: hdfs://ec2-blah.blah.blah.compute-1.amazonaws.com:9000
at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:129)
at org.bdgenomics.adam.rdd.ADAMContext.loadBam(ADAMContext.scala:237)
at org.bdgenomics.adam.rdd.ADAMContext$$anonfun$loadAlignments$1.apply(ADAMContext.scala:516)
at org.bdgenomics.adam.rdd.ADAMContext$$anonfun$loadAlignments$1.apply(ADAMContext.scala:513)
at org.bdgenomics.adam.rdd.ADAMContext.loadAlignments(ADAMContext.scala:511)
at org.bdgenomics.adam.cli.Transform.run(Transform.scala:148)
at org.bdgenomics.utils.cli.BDGSparkCommand$class.run(BDGCommand.scala:53)
at org.bdgenomics.adam.cli.Transform.run(Transform.scala:85)
at org.bdgenomics.adam.cli.ADAMMain$.main(ADAMMain.scala:105)
at org.bdgenomics.adam.cli.ADAMMain.main(ADAMMain.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:569)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:166)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:189)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:110)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.