Sorry, should have looked harder. The docs say to log in before invoking the API. I think this means I should be wrapping calls with doAs?
Den ons. 13. mar. 2019 kl. 08.09 skrev Stig Rohde Døssing < stigdoess...@gmail.com>: > Hi, > > The hive-hcatalog-streaming client (HiveEndpoint) took a > UserGroupInformation in the constructor for connections, and automatically > wrapped calls as necessary with UserGroupInformation.doAs. > > I'm migrating an application from hive-hcatalog-streaming to > hive-streaming. There's no mention of security at > https://cwiki.apache.org/confluence/display/Hive/Streaming+Data+Ingest+V2, > and I don't see any doAs in the code. Should I manually wrap calls to > HiveStreamingConnection with doAs, or is this handled by the new client? If > so, is there a list of calls that should be wrapped? >