Hi Haihui,
        Open this folder:${your installation 
path}/incubator-ranger-master/target/ranger-0.7.0-SNAPSHOT-admin/ews, 
amend some settings for 'ranger-admin-services.sh'.
        Put below setting in this file:
        JAVA_OPTS=" ${JAVA_OPTS} -Xdebug 
-Xrunjdwp:transport=dt_socket,address=22222,server=y,suspend=n"
 
        Then, after you restart your server, create a new debug 
configuration in IDEA. Just replace 'localhost' with the ranger host and 
the port is '22222'(based on your settings).
 
Regards,
Jiao Mingbei



发件人:         Gautam Borad <[email protected]>
收件人:         "[email protected]" <[email protected]>, 
"[email protected]" <[email protected]>, 
日期:   2016/12/20 13:03
主题:   Re: How to debug ranger with Intellij IDEA



+ dev mailing list.


On Mon, Dec 19, 2016 at 1:29 PM, [email protected] <[email protected]> wrote:

> Hi Gautam
>      I want to debug some ranger modules, such as security-admin-web, I
> know ranger-admin deploy in tomcat, but  I could not find  some tomcat
> configurations ( startup.sh or  catalina.sh ), or I can  set the shell 
like
> this:  exec "$PRGDIR"/"$EXEXUTABLE" jpda start "$@"; Then catalina.sh
> jpda start.
>     I check the ews/ranger-admin-services.sh ,  and I did not kown how 
to
> changer it .
>     Would you please tell me  how to debug ranger ( security-admin-web )
> with Intellij IDEA ?  Thanks very much .
>
>    Best Wishes!
>    Haihui  Xu
> ------------------------------
> [email protected]
>
>
>


-- 
Regards,
Gautam.


Reply via email to