[MacPorts] #34665: hadoop @1.0.2 hadoop-bin uses sudo option -E which is not available on Mac OS X 10.5

MacPorts noreply at macports.org
Thu May 31 14:55:06 PDT 2012


#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


More information about the macports-tickets mailing list