[ 
https://issues.apache.org/jira/browse/AMBARI-17061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316610#comment-15316610
 ] 

Hadoop QA commented on AMBARI-17061:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12808403/AMBARI-17061.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
                        Please justify why no new tests are needed for this 
patch.
                        Also please list what manual steps were performed to 
verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/7179//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/7179//console

This message is automatically generated.

> [ambari] ambari-agent restart is failing due to unsupported locale setting
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-17061
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17061
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17061.patch
>
>
> this issue I faced some 5-6 days ago , I was not able to reproduce the same.  
> Again i am facing the same issue, incident is as follows:  
> 1) ambari-agent heartbeat lost  
> 2) checked the ambari-agent logs couldn't find any valid reason  
> 3) so restarted the ambari-agent
>     
>     
>     
>     [root@ds-xa-test-1-re-1 bin]# ambari-agent start
>     Verifying Python version compatibility...
>     Using python  /usr/bin/python
>     Checking for previously running Ambari Agent...
>     Starting ambari-agent
>     Verifying ambari-agent process status...
>     Ambari Agent successfully started
>     Agent PID at: /var/run/ambari-agent/ambari-agent.pid
>     Agent out at: /var/log/ambari-agent/ambari-agent.out
>     Agent log at: /var/log/ambari-agent/ambari-agent.log
>     
> **it says ambari-agent successfull started but it does not start actually and 
> throws unsupported locale type exception in agent.out**
> following is the exception in ambari-agent.out
>     
>     
>     
>       File "/usr/lib/python2.6/site-packages/ambari_agent/main.py", line 54, 
> in <module>
>         locale.setlocale(locale.LC_ALL, '')
>       File "/usr/lib64/python2.6/locale.py", line 513, in setlocale
>         return _setlocale(category, locale)
>     locale.Error: unsupported locale setting
>     ^[[?1034h
>     
> I checked the locale
>     
>     
>     
>     [root@ds-xa-test-1-re-1 bin]# locale
>     locale: Cannot set LC_CTYPE to default locale: No such file or directory
>     locale: Cannot set LC_ALL to default locale: No such file or directory
>     LANG=en_US.UTF-8
>     LC_CTYPE=UTF-8
>     LC_NUMERIC="en_US.UTF-8"
>     LC_TIME="en_US.UTF-8"
>     LC_COLLATE="en_US.UTF-8"
>     LC_MONETARY="en_US.UTF-8"
>     LC_MESSAGES="en_US.UTF-8"
>     LC_PAPER="en_US.UTF-8"
>     LC_NAME="en_US.UTF-8"
>     LC_ADDRESS="en_US.UTF-8"
>     LC_TELEPHONE="en_US.UTF-8"
>     LC_MEASUREMENT="en_US.UTF-8"
>     LC_IDENTIFICATION="en_US.UTF-8"
>     LC_ALL=
>     
> since LC_ALL was set to empty so set the export LC_ALL=C
> then restarted the ranger and it was successful.
> again facing the same issue:
> build detail:  
> ambari-agent-2.4.0.0-625.x86_64



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

Reply via email to