Hi, Sasha, what do you mean change ownership of files?
Also, Lina, I have run the command but it seems something removed the
JAVA_HOME, please see the attachment.

2018-01-12 16:57 GMT-06:00 Alexander Kolbasov <ak...@cloudera.com>:

> Running it via studio is not the best idea since it will change ownership
> of files in your repo. Sentry doesn't need root privileges.
>
> > On Jan 12, 2018, at 14:10, Na Li <lina...@cloudera.com> wrote:
> >
> > one example
> >
> > to creating schema
> > - command: sudo ./run_sentry.sh --command  schema-tool --conffile
> > sentry-site.xml --dbType mysql --initSchema
> >
> > On Fri, Jan 12, 2018 at 3:18 PM, Xinran Yu Tinney <
> yuxinran8...@gmail.com>
> > wrote:
> >
> >> What are the arguments that can be used? I have attached a screenshot,
> >> using "service", but seems not working.
> >>
> >> 2018-01-12 14:56 GMT-06:00 Alexander Kolbasov <ak...@cloudera.com>:
> >>
> >>> It is easy. Your current directory should be within the got repo and
> the
> >>> actual script can be anywhere. Just run it with whatever argument you
> want
> >>> to pass to main. The script users maven to build and run sentry so it
> >>> doesn't depend on any class path.
> >>>
> >>> On Fri, Jan 12, 2018 at 12:30 Xinran Yu Tinney <yuxinran8...@gmail.com
> >
> >>> wrote:
> >>>
> >>>> Hi,
> >>>>   Does anyone know how to run bin/run_sentry.sh? Thanks!
> >>>>
> >>>>
> >>>> Xinran
> >>>>
> >>>
> >>
> >>
>

Reply via email to