Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CFDBC2009E2 for ; Wed, 1 Jun 2016 18:00:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CE9E4160A4E; Wed, 1 Jun 2016 16:00:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1EDA3160A45 for ; Wed, 1 Jun 2016 17:59:59 +0200 (CEST) Received: (qmail 42093 invoked by uid 500); 1 Jun 2016 15:59:59 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 42081 invoked by uid 99); 1 Jun 2016 15:59:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2016 15:59:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 38C232C033A for ; Wed, 1 Jun 2016 15:59:59 +0000 (UTC) Date: Wed, 1 Jun 2016 15:59:59 +0000 (UTC) From: "Andrii Tkach (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-16988) Invalid recommended value for storm.local.dir (/usr/hdp/hadoop/storm) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Jun 2016 16:00:01 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15310533#comment-15310533 ] Andrii Tkach commented on AMBARI-16988: --------------------------------------- +1 for the patch > Invalid recommended value for storm.local.dir (/usr/hdp/hadoop/storm) > --------------------------------------------------------------------- > > Key: AMBARI-16988 > URL: https://issues.apache.org/jira/browse/AMBARI-16988 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.4.0 > Reporter: Antonenko Alexander > Assignee: Antonenko Alexander > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-16988.patch > > > Ambari was installed on the host with the following mounts (Ubuntu 16, HDP-2.5): > {noformat} > root@u16-ambari-ubuntu-xenial-01:~# df -h > Filesystem Size Used Avail Use% Mounted on > udev 4.8G 0 4.8G 0% /dev > tmpfs 981M 15M 967M 2% /run > /dev/sda1 9.7G 3.4G 6.3G 35% / > tmpfs 4.8G 4.0K 4.8G 1% /dev/shm > tmpfs 5.0M 0 5.0M 0% /run/lock > tmpfs 4.8G 0 4.8G 0% /sys/fs/cgroup > tmpfs 100K 0 100K 0% /run/lxcfs/controllers > /dev/sdc1 35G 1.9G 31G 6% /usr/hdp > tmpfs 981M 0 981M 0% /run/user/1000 > {noformat} > The recommended value was: > {noformat} > "storm.local.dir" : "/usr/hdp/hadoop/storm" > {noformat} > hdp-select expects that folder name inside of /usr/hdp correspond to version numbers. > {noformat} > root@u16-ambari-ubuntu-xenial-01:~# hdp-select versions > Traceback (most recent call last): > File "/usr/bin/hdp-select", line 391, in > printVersions() > File "/usr/bin/hdp-select", line 248, in printVersions > result[tuple(map(int, versionRegex.split(f)))] = f > ValueError: invalid literal for int() with base 10: 'hadoop' > root@u16-ambari-ubuntu-xenial-01:~# ll /usr/hdp > total 36 > drwxr-xr-x 6 root root 4096 May 27 10:53 ./ > drwxr-xr-x 12 root root 4096 May 26 17:19 ../ > drwxr-xr-x 17 root root 4096 May 27 10:53 2.5.0.0-568/ > drwxr-xr-x 2 root root 4096 May 27 10:44 current/ > drwxr-xr-x 3 root root 4096 May 27 10:53 hadoop/ > drwx------ 2 root root 16384 May 26 17:02 lost+found/ > {noformat} > It's a brittle part of hdp-select and probably should be fixed. > Anyway Ambari shouldn't recommend /usr/hdp/hadoop/storm folder. -- This message was sent by Atlassian JIRA (v6.3.4#6332)