ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <>
Subject [jira] [Commented] (AMBARI-13825) Exchange of keys should be done during start phase (not during install)
Date Thu, 12 Nov 2015 06:47:11 GMT


Hadoop QA commented on AMBARI-13825:

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  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
                        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:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:


Test results:
Console output:

This message is automatically generated.

> Exchange of keys should be done during start phase (not during install)
> -----------------------------------------------------------------------
>                 Key: AMBARI-13825
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>          Components: stacks
>            Reporter: bhuvnesh chaudhary
>            Assignee: bhuvnesh chaudhary
>            Priority: Minor
>             Fix For: trunk
>         Attachments: AMBARI-13825.patch
> ssh-exkeys is setup to be executed as part of installation for the service. There is
no install time dependencies for HAWQ components, so if hawq master install is triggered first,
it will execute ssh keys with slaves but incase if hawq segment install is not invoked by
ambari yet, gpadmin user will not be present and hawq master install may fail during it while
exchanging keys. 
> We need to put exchange keys during start of master service and not install.
> {noformat}
> /usr/local/hawq/ext/python/lib/python2.6/ GetPassWarning: Can not control
echo on the terminal.
>   passwd = fallback_getpass(prompt, stream)
> Warning: Password input may be echoed.
>   *** Enter password for [STEP 1 of 5] create local
ID and authorize on local host
>   ... /home/gpadmin/.ssh/id_rsa file exists ... key generation skipped
> [STEP 2 of 5] keyscan all hosts and update known_hosts file
> [STEP 3 of 5] authorize current user on remote hosts
>   ... send to
>   ... send to
>   ... send to
>   ... send to
> Traceback (most recent call last):
>   File "/usr/local/hawq/./bin/gpssh-exkeys", line 753, in <module>
>     send_local_id = h.sendLocalID(localID, GV.passwd, tempDir if isExistingHost else
>   File "/usr/local/hawq/./bin/gpssh-exkeys", line 200, in sendLocalID
>     pwd = getpass.getpass('  *** Enter password for %s: ' % (self.m_host), sys.stderr)
>   File "/usr/local/hawq/ext/python/lib/python2.6/", line 79, in unix_getpass
>     passwd = fallback_getpass(prompt, stream)
>   File "/usr/local/hawq/ext/python/lib/python2.6/", line 114, in fallback_getpass
>     return _raw_input(prompt, stream)
>   File "/usr/local/hawq/ext/python/lib/python2.6/", line 130, in _raw_input
>     raise EOFError
> EOFError
> {noformat}

This message was sent by Atlassian JIRA

View raw message