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

Hadoop QA commented on AMBARI-22665:
------------------------------------

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

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/12855//console

This message is automatically generated.

> Livy2 Does Not Start On HDP 2.6.0 to 2.6.3
> ------------------------------------------
>
>                 Key: AMBARI-22665
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22665
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.6.1
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.6.2
>
>         Attachments: AMBARI-22665.patch
>
>
> Livy2 was added as a component in HDP 2.6, starting with HDP 2.6.0.0. 
> However, there was no stack-select or conf-select support for some reason. 
> stack-select and conf-select was built into HDP 2.6.4.0. 
> Ambari added {{livy2}} as a known conf-select to the HDP 2.6 stack. On 
> deployments of HDP 2.6.4+, this is correct and the server can properly start. 
> However, when using Ambari to deploy Livy2 on HDP 2.6.0 - 2.6.3, we see the 
> following:
> {code}
> 2017-12-18 14:53:52,711 - Checking to see which directories will be created 
> for livy2 on version 2.6.0.0-334
> 2017-12-18 14:53:52,711 - call[('ambari-python-wrap', '/usr/bin/conf-select', 
> 'dry-run-create', '--package', 'livy2', '--stack-version', '2.6.0.0-334', 
> '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False, 
> 'stderr': -1}
> 2017-12-18 14:53:52,734 - call returned (1, 'livy2 not installed or incorrect 
> package name', '')
> 2017-12-18 14:53:52,735 - Creating /etc/livy2/2.6.0.0-334/0 if it does not 
> exist
> 2017-12-18 14:53:52,736 - call[('ambari-python-wrap', '/usr/bin/conf-select', 
> 'create-conf-dir', '--package', 'livy2', '--stack-version', '2.6.0.0-334', 
> '--conf-version', '0')] {'logoutput': False, 'sudo': True, 'quiet': False, 
> 'stderr': -1}
> 2017-12-18 14:53:52,765 - call returned (1, 'livy2 not installed or incorrect 
> package name', '')
> 2017-12-18 14:53:52,766 - checked_call[('ambari-python-wrap', 
> '/usr/bin/conf-select', 'set-conf-dir', '--package', 'livy2', 
> '--stack-version', '2.6.0.0-334', '--conf-version', '0')] {'logoutput': 
> False, 'sudo': True, 'quiet': False}
> 2017-12-18 14:53:52,795 - Could not select the directory for package livy2. 
> Error: Execution of 'ambari-python-wrap /usr/bin/conf-select set-conf-dir 
> --package livy2 --stack-version 2.6.0.0-334 --conf-version 0' returned 1. 
> livy2 not installed or incorrect package name
> 2017-12-18 14:53:52,796 - /etc/livy2/conf is a directory - it must be 
> converted into a symlink
> {code}
> Essentially, Ambari is trying to setup the configuration pointers, but it is 
> ignoring the dry-run result code. At the end of the day, we end up with Livy2 
> not starting b/c we're manipulated the configuration pointers, but 
> {{conf-select}} failed to properly create a versioned configuration directory.
> The solution is to check the dry-run result code and do nothing if 
> conf-select doesn't support the package.



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

Reply via email to