Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9BB90184A2 for ; Sun, 6 Dec 2015 18:41:11 +0000 (UTC) Received: (qmail 74477 invoked by uid 500); 6 Dec 2015 18:41:11 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 74450 invoked by uid 500); 6 Dec 2015 18:41:11 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 74201 invoked by uid 99); 6 Dec 2015 18:41:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2015 18:41:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 012C52C1F5A for ; Sun, 6 Dec 2015 18:41:11 +0000 (UTC) Date: Sun, 6 Dec 2015 18:41:11 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14234) If a non-hdfs path is specified (such as wasb) as the hbase.rootdir then stack advisor throws error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > 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)