|
[
Permlink
| « Hide
]
Rama, Ramasamy added a comment - 18/Oct/08 01:21 AM
sed "s/#.*$//;/^$/d" : Remove anything after '#' and delete empty lines
I am not sure whether to mark this JIRA as an "incompatible" change or not. If a slaves file previously had an entry of the type:
machine.xxx.com#bad then slaves.sh would fail while trying to connect to this machine because whereas with this patch slaves.sh will correctly interpret the machine name as machine.xxx.com and work correctly. -1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12392400/comments_in_slaves.diff against trunk revision 706338. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3497/testReport/ This message is automatically generated. I just committed this. Thanks, Rama!
I view this as a compatible change, since there are no legal hostnames with hash. Integrated in Hadoop-trunk #644 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/644/
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||