Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18958

Improve UserGroupInformation debug log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0, 3.3.5
    • 3.5.0
    • common
    • Reviewed
    • Patch

    Description

            Using “new Exception( )” to print the call stack of "doAs Method " in the UserGroupInformation class. Using this way will print meaningless Exception information and too many call stacks, This is not conducive to troubleshooting

      example:

       

      improved result :

       

      Attachments

        1. 20231030-143525.jpeg
          579 kB
          wangzhihui
        2. image-2023-10-30-14-35-11-161.png
          280 kB
          wangzhihui
        3. 20231029-122825-1.jpeg
          817 kB
          wangzhihui
        4. 20231029-122825.jpeg
          817 kB
          wangzhihui
        5. image-2023-10-29-09-47-56-489.png
          142 kB
          wangzhihui

        Issue Links

          Activity

            People

              hiwangzhihui wangzhihui
              hiwangzhihui wangzhihui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified