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 "Jonathan Allen (JIRA)" <ji...@apache.org> on 2015/08/14 19:12:46 UTC
[jira] [Updated] (HADOOP-10544) Find command - add operator
functions to find command
[ https://issues.apache.org/jira/browse/HADOOP-10544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Allen updated HADOOP-10544:
------------------------------------
Attachment: HADOOP-10544.patch
bq. <br \> should be <br />.
Typo corrected
bq. String.split will remove the string from the output if it matches the regular expression,
The lookahead/behind in the regex stops the match from being removed. The problem was an empty string being produced when there were consecutive brackets (which seems to be a functionality change between Java 7 and 8). Adding a check for an empty string fixed the problem.
However, adding a new unit test to prove this showed up another bug that I'm now investigating.
> Find command - add operator functions to find command
> -----------------------------------------------------
>
> Key: HADOOP-10544
> URL: https://issues.apache.org/jira/browse/HADOOP-10544
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Jonathan Allen
> Assignee: Jonathan Allen
> Priority: Minor
> Labels: BB2015-05-TBR
> Attachments: HADOOP-10544.patch, HADOOP-10544.patch, HADOOP-10544.patch, HADOOP-10544.patch, HADOOP-10544.patch, HADOOP-10544.patch, HADOOP-10544.patch, HADOOP-10544.patch, HADOOP-10544.patch
>
>
> Add operator functions (OR, NOT) to the find command created under HADOOP-8989.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)