Attila Magyar created AMBARI-24641:
--------------------------------------

             Summary: Stackadvisor error while trying to add atlas service. 
Error - "if mountPoints[mountPoint] < reqiuredDiskSpace: KeyError: None"
                 Key: AMBARI-24641
                 URL: https://issues.apache.org/jira/browse/AMBARI-24641
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
    Affects Versions: 2.7.0
            Reporter: Attila Magyar
            Assignee: Attila Magyar
             Fix For: 2.7.2


Stack advisor error: 

{code}
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
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to