ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14234) If a non-hdfs path is specified (such as wasb) as the hbase.rootdir then stack advisor throws error
Date Sun, 06 Dec 2015 13:53:10 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-14234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmytro Sen updated AMBARI-14234:
--------------------------------
    Attachment:     (was: AMBARI-14234.patch)

> If a non-hdfs path is specified (such as wasb) as the hbase.rootdir then stack advisor
throws error
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14234
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14234
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics, stacks
>    Affects Versions: 2.2.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> {{hbase.rootdir = wasb:///ams/hbase}}
> {code}
> hdiuser@hn1-mnaina:~$ cat /var/run/ambari-server/stack-recommendations/32/stackadvisor.err
> Traceback (most recent call last):
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 158, in <module>
>     main(sys.argv)
>   File "/var/lib/ambari-server/resources/scripts/stack_advisor.py", line 115, in main
>     result = stackAdvisor.validateConfigurations(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/../stacks/stack_advisor.py", line 463,
in validateConfigurations
>     validationItems = self.getConfigurationsValidationItems(services, hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 743, in getConfigurationsValidationItems
>     resultItems = method(siteProperties, siteRecommendations, configurations, services,
hosts)
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 848, in validateAmsHbaseSiteConfigurations
>     validationItems.extend([{"config-name": 'hbase.rootdir', "item": self.validatorEnoughDiskSpace(properties,
'hbase.rootdir', host["Hosts"], recommendedDiskSpace)}])
>   File "/var/lib/ambari-server/resources/scripts/./../stacks/HDP/2.0.6/services/stack_advisor.py",
line 1121, in validatorEnoughDiskSpace
>     if mountPoints[mountPoint] < reqiuredDiskSpace:
> KeyError: None
> {code}
> - Copy core-site and hdfs-site, only when AMS mode is set to distributed, since product
doc says distributed = HDFS
> - Beyond this point HBase protocol can be dictated by fs.defaultFS and hbase.rootdir
without us in the middle interpreting things
> - In the stack advisor as well we can rely on the mode of operation to determine whether
local FS check should be performed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message