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

Hadoop QA commented on AMBARI-17685:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12817624/AMBARI-17685.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 
ambari-server.

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

This message is automatically generated.

> Syntax error in 
> ambari-server/src/main/resources/custom_actions/scripts/check_host.py
> -------------------------------------------------------------------------------------
>
>                 Key: AMBARI-17685
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17685
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-17685.patch
>
>
> Check DB connection failed with the following error:
>     
>     
>     
>     2016-07-13 01:01:18,989 - Error installing java.
>     Directory['/usr/jdk64/jdk1.8.0_60'] received unsupported argument user
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 383, 
> in execute_db_connection_check
>         Directory(java_home, user=getpass.getuser(), recursive_ownership=True)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 147, in __init__
>         raise Fail("%s received unsupported argument %s" % (self, key))
>     Fail: Directory['/usr/jdk64/jdk1.8.0_60'] received unsupported argument 
> user
>     2016-07-13 01:01:19,164 - Check db_connection_check was unsuccessful. 
> Exit code: 1. Message: Error installing java.
>     Directory['/usr/jdk64/jdk1.8.0_60'] received unsupported argument user
>     
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 506, 
> in <module>
>         CheckHost().execute()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 280, in execute
>         method(env)
>       File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 206, 
> in actionexecute
>         raise Fail(error_message)
>     resource_management.core.exceptions.Fail: Check db_connection_check was 
> unsuccessful. Exit code: 1. Message: Error installing java.
>     Directory['/usr/jdk64/jdk1.8.0_60'] received unsupported argument user
>     
> Looks like `user` is not a valid parameter.
> Full context of the call
>     
>     
>     
>     [?1034h2016-07-13 01:01:12,230 - Host checks started.
>     2016-07-13 01:01:12,230 - Check execute list: db_connection_check
>     2016-07-13 01:01:12,230 - DB connection check started.
>     
>     2016-07-13 01:01:13,050 - Directory['/usr/jdk64'] {}
>     2016-07-13 01:01:13,058 - Creating directory Directory['/usr/jdk64'] 
> since it doesn't exist.
>     2016-07-13 01:01:13,060 - Execute[('chmod', 'a+x', '/usr/jdk64')] 
> {'not_if': 'test -e /usr/jdk64/jdk1.8.0_60/bin/java', 'sudo': True}
>     2016-07-13 01:01:13,078 - Execute['cd 
> /var/lib/ambari-agent/tmp/jdk_tmp_P5yiwx && tar -xf 
> /var/lib/ambari-agent/cache/jdk-8u60-linux-x64.tar.gz && ambari-sudo.sh cp 
> -rp /var/lib/ambari-agent/tmp/jdk_tmp_P5yiwx/* /usr/jdk64'] {'not_if': 'test 
> -e /usr/jdk64/jdk1.8.0_60/bin/java'}
>     2016-07-13 01:01:18,988 - File['/usr/jdk64/jdk1.8.0_60/bin/java'] 
> {'mode': 0755, 'cd_access': 'a'}
>     2016-07-13 01:01:18,989 - Error installing java.
>     Directory['/usr/jdk64/jdk1.8.0_60'] received unsupported argument user
>     Traceback (most recent call last):
>       File 
> "/var/lib/ambari-agent/cache/custom_actions/scripts/check_host.py", line 383, 
> in execute_db_connection_check
>         Directory(java_home, user=getpass.getuser(), recursive_ownership=True)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 
> 147, in __init__
>         raise Fail("%s received unsupported argument %s" % (self, key))
>     Fail: Directory['/usr/jdk64/jdk1.8.0_60'] received unsupported argument 
> user
>     2016-07-13 01:01:18,990 - Directory['/usr/jdk64/jdk1.8.0_60'] 
> {'recursive_ownership': True}
>     2016-07-13 01:01:18,991 - 
> Directory['/var/lib/ambari-agent/tmp/jdk_tmp_P5yiwx'] {'action': ['delete']}
>     2016-07-13 01:01:18,991 - Removing directory 
> Directory['/var/lib/ambari-agent/tmp/jdk_tmp_P5yiwx'] and all its content
>     2016-07-13 01:01:19,164 - Host checks completed.
>     2016-07-13 01:01:19,164 - Check db_connection_check was unsuccessful. 
> Exit code: 1. Message: Error installing java.
>     Directory['/usr/jdk64/jdk1.8.0_60'] received unsupported argument user
>     
>     Command failed after 1 tries
>     



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

Reply via email to