How to read data files generated by flume from twitter
问题 I have generated few twitter data log files using flume on HDFS , what is the actual format of the log file ? I was expecting data in json format. But it looks like this. Could someone help me on how to read this data ? or what is wrong with the way I have done this 回答1: DOWNLOAD THE FILE (hive-serdes-1.0-SNAPSHOT.jar) from this link http://files.cloudera.com/samples/hive-serdes-1.0-SNAPSHOT.jar Then put this file in your $HIVE_HOME/lib Add the jar into hive shell hive> ADD JAR file:///home