eisig opened a new issue #786: HoodieWrapperFileSystem not working  with presto
URL: https://github.com/apache/incubator-hudi/issues/786
 
 
   presto wraps the filesystem in  
org.apache.hadoop.fs.PrestoFileSystemCache$FileSystemWrapper.
   FileSystemWrapper does not implements `getSchema` method
   hoodie master branch, 
   presto 0.220
   
   ```
   Caused by: java.lang.UnsupportedOperationException: Not implemented by the 
FileSystemWrapper FileSystem implementation
        at org.apache.hadoop.fs.FileSystem.getScheme(FileSystem.java:219)
        at 
com.uber.hoodie.common.io.storage.HoodieWrapperFileSystem.convertToDefaultPath(HoodieWrapperFileSystem.java:868)
        at 
com.uber.hoodie.common.io.storage.HoodieWrapperFileSystem.exists(HoodieWrapperFileSystem.java:469)
        at 
com.uber.hoodie.exception.DatasetNotFoundException.checkValidDataset(DatasetNotFoundException.java:42)
        at 
com.uber.hoodie.common.table.HoodieTableMetaClient.<init>(HoodieTableMetaClient.java:105)
        at 
com.uber.hoodie.common.table.HoodieTableMetaClient.<init>(HoodieTableMetaClient.java:91)
        at 
com.uber.hoodie.common.table.HoodieTableMetaClient.<init>(HoodieTableMetaClient.java:86)
        at 
com.uber.hoodie.hadoop.HoodieInputFormat.getTableMetaClient(HoodieInputFormat.java:222)
        at 
com.uber.hoodie.hadoop.HoodieInputFormat.groupFileStatus(HoodieInputFormat.java:165)
        at 
com.uber.hoodie.hadoop.HoodieInputFormat.listStatus(HoodieInputFormat.java:70)
        at 
com.uber.hoodie.hadoop.realtime.HoodieRealtimeInputFormat.listStatus(HoodieRealtimeInputFormat.java:169)
        at 
org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:315)
        at 
com.uber.hoodie.hadoop.realtime.HoodieRealtimeInputFormat.getSplits(HoodieRealtimeInputFormat.java:85)
        at 
com.facebook.presto.hive.BackgroundHiveSplitLoader.loadPartition(BackgroundHiveSplitLoader.java:362)
        at 
com.facebook.presto.hive.BackgroundHiveSplitLoader.loadSplits(BackgroundHiveSplitLoader.java:258)
        at 
com.facebook.presto.hive.BackgroundHiveSplitLoader.access$300(BackgroundHiveSplitLoader.java:93)
        at 
com.facebook.presto.hive.BackgroundHiveSplitLoader$HiveSplitLoaderTask.process(BackgroundHiveSplitLoader.java:187)
        ... 7 more
   
   ```
   presto log 
   ```
   2019-07-15T10:54:59.366+0800 INFO    hive-hive200-30 
com.uber.hoodie.common.util.FSUtils     Hadoop Configuration: fs.defaultFS: 
[file:///], Config:[Configuration: ], FileSystem: 
[org.apache.hadoop.fs.PrestoFileSystemCache$FileSystemWrapper@2fe47a24]
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to