Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9230

Provide a user to configure for getting YARN/HDFS stats

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Rank:
      1|hzzyyf:

      Description

      Currently the YARN/HDFS management stats component (YarnInfo/HDFSInfo.java) uses the yarn user configured in yarn-site to get yarn stats. This users for getting these info should be an admin user otherwise YARN/HDFS doesn't allow access to get the stats.

      https://github.com/caskdata/cdap/blob/develop/cdap-operational-stats-core/src/main/java/co/cask/cdap/operations/yarn/YarnInfo.java#L130

      https://github.com/caskdata/cdap/blob/develop/cdap-operational-stats-core/src/main/java/co/cask/cdap/operations/hdfs/HDFSInfo.java#L138

      Currently cdap doesn't allow these users to be configured. We should make this configurable and figure out way to refresh the delegation tokens for these users if neeed.

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: