You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/11/12 07:47:11 UTC

[jira] [Commented] (AMBARI-13825) Exchange of keys should be done during start phase (not during install)

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

Hadoop QA commented on AMBARI-13825:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12771866/AMBARI-13825.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:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.controller.internal.UpgradeResourceProviderTest
                  org.apache.ambari.server.state.UpgradeHelperTest
                  org.apache.ambari.server.controller.internal.UpgradeResourceProviderHDP22Test
                  org.apache.ambari.server.functionaltests.server.StartStopServerTest

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

This message is automatically generated.

> Exchange of keys should be done during start phase (not during install)
> -----------------------------------------------------------------------
>
>                 Key: AMBARI-13825
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13825
>             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/getpass.py:79: GetPassWarning: Can not control echo on the terminal.
>   passwd = fallback_getpass(prompt, stream)
> Warning: Password input may be echoed.
>   *** Enter password for ip-10-32-39-31.ore1.vpc.pivotal.io: [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 ip-10-32-38-111.ore1.vpc.pivotal.io
>   ... send to ip-10-32-39-12.ore1.vpc.pivotal.io
>   ... send to ip-10-32-39-252.ore1.vpc.pivotal.io
>   ... send to ip-10-32-39-31.ore1.vpc.pivotal.io
> 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 None)
>   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/getpass.py", line 79, in unix_getpass
>     passwd = fallback_getpass(prompt, stream)
>   File "/usr/local/hawq/ext/python/lib/python2.6/getpass.py", line 114, in fallback_getpass
>     return _raw_input(prompt, stream)
>   File "/usr/local/hawq/ext/python/lib/python2.6/getpass.py", line 130, in _raw_input
>     raise EOFError
> EOFError
> {noformat}



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