51649/command-to-copy-file-from-desktop-to-hdfs
You can use either of the below commands to copy files from your local to hdfs,
hadoop fs -put /path/in/linux /hdfs/path
or
hadoop fs -copyFromLocal /path/in/linux /hdfs/path
The distributed copy command, distcp, is a ...READ MORE
There are two possible ways to copy ...READ MORE
Please refer to the below code: import org.apache.hadoop.conf.Configuration import ...READ MORE
Hi@akhtar, You can copy files from your local ...READ MORE
du command is used for to see ...READ MORE
Hadoop put & appendToFile only reads standard ...READ MORE
You can use dfsadmin which runs a ...READ MORE
hdfs dfsadmin -report This command tells fs ...READ MORE
Just use the FileSystem's copyFromLocalFile method. If the source Path ...READ MORE
hadoop fs -cat /example2/doc1 | wc -l READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.