ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (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 18:41:11 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044019#comment-15044019
] 

Hudson commented on AMBARI-14234:
---------------------------------

FAILURE: Integrated in Ambari-branch-2.2 #18 (See [https://builds.apache.org/job/Ambari-branch-2.2/18/])
AMBARI-14234 If a non-hdfs path is specified (such as wasb) as the (dsen: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=16307d4d2fe74a97ffd43fe4b6c957122c843d39])
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
* ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py


> 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
>
>         Attachments: AMBARI-14234-trunk.patch
>
>
> {{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