ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kai zhao (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-21988) [Hive Metastore] can't start hive metastore service,occured exception in python file "logger.py"
Date Tue, 19 Sep 2017 11:19:02 GMT

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

kai zhao resolved AMBARI-21988.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.2

change the linux locale as 'en_US.UTF-8'
change the postgresql locale as 'en_US.UTF-'

> [Hive Metastore] can't start hive metastore service,occured exception in python file
"logger.py"
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21988
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21988
>             Project: Ambari
>          Issue Type: Bug
>          Components:  HiveServer2, Metastore, and Client Heap Sizes to Smart Configs
>    Affects Versions: 2.4.2
>         Environment: linux version: 
> CentOS 6     
> Linux wjw-syjg-03 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64
x86_64 GNU/Linux
> python version:
> Python 2.6.6 (r266:84292, Nov 22 2013, 12:16:22)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
> ambari version:
> ambari-2.4.2.0-centos6.tar.gz
> HDP version:
> HDP-2.5.3.0-centos6-rpm.tar.gz
> HDP-UTILS version:
> HDP-UTILS-1.1.0.21-centos6.tar.gz
> download from:http://http://public-repo-1.hortonworks.com
>            Reporter: kai zhao
>            Priority: Critical
>             Fix For: 2.4.2
>
>
> 1.start ambari server
> 2.install Hive service
> 3.create hive user as 'hive' with password 'hive' in postgresqll database
> 4.create hive metaData database 'hive'
> 5.grant all privilege to user hive
> 6.modify pg_hba.conf file  add  below lines:
>       local   all   all                               trust
>       host    all   all         127.0.0.1/32          trust
>        host    all   all         ::1/128               trust
> 7.configure hive 
> 8.try to start hive 
> 9.MetaStore service can't start 
> Result:
>       occured Exception:
> File "/usr/lib/python2.6/site-packages/resource_management/core/logger.py", line 101,
in filter_text
>     text = text.replace(unprotected_string, protected_string)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 984: ordinal not
in range(128)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message