You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/12/06 18:39:11 UTC

[jira] [Commented] (AMBARI-14234) If a non-hdfs path is specified (such as wasb) as the hbase.rootdir then stack advisor throws error

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

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

FAILURE: Integrated in Ambari-trunk-Commit #3982 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3982/])
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=c4dea5a04c57712d2cc22f25a01f1656ab22c4f5])
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
* ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py
* ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
* ambari-server/src/main/resources/stacks/HDP/2.0.6/services/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)