Closed tonyyang-svail closed 5 years ago
Error message
response error: 401, Unauthorized. The request authorization header is invalid or missing.
Reproduce
Run TestQuery many times.
TestQuery
Cause
The sign function in official ODPS Java SDK hashes the URL query parameters in alphabet order. ref
However, our implementation hashes simply by iterating over the parameter maps. However, Iterating over a map has no order guarantee.
Also, this PR fixed #20
Error message
Reproduce
Run
TestQuery
many times.Cause
The sign function in official ODPS Java SDK hashes the URL query parameters in alphabet order. ref
However, our implementation hashes simply by iterating over the parameter maps. However, Iterating over a map has no order guarantee.