harbor run -t openthoughts/tasktrove-exp-rpt-stack-pytest-large-stack-pytest-1654harbor download openthoughts/tasktrove-exp-rpt-stack-pytest-large-stack-pytest-1654Task: Implement a minimal, self-contained HDFS-compatible mock in TensorFlow IO
Objective
Deliverables
Required API (signatures and behaviors)
Usage guidance (high level)
Use case 1: Direct mock usage
Use case 2: URI parsing
Use case 3: Append
Implementation notes
Non-functional requirements
This task is focused on creating a self-contained HDFS URI parser and a minimal mock filesystem that maps hdfs:// URIs to a local directory, enabling test code paths that expect HDFS interactions to run in non-HDFS environments. The implementation goes in /app/tensorflow_io.py.