Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/15385 )
Change subject: [wip] ranger: set up MiniRanger ...................................................................... Patch Set 3: (3 comments) http://gerrit.cloudera.org:8080/#/c/15385/3//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/15385/3//COMMIT_MSG@23 PS3, Line 23: Also haven't found a good way to initialize things without having to : 'sudo -u postgres' which doesn't feel great. Could this help: https://www.postgresql.org/message-id/31725673.36.1288780165320.JavaMail.root%40www ? PostgreSQL creates a role/user inside the cluster with the same name as the user that ran initdb. http://gerrit.cloudera.org:8080/#/c/15385/3/src/kudu/ranger/mini_postgres.h File src/kudu/ranger/mini_postgres.h: http://gerrit.cloudera.org:8080/#/c/15385/3/src/kudu/ranger/mini_postgres.h@62 PS3, Line 62: pg_process_ nit: since now it's just a wrapper around postgresql, rename into 'process_'? http://gerrit.cloudera.org:8080/#/c/15385/3/src/kudu/ranger/mini_postgres.cc File src/kudu/ranger/mini_postgres.cc: http://gerrit.cloudera.org:8080/#/c/15385/3/src/kudu/ranger/mini_postgres.cc@111 PS3, Line 111: "sudo", "-u", "postgres", Is it possible to avoid using a special user for that? What prevents to run postgres under the OS user that runs all the commands here? -- To view, visit http://gerrit.cloudera.org:8080/15385 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I95574b2a8359be3437c0993dd5ce63479fd71548 Gerrit-Change-Number: 15385 Gerrit-PatchSet: 3 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Hao Hao <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Comment-Date: Sat, 07 Mar 2020 07:57:04 +0000 Gerrit-HasComments: Yes
