- Timestamp:
- 2015-12-16T16:15:39+13:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/bin/script/hadoop_import.pl
r28015 r30354 33 33 my $hdfs_fs_prefix = 'HDThriftFS://'; 34 34 my $refresh_import = 0; 35 my $remove_old = 0; 35 36 my $username = `whoami`; 36 37 chomp($username); … … 49 50 else 50 51 { 51 print STDERR "usage: hadoop_import.pl <collection> [-debug] [- disable_thrift] [-dry_run] [-start_thrift] [-refresh_import] [-flush_diskcache] [-use_nfs] [-stagger]\n";52 print STDERR "usage: hadoop_import.pl <collection> [-debug] [-enable_thrift] [-dry_run] [-start_thrift] [-refresh_import] [-flush_diskcache] [-use_nfs] [-stagger] [-removeold]\n"; 52 53 print STDERR "where: [debug] print more debug messages to STDERR\n"; 53 54 print STDERR " [dry_run] don't actually perform an file actions\n"; … … 61 62 $debug = 1; 62 63 } 63 if ($ARGV[$offset] eq '- disable_thrift')64 { 65 $use_thrift = 0;64 if ($ARGV[$offset] eq '-enable_thrift') 65 { 66 $use_thrift = 1; 66 67 } 67 68 if ($ARGV[$offset] eq '-dry_run') … … 88 89 { 89 90 $use_nfs = 1; 91 } 92 if ($ARGV[$offset] eq '-removeold') 93 { 94 $remove_old = 1; 90 95 } 91 96 if ($ARGV[$offset] eq '-logdir')
Note:
See TracChangeset
for help on using the changeset viewer.