[ http://issues.apache.org/jira/browse/HADOOP-352?page=comments#action_12419697 ]
Jean-Baptiste Quenot commented on HADOOP-352: --------------------------------------------- This is the purpose of compile (and testing) farms at SourceForge (see http://sourceforge.net/docman/display_doc.php?docid=762&group_id=1), is there such a possibility at Apache? I understand your concern that your changes might introduce new incompatibilities. But at the contrary, you may prevent users from adopting Hadoop by having very Linux-specific constructs. FYI I'm working in a group of persons that intend to deploy Hadoop on Linux, FreeBSD, Cygwin and Solaris systems. There are simples rules to follow that could ensure compatibility: * "> file 2>&1" instead of ">& file" * ". file" instead of "source file" * Not using /proc (Linux-specific) Best regards. > Portability of hadoop shell scripts for deployment > -------------------------------------------------- > > Key: HADOOP-352 > URL: http://issues.apache.org/jira/browse/HADOOP-352 > Project: Hadoop > Type: Bug > Versions: 0.4.0 > Reporter: Jean-Baptiste Quenot > Attachments: hadoop-sh-patch > > Hadoop shell scripts are based on /bin/bash, which is a "standard" shell only > on GNU/Linux. On other Unix systems like FreeBSD however the "standard" > shell is /bin/sh. The attached patch addresses these compatiblity issues. > Note that Solaris support is not yet tested. > Also, the best way to set the HADOOP_HOME variable upon ssh connection in a > portable way is to set it in .ssh/environment. The bash startup script > ".bashrc" is not an option on systems where "bash" is not installed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
