code: def _process_path(path):
      path = ArrowBasedFileSystem._process_path(path)
      # use urlparse to extract path from like:
      # hdfs://localhost:8020/tmp/test/simple_test.csv,
      # due to the reason that pa.fs.HadoopFileSystem cannot accept
      # path with hdfs:// prefix
      if path.startswith("hdfs://"):
          return urlparse(path).path
      else:
          return path
  
imports: import os
  import subprocess
  import weakref
  from urllib.parse import urlparse
  from typing import List, Dict, Union, Tuple, Iterator, BinaryIO, TextIO
  import pyarrow
  from pyarrow.fs import FileSystem, LocalFileSystem, HadoopFileSystem, FileSelector, FileInfo, FileType
  from ...utils import implements, stringify_path
  from .core import FileSystem, path_type
label_desc: Use image node_id 2 for calling the HadoopFileSystem obj's underlying member method code with example usage: obj._process_path(path) and returns: urlparse, path