Skip to content

Commit

Permalink
[hotfix][hdfs] Fixed error message when using HadoopRecoverableWriter…
Browse files Browse the repository at this point in the history
… on non hdfs.
  • Loading branch information
Arvid Heise authored and pnowojski committed Mar 2, 2020
1 parent f0bdf31 commit 0cfbe1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public HadoopRecoverableWriter(org.apache.hadoop.fs.FileSystem fs) {
// This writer is only supported on a subset of file systems
if (!"hdfs".equalsIgnoreCase(fs.getScheme())) {
throw new UnsupportedOperationException(
"Recoverable writers on Hadoop are only supported for HDFS and for Hadoop version 2.7 or newer");
"Recoverable writers on Hadoop are only supported for HDFS");
}

// Part of functionality depends on specific versions. We check these schemes and versions eagerly for
Expand Down

0 comments on commit 0cfbe1f

Please sign in to comment.