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

Stackadvisor error while trying to add atlas service. Error - "if mountPoints[mountPoint] < reqiuredDiskSpace: KeyError: None"

    XMLWordPrintableJSON

    Details

      Description

      Stack advisor error:

      Error details: None
      2018-09-11 06:40:09,738  INFO [ambari-client-thread-24150] StackAdvisorRunner:167 -     Advisor script stderr: Traceback (most recent call last):
        File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 184, in <module>
          main(sys.argv)
        File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 138, in main
          result = stackAdvisor.validateConfigurations(services, hosts)
        File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 1079, in validateConfigurations
       validationItems = self.getConfigurationsValidationItems(services, hosts)
        File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 1468, in getConfigurationsValidationItems
          items.extend(self.getConfigurationsValidationItemsForService(configurations, recommendedDefaults, service, services, hosts))
        File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 1521, in getConfigurationsValidationItemsForService
          items.extend(serviceAdvisor.getServiceConfigurationsValidationItems(configurations, recommendedDefaults, services, hosts))
        File "/var/lib/ambari-server/resources/stacks/HDP/3.0/services/AMBARI_METRICS/service_advisor.py", line 218, in getServiceConfigurationsValidationItems
          return validator.validateListOfConfigUsingMethod(configurations, recommendedDefaults, services, hosts, validator.validators)
        File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 1491, in validateListOfConfigUsingMethod
          validationItems = method(siteProperties, siteRecommendations, configurations, services, hosts)
        File "/var/lib/ambari-server/resources/stacks/HDP/3.0/services/AMBARI_METRICS/service_advisor.py", line 556, in validateAmsHbaseSiteConfigurationsFromHDP206
          validationItems.extend([{"config-name": 'hbase.rootdir', "item": self.validatorEnoughDiskSpace(properties, 'hbase.rootdir', host["Hosts"], recommendedDiskSpace)}])
        File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 2998, in validatorEnoughDiskSpace
          if mountPoints[mountPoint] < reqiuredDiskSpace:
      KeyError: None
      

        Attachments

          Activity

            People

            • Assignee:
              amagyar Attila Magyar
              Reporter:
              amagyar Attila Magyar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1.5h
                1.5h