Monday, May 25, 2015

How to enable kerberos trace logging with HAWQ ?

Environment
  • KRB5_TRACE only works on Kerberos 1.9.0+.
  • HAWQ 1.1.4 and above
Question:
How to enable kerberos trace logging with HAWQ database to identify any kerberos issue?

Solution:
Step 1: Edit /usr/local/hawq/greenplum_path.sh file to include the below entry:
export KRB5_TRACE=<File Name>
Note: Do not use /dev/out instead of filename above, it will slow down the initialization process and also, messages would not be available for future references
Enabling KRB5_TRACE will send tracing information for kinit to the specified file.

Step 2: Source greenplum_path.sh file
source /usr/local/hawq/greenplum_path.sh

Step 3: Restart HAWQ database
Now you can refer to the file created and review any kerberos errors encountered.

4 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.


    rpa training in Chennai | rpa training in velachery

    rpa training in tambaram | rpa training in sholinganallur

    ReplyDelete
  3. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep sharing more information!!!.

    Android Training in Chennai

    Android Online Training in Chennai

    Android Training in Bangalore

    Android Training in Hyderabad

    Android Training in Coimbatore

    Android Training

    Android Online Training


    ReplyDelete