java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:9083, expected: file:///

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 Issac Buenrostro, 1 year ago
java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:9083, expected: file:///
at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:647)
at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:82)
at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:601)
at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:819)
at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:596)
at gobblin.hive.avro.HiveAvroSerDeManager.addSchemaProperties(HiveAvroSerDeManager.java:110)
at gobblin.hive.avro.HiveAvroSerDeManager.addSerDeProperties(HiveAvroSerDeManager.java:87)
at gobblin.hive.HiveRegistrationUnit.setSerDeProps(HiveRegistrationUnit.java:336)
at gobblin.hive.policy.HiveRegistrationPolicyBase.getTable(HiveRegistrationPolicyBase.java:249)
at gobblin.hive.policy.HiveRegistrationPolicyBase.getTables(HiveRegistrationPolicyBase.java:229)
at gobblin.hive.policy.HiveRegistrationPolicyBase.getHiveSpecs(HiveRegistrationPolicyBase.java:291)
at gobblin.publisher.HiveRegistrationPublisher$1.call(HiveRegistrationPublisher.java:100)
at gobblin.publisher.HiveRegistrationPublisher$1.call(HiveRegistrationPublisher.java:96)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 days 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, 1 year ago

Write tip

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