This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-shade-plugin</artifactId> | |
| <version>2.1</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Exception in thread "main" com.sun.jersey.api.client.ClientHandlerException: com.sun.jersey.api.client.ClientHandlerException: A message body writer for Java type, class java.lang.String, and MIME media type, application/json, was not found | |
| at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:155) | |
| at com.sun.jersey.api.client.Client.handle(Client.java:652) | |
| at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682) | |
| at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) | |
| at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570) | |
| Caused by: com.sun.jersey.api.client.ClientHandlerException: A message body writer for Java type, class java.lang.String, and MIME media type, application/json, was not found | |
| at com.sun.jersey.api.client.RequestWriter.writeRequestEntity(RequestWriter.java:288) | |
| at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:217) | |
| at com.sun.je |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <dependencies> | |
| <dependency> | |
| <groupId>org.apache.hive</groupId> | |
| <artifactId>hive-exec</artifactId> | |
| <version>1.2.1</version> | |
| <exclusions> | |
| <exclusion> | |
| <groupId>com.google.protobuf</groupId> | |
| <artifactId>protobuf-java</artifactId> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.apache.crunch.types.orc.OrcUtils; | |
| import org.apache.hadoop.conf.Configuration; | |
| import org.apache.hadoop.fs.Path; | |
| import org.apache.hadoop.hive.ql.io.orc.OrcFile; | |
| import org.apache.hadoop.hive.ql.io.orc.OrcStruct; | |
| import org.apache.hadoop.hive.serde2.io.DoubleWritable; | |
| import org.apache.hadoop.hive.serde2.io.ShortWritable; | |
| import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector; | |
| import org.apache.hadoop.hive.serde2.typeinfo.TypeInfo; | |
| import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils; |