title: How to read RC file contents
body: <p>I have loaded a file to my hive table which is ORC file format.<br>
  When I try to read the file using   </p>
  
  <pre><code> hadoop fs -text /apps/hive/warehouse/emp_rcfileformat/000000_0  
  </code></pre>
  
  <p>or  </p>
  
  <pre><code>hive --orcfiledump /apps/hive/warehouse/emp_rcfileformat/000000_0  
  </code></pre>
  
  <p>This does not give me any result...
  I am using hive 0.14  </p>
  
  <p>Error if i use orcfiledump   </p>
  
  <pre><code>Exception in thread "main" org.apache.hadoop.hive.ql.io.FileFormatException: Malformed ORC file /apps/hive/warehouse/emp_rcfileformat/000000_0. Invalid postscript.
          at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.ensureOrcFooter(ReaderImpl.java:248)
          at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.extractMetaInfoFromFooter(ReaderImpl.java:373)
          at org.apache.hadoop.hive.ql.io.orc.ReaderImpl.&lt;init&gt;(ReaderImpl.java:314)
          at org.apache.hadoop.hive.ql.io.orc.OrcFile.createReader(OrcFile.java:237)
          at org.apache.hadoop.hive.ql.io.orc.FileDump.printMetaData(FileDump.java:101)
          at org.apache.hadoop.hive.ql.io.orc.FileDump.main(FileDump.java:86)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
          at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
  </code></pre>