hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "FAQ" by udanax
Date Fri, 04 Apr 2008 08:27:38 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by udanax:
http://wiki.apache.org/hadoop/FAQ

The comment on the change is:
Add a wildcard guide

------------------------------------------------------------------------------
  
  The short answer is dual processor/dual core machines with 4-8GB of RAM using ECC memory.
Machines should be moderately high-end commodity machines to be most cost-effective and typically
cost 1/2 - 2/3 the cost of normal production application servers but are not desktop-class
machines. This cost tends to be $2-5K. For a more detailed discussion, see MachineScaling
page.
  
+ [[BR]]
+ [[Anchor(19)]]
+ '''19. [#19 Wildcard characters doesn't work correctly in FsShell.]'''
+ 
+ When you issue a command in !FsShell, you may want to apply that command to more than one
file. !FsShell provides a wildcard character to help you do so. 
+ The * (asterisk) character can be used to take the place of any set of characters. For example,
if you would like to list all the files in your account which begin with the
+ letter '''x''', you could use the ls command with the * wildcard: 
+ 
+ {{{
+ bin/hadoop dfs -ls x*
+ }}}
+ 
+ Sometimes, the native OS wildcard support causes unexpected results. To avoid this problem,
Enclose the expression in '''Single''' or '''Double''' quotes and it should work correctly.
+ 
+ {{{
+ bin/hadoop dfs -ls 'in*'
+ }}}
+ 

Mime
View raw message