You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2016/02/29 04:05:18 UTC

[jira] [Assigned] (HAWQ-469) local node operations still require passwordless ssh setup

     [ https://issues.apache.org/jira/browse/HAWQ-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konstantin Boudnik reassigned HAWQ-469:
---------------------------------------

    Assignee: Konstantin Boudnik  (was: Lei Chang)

> local node operations still require passwordless ssh setup
> ----------------------------------------------------------
>
>                 Key: HAWQ-469
>                 URL: https://issues.apache.org/jira/browse/HAWQ-469
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Command Line Tools
>    Affects Versions: 2.0.0-beta-incubating
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>            Priority: Critical
>
> Running {{ $ sudo -u hawq /usr/bin/hawq init master }} which suppose to be a locally contained operation according to [this exchange|http://is.gd/4NNVuw], still seems to be attempting an ssh invocation, and fails if password-less ssh isn't configured.
> I see that the process is always going to local_ssh call, which ends up in an attempt to ssh into localhost.
> {code}
> Traceback (most recent call last):
>   File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "/usr/lib64/python2.7/trace.py", line 819, in <module>
>     main()
>   File "/usr/lib64/python2.7/trace.py", line 807, in main
>     t.runctx(code, globs, globs)
>   File "/usr/lib64/python2.7/trace.py", line 513, in runctx
>     exec cmd in globals, locals
>   File "/usr/lib/hawq/bin/hawq", line 133, in <module>
>     main()
>   File "/usr/lib/hawq/bin/hawq", line 80, in main
>     result = local_ssh(cmd)
>   File "/usr/lib/hawq/bin/hawq", line 35, in local_ssh
>     result = subprocess.Popen(cmd, shell=True).wait()
>   File "/usr/lib64/python2.7/subprocess.py", line 1376, in wait
>     pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
>   File "/usr/lib64/python2.7/subprocess.py", line 478, in _eintr_retry_call
>     return func(*args)
> {code}



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