flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wenlong88 <...@git.apache.org>
Subject [GitHub] flink pull request #3388: [FLINK-5815] Add resource files configuration for ...
Date Thu, 02 Mar 2017 09:08:53 GMT
Github user wenlong88 commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3388#discussion_r103878313
  
    --- Diff: flink-core/src/main/java/org/apache/flink/util/FileUtils.java ---
    @@ -258,7 +261,82 @@ public static boolean deletePathIfEmpty(FileSystem fileSystem, Path
path) throws
     			return false;
     		}
     	}
    -	
    +
    +	/**
    +	 * Check whether the two given filesystem is the same or not
    +	 *
    +	 * @param srcFs
    +	 * @param destFs
    +	 * @return
    +	 */
    +	public static boolean compareFs(FileSystem srcFs, FileSystem destFs) {
    --- End diff --
    
    Here I just want to check whether the file system is the same or not, if we provide a
function compare two URIs, we need to compare more extra elements.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message