[ https://issues.apache.org/jira/browse/OOZIE-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15939388#comment-15939388 ]
Attila Sasvari commented on OOZIE-2701: --------------------------------------- * Looking at {code} \[\w+\.\-\w+\]+ = Hostname or IP address. \[/\w+=;\-\]* = partition information {code} these are character classes (that use other character classes like \w) . Invalid hostnames would be also matched like "asdac....." * {{splitHCatUris}} creates a new Pattern object each time it is called, it should be created only once (HCAT_URI_REGEX_CONFIG only set once at startup). * I don't think URI's getScheme() should be tested (e.g. assertEquals("hcat", uri.getScheme()) ) > Oozie to support Multiple HCatalog URIs > --------------------------------------- > > Key: OOZIE-2701 > URL: https://issues.apache.org/jira/browse/OOZIE-2701 > Project: Oozie > Issue Type: New Feature > Components: core > Reporter: Abhishek Bafna > Assignee: Abhishek Bafna > Fix For: 5.0.0 > > Attachments: OOZIE-2701-00.patch, OOZIE-2701-01.patch, > OOZIE-2701-02.patch, OOZIE-2701-03.patch, OOZIE-2701-04.patch, > OOZIE-2701-05.patch > > -- This message was sent by Atlassian JIRA (v6.3.15#6346)