fs refers to any file system, it could be local or HDFS but dfs refers to only HDFS file system.
You can see definitions of the two commands (hadoop fs & hadoop dfs) in $HADOOP_HOME/bin/hadoop
fs refers to any file system, it could be local or HDFS but dfs refers to only HDFS file system.
You can see definitions of the two commands (hadoop fs & hadoop dfs) in $HADOOP_HOME/bin/hadoop
| VIM | |
| In Vi Improved to change or set desired syntax highlighting mode to MODE you have to type in VIM's command line: | |
| :set syntax=MODE | |
| It is very usefull when your file does not have standard extension or you are editting file with two languages in it, eg. AWK commands in a BASH script. | |
| You can set AWK mode :set syntax=awk |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Data::Dumper; | |
| my %hash = ( | |
| key1 => 'value1', | |
| key2 => 'value2', | |
| key3 => 'value3', |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Perl6::Say; | |
| use Data::Dumper; | |
| local $Data::Dumper::Indent = 1; | |
| local $Data::Dumper::Terse = 1; | |
| use Digest::MD5 qw(md5_hex); |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Perl6::Say; | |
| use Data::Dumper; | |
| #use List::Util qw( shuffle ); | |
| use Digest::MD5 qw(md5_hex); | |
| my $KEY = 'bra-bra'; |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| print "- system\n"; | |
| print "-----------------\n"; | |
| my $ret_sys = system 'ps aux | grep -v grep | grep perl | wc -l'; | |
| print '$ret_sys is ', $ret_sys; | |
| print "\n"; | |
| print "-----------------\n"; |
not yet pushed
git reset --hard HEAD^already pushed...
| var array = [ | |
| 2, | |
| 4, | |
| 8, | |
| 16, | |
| 32, | |
| 64, | |
| 128, | |
| 256, | |
| 512, |
| var array = [ | |
| 2, | |
| 4, | |
| 8, | |
| 16, | |
| 32, | |
| 64, | |
| 128, | |
| 256, | |
| 512, |
mac に Image::Magick を導入する手順は以下の通り。