Caused by: java.lang.UnsupportedOperationException: readDirect unsupported in RemoteBlockReader at org.apache.hadoop.hdfs.RemoteBlockReader.read(RemoteBlockReader.java:492) at org.apache.hadoop.hdfs.DFSInputStream$ByteBufferStrategy.doRead(DFSInputStream.java:789) at org.apache.hadoop.hdfs.DFSInputStream.readBuffer(DFSInputStream.java:823) at org.apache.hadoop.hdfs.DFSInputStream.readWithStrategy(DFSInputStream.java:883) at org.apache.hadoop.hdfs.DFSInputStream.read(DFSInputStream.java:938) at org.apache.hadoop.fs.FSDataInputStream.read(FSDataInputStream.java:143)
解决方案:
1、在Catalog中Properties修改hudi.properites
hive.config.resources=/etc/hadoop/conf/core-site.xml, /etc/hadoop/conf/hdfs-site.xml,/opt/presto-server/etc/catalog/hdfs-site.xml
2、编辑/opt/presto-server/etc/catalog/hdfs-site.xml
<configuration xmlns:xi="http://www.w3.org/2001/XInclude"> <property> <name>dfs.client.use.legacy.blockreader</name> <value>false</value> </property> </configuration>
3、重启presto
标签:hdfs,hudi,RemoteBlockReader,java,hadoop,unsupported,org,apache,DFSInputStream From: https://www.cnblogs.com/liuys635/p/17986879