Chukwa
  1. Chukwa
  2. CHUKWA-227

Use su command in the run script for HDFS usage metrics collection

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.2, 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently we are using "setuidgid". The problem is that setuidgid sets its uid and gid to account's uid and gid and remove all supplementary groups.

        Activity

        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Chukwa-trunk #45 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/45/ )
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Chukwa-trunk #24 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/24/ )
        Eric Yang made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.1.2 [ 12313776 ]
        Fix Version/s 0.2.0 [ 12313934 ]
        Resolution Fixed [ 1 ]
        Hide
        Eric Yang added a comment -

        I just committed this, thanks Cheng.

        Show
        Eric Yang added a comment - I just committed this, thanks Cheng.
        Eric Yang made changes -
        Assignee Cheng [ zhangyongjiang ]
        Eric Yang made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Eric Yang added a comment -

        +1 Looks good.

        Show
        Eric Yang added a comment - +1 Looks good.
        Cheng made changes -
        Field Original Value New Value
        Attachment chukwa-227.patch [ 12407833 ]
        Hide
        Cheng added a comment -

        Changed run script. Use su command instead of setuidgid.

        Show
        Cheng added a comment - Changed run script. Use su command instead of setuidgid.
        Cheng created issue -

          People

          • Assignee:
            Cheng
            Reporter:
            Cheng
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development