[MacPorts] #34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5
#34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5 ----------------------------------+----------------------------------------- Reporter: heapifyman@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: hadoop sudo | Port: hadoop ----------------------------------+----------------------------------------- The pre-installed sudo version on Mac OS X 10.5 does not support option -E which is used in hadoop-bin script. This causes the following error message when running hadoop-bin: {{{ sudo: illegal option `-E' }}} Either hadoop-bin script could be changed, or hadoop port should not be available for Mac OS X 10.5 or hadoop port should have macport's sudo as required dependency? -- Ticket URL: <https://trac.macports.org/ticket/34665> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5 ----------------------------------+----------------------------------------- Reporter: heapifyman@… | Owner: hum@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: hadoop ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * keywords: hadoop sudo => * owner: macports-tickets@… => hum@… -- Ticket URL: <https://trac.macports.org/ticket/34665#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5 ----------------------------------+----------------------------------------- Reporter: heapifyman@… | Owner: hum@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: hadoop ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * type: request => defect -- Ticket URL: <https://trac.macports.org/ticket/34665#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5 ----------------------------------+----------------------------------------- Reporter: heapifyman@… | Owner: hum@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: hadoop ----------------------------------+----------------------------------------- Changes (by hum@…): * status: new => assigned Comment: Thank you for reporting a problem of the hadoop port. I updated the port to the latest version 1.0.3 and added depends_run port:sudo for Leopard (10.5) in r93805. Could you please check the port? Thanks in advance! -- Ticket URL: <https://trac.macports.org/ticket/34665#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5 ----------------------------------+----------------------------------------- Reporter: heapifyman@… | Owner: hum@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: hadoop ----------------------------------+----------------------------------------- Comment(by heapifyman@…): The new version installed sudo as dependency and the reported error message disappeared. However, when trying to run {{{ hadoop-bin hadoop namenode -format }}} I got the following error {{{ shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied chdir: error retrieving current directory: getcwd: cannot access parent directories: Permission denied chdir: error retrieving current directory: getcwd: cannot access parent directories: Permission denied chdir: error retrieving current directory: getcwd: cannot access parent directories: Permission denied Warning: $HADOOP_HOME is deprecated. Error occurred during initialization of VM java.lang.Error: Properties init: Could not determine current working directory. at java.lang.System.initProperties(Native Method) at java.lang.System.initializeSystemClass(System.java:1087) }}} -- Ticket URL: <https://trac.macports.org/ticket/34665#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5 -----------------------------------+---------------------------------------- Reporter: heapifyman@… | Owner: hum@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: hadoop | -----------------------------------+---------------------------------------- Changes (by hum@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:4 heapifyman@…]:
I got the following error {{{ ... }}}
It is too bad that the modification ended up in vain. I made the port unavailable on Mac OS X 10.5 or earlier in r94067. If you have a good idea, please let me know, or you can update the port directly! -- Ticket URL: <https://trac.macports.org/ticket/34665#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts