Skip to content

Commit

Permalink
[HUDI-5151] Fix bug with broken flink data skipping caused by ClassNo…
Browse files Browse the repository at this point in the history
…tFoundException of InLineFileSystem (#7124)
  • Loading branch information
trushev authored Nov 29, 2022
1 parent fe43e6f commit 88db1ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected ClosableIterator<IndexedRecord> lookupRecords(List<String> keys, boole
// is appropriately carried over
Configuration inlineConf = new Configuration(blockContentLoc.getHadoopConf());
inlineConf.set("fs." + InLineFileSystem.SCHEME + ".impl", InLineFileSystem.class.getName());
inlineConf.setClassLoader(Thread.currentThread().getContextClassLoader());
inlineConf.setClassLoader(InLineFileSystem.class.getClassLoader());

Path inlinePath = InLineFSUtils.getInlineFilePath(
blockContentLoc.getLogFile().getPath(),
Expand Down

0 comments on commit 88db1ca

Please sign in to comment.