[ 
https://issues.apache.org/jira/browse/AMBARI-14437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated AMBARI-14437:
-----------------------------------
    Fix Version/s:     (was: 2.2.0)
                   2.2.1

> Unable To Restart HCat Client When Not Colocated With WebHCat Server
> --------------------------------------------------------------------
>
>                 Key: AMBARI-14437
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14437
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14437.patch
>
>
> Errors are encountered while restart Hive HCat client when it is not located 
> on a host which also has WebHCat daemon.
> {code:title=This is good - the pointers have moved for 2.3.4}
> root@os-d7-dkezlu-ambari-hv-r-upg-7-re1-5:/usr/hdp/current/hive-webhcat/etc# 
> ls -l /usr/hdp/2.3.4.0-3485/hive-hcatalog/etc
> total 4
> lrwxrwxrwx 1 root root   33 Dec 18 14:45 hcatalog -> 
> /etc/hive-hcatalog/2.3.4.0-3485/0
> drwxr-xr-x 2 root root 4096 Dec 18 14:45 init.d
> lrwxrwxrwx 1 root root   32 Dec 18 14:45 webhcat -> 
> /etc/hive-webhcat/2.3.4.0-3485/0
> {code}
> {code:title=This is bad - current for hcatalog is still 2.3.2, which has the 
> symlink issue}
> root@os-d7-dkezlu-ambari-hv-r-upg-7-re1-5:/usr/hdp/current/hive-webhcat/etc# 
> ls -l /usr/hdp/current | grep hive
> lrwxrwxrwx 1 root root 26 Dec 18 15:50 hive-client -> 
> /usr/hdp/2.3.4.0-3485/hive
> lrwxrwxrwx 1 root root 26 Dec 18 12:59 hive-metastore -> 
> /usr/hdp/2.3.2.0-2826/hive
> lrwxrwxrwx 1 root root 26 Dec 18 12:59 hive-server2 -> 
> /usr/hdp/2.3.2.0-2826/hive
> lrwxrwxrwx 1 root root 35 Dec 18 12:59 hive-webhcat -> 
> /usr/hdp/2.3.2.0-2826/hive-hcatalog
> {code}
> The problem is that {{hcat_client.py}} must write out configs to 
> {{/usr/hdp/current/hive-webhcat/etc/hcatalog}} but {{hcat_client.py}} doesn't 
> {{hdp-select}} anything.
> So that the "current" pointers are never changed. {{hcat_client.py}} should 
> probably {{hdp-select hive-webhcat}} since there is no {{hcat-client}} in 
> {{hdp-select}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to