You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daniel Templeton (JIRA)" <ji...@apache.org> on 2011/01/05 08:55:47 UTC

[jira] Commented: (HADOOP-2689) RegEx support for expressing datanodes in the slaves conf files

    [ https://issues.apache.org/jira/browse/HADOOP-2689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977667#action_12977667 ] 

Daniel Templeton commented on HADOOP-2689:
------------------------------------------

I've pulled together a short gawk script that handles the unrolling of regex-esque syntax quite nicely.  Since slaves.sh already depends on sed, I don't see any issue swapping out that dependency for gawk.  I just need to do a little more clean-up, and then I'll post the patch.

> RegEx support for expressing datanodes in the slaves conf files
> ---------------------------------------------------------------
>
>                 Key: HADOOP-2689
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2689
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf
>    Affects Versions: 0.14.4
>         Environment: All
>            Reporter: Venkat Ramachandran
>
> It will be very handy if datanodes and task trackers can be expressed in the slave conf file as regular expressions.
> For example, 
> machine[1-200].corp
> machine[400-679].corp

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.