Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25222

ambari metrics collector won't start

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.3
    • None
    • metrics
    • None

    Description

      I am using Ambari 2.7.3 as part of Hortonworks.

      After a new install, the Metrics collector won't start. One problem (there seems to be more than one) is 

      WARNING 2019-04-01 09:24:55,034 shell.py:826 - can not switch user for RUN_COMMAND.

      Looking at the source code, I don't see how this could ever work. When the code in commons shell.py was reorganized to be os-independent, a variable _threadLocal was created. However it is never set to anything other than None. So 

           self._threadLocal.uid = user

      Is always going to create an exception, because _threadLocal will always be None.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            clhedrick Charles Hedrick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: