The implementation that I know of generates pre-signed URLs to the S3 objects to serve back to the client. There is no equivalent on HDFS. I would have to look a bit deeper, but I suspect you would have to do some work the adapt the OSS server to change the object references passed back to the client to work with HDFS (assuming both client and server can access the same HDFS cluster.