87342/how-to-view-contents-of-file-in-hadoop-hdfs
Hi Guys,
I have uploaded some files to the Hadoop Cluster. Now I want to read the content of the file. How can I do read the content?
Hi@akhtar,
You can use the Hadoop filesystem command to read any file. It supports the cat command to read the content. You can use the below command.
$ hadoop fs -cat <file>
You can use the hadoop fs -ls command to ...READ MORE
Yes, you can use hdfs dfs command ...READ MORE
If you are simply looking to distribute ...READ MORE
hadoop fs -text /hdfs-path-to-zipped-file.gz | hadoop fs ...READ MORE
You can use dfsadmin which runs a ...READ MORE
hdfs dfsadmin -report This command tells fs ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi@akhtar, You can use Hadoop file system command to ...READ MORE
Hi@akhtar, You can create an empty file in ...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.