code: def check_hadoop_path(
      path, hadoop_bin=None, fs_name=None, fs_ugi=None
  ):
      """check hadoop path"""
      hadoop_bin, fs_name, fs_ugi = parse_account(
          hadoop_bin, fs_name, fs_ugi
      )
  
      if path.startswith("hdfs://") or path.startswith("afs://"):
          return path
      else:
          real_path = fs_name + path
          return real_path
  
imports: import os
  import sys
  import json
  import time
  import math
  import collections
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: check_hadoop_path(path, hadoop_bin, fs_name, fs_ugi) and returns: path, real_path