Sravya Tirukkovalur created SENTRY-1295:
-------------------------------------------
Summary: Investigate malformed paths in HMS db
Key: SENTRY-1295
URL: https://issues.apache.org/jira/browse/SENTRY-1295
Project: Sentry
Issue Type: Bug
Reporter: Sravya Tirukkovalur
Paths in HMS are expected to be in one of these forms:
* hdfs://hostname:port/path
* hdfs:///path
* /path, in which case, scheme will be constructed from FileSystem.getDefaultURI
* URIs with non hdfs scheme will just be ignored
I came across atleast 2 sentry users where HMS did have paths which do not
comply with above rules and hence HMS plugin initialization for pathupdates
failed. See sentry-1260 and sentry-1270 for details on how these errors
surface.
With 1260 and 1270 we should have more information on what these malformed
paths were. But we should continue to investigate and fix the root cause, It
would most likely be in HMS code base.
Lets track occurences of these malformed paths here:
* hdfs://nameservice1 : Not sure why would any one create a db/table in root
directory? Should we accept this in Sentry?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)