Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4 Implement security for Hadoop Distributed Storage Layer
  3. HDDS-1245

OM delegation expiration time should use Time.now instead of Time.monotonicNow

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • HDDS BadLands

    Description

      Otherwise, we will set incorrect the exp date of OM delegation like below: 

      ozone dtutil print /tmp/om.dt
       
      File: /tmp/om.dt
      Token kind               Service              Renewer         Exp date     URL enc token
      --------------------------------------------------------------------------------
      OzoneToken               om:9862              yarn            *1/8/70 12:03 PM*
      

      Attachments

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m