Go to file
sreeb-msft 3f256fa209 HADOOP-18498. ABFS: Remove unwanted ? prefix from SAS Tokens (#5136)
This commit parses SAS Tokens and removes the unwanted prefix of '?' from them, if present.

At present, SAS Tokens are provided to the driver through customer implementations of the SASTokenProvider interface. The SAS token providers should not assume that the token will be the first query parameter in the URIs that communicate with the backend. However, it was observed that certain public interfaces provided by Storage to generate SAS can include the '?' as the first character of the SAS Token, which would ideally be the case when it is the first query parameter. Thus, tokens that contain this prefix will lead to an error in the driver due to a clash of query parameters.

To avoid failures for use of such SAS tokens, after receiving the SAS Token from the provider, the code checks for whether any ? prefix is present or not. If yes, it is removed before further usage of the token. This way, users would not have to manually remove the prefix before passing it on as a configuration.

Contributed by Sree Bhattacharya
2022-11-28 11:49:02 +00:00
.github HADOOP-15184. Add GitHub pull request template. (#1419) 2019-09-11 11:10:11 +09:00
dev-support HADOOP-18401. No ARM binaries in branch-3.3.x releases. (#4953) 2022-10-07 16:00:33 +01:00
hadoop-assemblies HADOOP-18470. Release hadoop 3.3.5 2022-09-27 11:30:18 -05:00
hadoop-build-tools HADOOP-18470. Release hadoop 3.3.5 2022-09-27 11:30:18 -05:00
hadoop-client-modules HADOOP-15983. Use jersey-json that is built to use jackson2 (#3988) 2022-10-21 11:34:09 +01:00
hadoop-cloud-storage-project HADOOP-18442. Remove openstack support (#4855) 2022-10-07 12:03:55 +01:00
hadoop-common-project HADOOP-18324. Interrupting RPC Client calls can lead to thread exhaustion. (#4527) 2022-11-18 08:51:57 -08:00
hadoop-dist HADOOP-18470. Release hadoop 3.3.5 2022-09-27 11:30:18 -05:00
hadoop-hdfs-project HDFS-16844: RBF: Adds resilancy when StateStore gets exceptions. (#5138) 2022-11-18 09:30:04 -08:00
hadoop-mapreduce-project HADOOP-18484. Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853 (#5114) 2022-11-16 11:42:43 +01:00
hadoop-maven-plugins HADOOP-18470. Release hadoop 3.3.5 2022-09-27 11:30:18 -05:00
hadoop-minicluster HADOOP-18470. Release hadoop 3.3.5 2022-09-27 11:30:18 -05:00
hadoop-project HADOOP-18484. Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853 (#5114) 2022-11-16 11:42:43 +01:00
hadoop-project-dist HADOOP-18470. Release hadoop 3.3.5 2022-09-27 11:30:18 -05:00
hadoop-tools HADOOP-18498. ABFS: Remove unwanted ? prefix from SAS Tokens (#5136) 2022-11-28 11:49:02 +00:00
hadoop-yarn-project HADOOP-18484. Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853 (#5114) 2022-11-16 11:42:43 +01:00
licenses HADOOP-17666. Update LICENSE for 3.3.1 (#3011) 2021-05-21 18:15:48 -07:00
licenses-binary HADOOP-17666. Update LICENSE for 3.3.1 (#3011) 2021-05-21 18:15:48 -07:00
.gitattributes HADOOP-13598. Add eol=lf for unix format files in .gitattributes. Contributed by Yiqun Lin. 2016-09-14 11:14:31 +09:00
.gitignore YARN-10407. Add phantomjsdriver.log to gitignore. (#2244) 2021-02-17 10:28:17 +09:00
BUILDING.txt HADOOP-18214. Update BUILDING.txt (#3811) 2022-04-21 18:39:51 +01:00
LICENSE-binary HADOOP-18484. Upgrade hsqldb to v2.7.1 to mitigate CVE-2022-41853 (#5114) 2022-11-16 11:42:43 +01:00
LICENSE-binary-yarn-applications-catalog-webapp HADOOP-17666. Update LICENSE for 3.3.1 (#3011) 2021-05-21 18:15:48 -07:00
LICENSE-binary-yarn-ui HADOOP-17666. Update LICENSE for 3.3.1 (#3011) 2021-05-21 18:15:48 -07:00
LICENSE.txt HADOOP-18044. Hadoop - Upgrade to jQuery 3.6.0 (#3791) 2022-02-11 23:18:25 +08:00
NOTICE-binary HADOOP-18068. upgrade AWS SDK to 1.12.132 (#3864) 2022-01-18 12:20:12 +00:00
NOTICE.txt HADOOP-15958. Revisiting LICENSE and NOTICE files. 2019-08-27 13:47:12 +09:00
pom.xml HADOOP-18470. Release hadoop 3.3.5 2022-09-27 11:30:18 -05:00
README.txt HADOOP-15958. Revisiting LICENSE and NOTICE files. 2019-08-27 13:47:12 +09:00
start-build-env.sh HADOOP-18052. Support Apple Silicon in start-build-env.sh (#3817) 2021-12-23 18:14:16 +09:00

For the latest information about Hadoop, please visit our website at:

   http://hadoop.apache.org/

and our wiki, at:

   https://cwiki.apache.org/confluence/display/HADOOP/