On HDFS, I want to display normal text for a hive table stored in ORC format
问题 I have saved json dataframe in Hive using orc format jsonDF.write.format("orc").saveAsTable(hiveExamples.jsonTest) Now I need to display the file as a normal text on HDFS. Is there away to do this? I have used hdfs dfs -text /path-of-table , but it displays the data in ORC format. 回答1: From the linux shell command there is an utility called "hive --orcfiledump" To see the metadata of an ORC file in HDFS you can invoke the command like: [@localhost ~ ]$ hive --orcfiledump <path to HDFS ORC