0

i am trying to read a ORC file in hadoop file system from command line but the below commands are not working.

hadoop fs -text is not working

whats equivalent command?

1 Answers1

0

Looks like you'll have to dump it from Hive. This appears to be a duplicate of this question - How to see contents of Hive orc files in linux

The hive --orcfiledump <location-of-orc-file> or something similar depending on your Hive version should do it. https://cwiki.apache.org/confluence/display/Hive/LanguageManual+ORC

Community
  • 1
  • 1
pjames
  • 192
  • 1
  • 4
  • 13