Read Parquet file using hdfs dfs -cat command

0 votes

Hi Team,

If we load the data in hive table using below below steps.

1.) create a hive table;
2.) load the hive table;
3.) create hive table for parquet;
4.) load hive parquet table from hive table;

Will the file be a normal .dat file in hive table and parquet file for hive parquet table and cannot be read using hdfs dfs -cat command?

May 24, 2019 in Big Data Hadoop by George
3,002 views

1 answer to this question.

0 votes

When you try to read a parquet file using cat command, it will appear as below:

image

Therefore, the parquet file will not be in a readable format.

answered May 24, 2019 by Calvin

Related Questions In Big Data Hadoop

0 votes
1 answer

Moving data to hdfs using copyFromLocal command

Actually dfs.data.dir and dfs.name.dir have to point ...READ MORE

answered Mar 27, 2018 in Big Data Hadoop by nitinrawat895
• 10,920 points
4,987 views
0 votes
1 answer

Writing File into HDFS using spark scala

The reason you are not able to ...READ MORE

answered Apr 5, 2018 in Big Data Hadoop by kurt_cobain
• 9,310 points
10,365 views
0 votes
1 answer

Getting error in command hdfs dfs -mkdir

You are getting this error because the ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,380 points
757 views
0 votes
1 answer

How to count lines in a file on hdfs command?

Use the below commands: Total number of files: hadoop ...READ MORE

answered Aug 10, 2018 in Big Data Hadoop by Neha
• 6,280 points
8,034 views
+1 vote
2 answers

What does hadoop fs -du command gives as output?

du command is used for to see ...READ MORE

answered Jul 23, 2019 in Big Data Hadoop by Lokesh Singh
2,197 views
0 votes
1 answer

How can I write text in HDFS using CMD?

Hadoop put & appendToFile only reads standard ...READ MORE

answered Apr 27, 2018 in Big Data Hadoop by Shubham
• 13,380 points
204 views
0 votes
1 answer

What is the command to find the free space in HDFS?

You can use dfsadmin which runs a ...READ MORE

answered Apr 29, 2018 in Big Data Hadoop by Shubham
• 13,380 points
537 views
0 votes
1 answer

How to find the used cache in HDFS

hdfs dfsadmin -report This command tells fs ...READ MORE

answered May 4, 2018 in Big Data Hadoop by Shubham
• 13,380 points
573 views
0 votes
2 answers

Not Able to read the file from hdfs location

Please make sure you connect to spark2-shell ...READ MORE

answered Jul 14 in Big Data Hadoop by Shantanu
• 190 points
129 views
0 votes
2 answers

How to see MySql service is running or not using linux command?

Hi, You can simply run the following commands ...READ MORE

answered Jan 21 in Big Data Hadoop by anonymous
115 views