Denny Abraham Cheriyan created HADOOP-20071:
-----------------------------------------------

             Summary: Normalize URI scheme to lowercase in FileSystem lookup 
and cache checks
                 Key: HADOOP-20071
                 URL: https://issues.apache.org/jira/browse/HADOOP-20071
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
            Reporter: Denny Abraham Cheriyan


FileSystem.Cache.Key normalizes URI schemes to lowercase per RFC 3986 §3.1 
(HADOOP-3785), but FileSystem.get(URI, Configuration) and 
FileSystem.getFileSystemClass(String, Configuration) use raw uri.getScheme() 
when checking fs.<scheme>.impl.disable.cache, comparing against 
getDefaultUri(conf).getScheme(), and looking up fs.<scheme>.impl and 
SERVICE_FILE_SYSTEMS. Uppercase schemes (e.g. ABFSS://...) bypass 
disable.cache=true or fail with UnsupportedFileSystemException.

- RFC 3986 §3.1 (Scheme): 
https://datatracker.ietf.org/doc/html/rfc3986#section-3.1

- HADOOP-3785: https://issues.apache.org/jira/browse/HADOOP-3785



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to