HdfsConstants类中定义 public static final int MAX_PATH_LENGTH = 8000; public static final int MAX_PATH_DEPTH = 1000;