ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrii Tkach (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-16988) Invalid recommended value for storm.local.dir (/usr/hdp/hadoop/storm)
Date Wed, 01 Jun 2016 15:59:59 GMT

    [ 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 <module>
>     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)

Mime
View raw message