Opened 11 years ago
Last modified 8 years ago
#40393 assigned defect
hadoop install fails when setting up ssh — at Initial Version
Reported by: | kirc0076@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: | hadoop |
Description
It looks like the portfile runs into a problem on line 255, with sudo unwilling to allow user "hadoop" to execute a command.
Here's last few lines of the log:
:debug:activate activating file: /opt/local/var/hadoop/run/.turd_hadoop :debug:activate Executing proc-post-org.macports.activate-activate-0 :info:activate xinstall: mkdir /opt/local/var/hadoop/.ssh :info:activate sudo: unable to change to runas uid (506, 506): Operation not permitted :info:activate sudo: unable to execute /usr/bin/ssh-keygen: Operation not permitted :info:activate Command failed: sudo -u hadoop ssh-keygen -t rsa -P -f /opt/local/var/hadoop/.ssh/id_rsa :info:activate Exit code: 1 :error:activate org.macports.activate for port hadoop returned: command execution failed :debug:activate Error code: NONE :debug:activate Backtrace: command execution failed
while executing
"$post $targetname" :info:activate Warning: targets not executed for hadoop: org.macports.activate :notice:activate Please see the log file for port hadoop for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_hadoop/hadoop/main.log