hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Robertson <charles.robert...@gmail.com>
Subject Re: Regular expressions in fs paths?
Date Wed, 10 Sep 2014 21:01:17 GMT
I solved this in the end by using a shell script (initiated by an oozie
shell action) to use grep and loop through the results - didn't have to use
-v option, as the -e option gives you access to a fuller range of regular
expression functionality.

Thanks for your help (again!) Rich.


On 10 September 2014 16:50, Rich Haase <rdhaase@gmail.com> wrote:

> HDFS doesn't support he full range of glob matching you will find in
> Linux.  If you want to exclude all files from a directory listing that meet
> a certain criteria try doing your listing and using grep -v to exclude the
> matching records.

View raw message