[MacPorts] #40393: hadoop install fails when setting up ssh

MacPorts noreply at macports.org
Thu Sep 5 12:53:53 PDT 2013


#40393: hadoop install fails when setting up ssh
------------------------+--------------------------------
 Reporter:  kirc0076@…  |      Owner:  macports-tickets@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.2.0
 Keywords:              |       Port:  hadoop
------------------------+--------------------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/40393>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list