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
1,162 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,840 points
2,821 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,290 points
7,106 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,370 points
532 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
4,425 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
1,318 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,370 points
124 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,370 points
314 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,370 points
357 views
0 votes
1 answer

Not Able to read the file from hdfs location

You have to mention the hdfs path, ...READ MORE

answered Jul 23, 2019 in Big Data Hadoop by Esha
55 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 2 days ago in Big Data Hadoop by anonymous
49 views