Symptoms:
External table using PXF fails to read data with the error:
ERROR: remote component error (500) from '127.0.0.1:5888': type Exception report message org.apache.hadoop.fs.adl.AdlFsInputStream cannot be cast to org.apache.hadoop.hdfs.DFSInputStream description The server encountered an internal error that prevented it from fulfilling this request. exception java.io.IOException: org.apache.hadoop.fs.adl.AdlFsInputStream cannot be cast to org.apache.hadoop.hdfs.DFSInputStream (libchurl.c:944) (seg18 slice1 10.10.10.2:40002 pid=121290) (cdbdisp.c:254) DETAIL: External table ext_atp, file pxf://gpdb/external/test_cloud/file.txt?profile=HdfsTextSimple SQL state: XX000