Author: hashutosh
Date: Wed Jul 6 22:52:23 2011
New Revision: 1143600
URL: http://svn.apache.org/viewvc?rev=1143600&view=rev
Log:
HCATALOG-35 : HCatalog fails to compile with Pig 0.9
Modified:
incubator/hcatalog/branches/branch-0.1/CHANGES.txt
incubator/hcatalog/branches/branch-0.1/src/java/org/apache/hcatalog/pig/HCatStorer.java
Modified: incubator/hcatalog/branches/branch-0.1/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.1/CHANGES.txt?rev=1143600&r1=1143599&r2=1143600&view=diff
==============================================================================
--- incubator/hcatalog/branches/branch-0.1/CHANGES.txt (original)
+++ incubator/hcatalog/branches/branch-0.1/CHANGES.txt Wed Jul 6 22:52:23 2011
@@ -17,11 +17,11 @@ Release 0.1.0
IMPROVEMENTS
HCAT-44. Add a releaseaudit target to build.xml (gates)
- HCAT-40. Remove dependencies from the HCatalog client jar (macyang)
+ HCAT-40. Remove dependencies from the HCatalog client jar (macyang)
- HCAT-27. Start and stop scripts for the server (gates)
+ HCAT-27. Start and stop scripts for the server (gates)
- HCAT-21. Install documenation and script (gates)
+ HCAT-21. Install documenation and script (gates)
HCAT-20. Create a package target (gates via hashutosh)
@@ -37,6 +37,8 @@ Release 0.1.0
OPTIMIZATIONS
BUG FIXES
+ HCAT-35. HCatalog fails to compile with Pig 0.9 (hashutosh)
+
HCAT-55. HCatalog distribution missing a few required jars (gates)
HCAT-45. HCatalog release tar ball source code has problems (gates)
Modified:
incubator/hcatalog/branches/branch-0.1/src/java/org/apache/hcatalog/pig/HCatStorer.java
URL:
http://svn.apache.org/viewvc/incubator/hcatalog/branches/branch-0.1/src/java/org/apache/hcatalog/pig/HCatStorer.java?rev=1143600&r1=1143599&r2=1143600&view=diff
==============================================================================
---
incubator/hcatalog/branches/branch-0.1/src/java/org/apache/hcatalog/pig/HCatStorer.java
(original)
+++
incubator/hcatalog/branches/branch-0.1/src/java/org/apache/hcatalog/pig/HCatStorer.java
Wed Jul 6 22:52:23 2011
@@ -54,7 +54,6 @@ import org.apache.pig.data.DataBag;
import org.apache.pig.data.DataType;
import org.apache.pig.data.Tuple;
import org.apache.pig.impl.logicalLayer.FrontendException;
-import org.apache.pig.impl.logicalLayer.parser.ParseException;
import org.apache.pig.impl.logicalLayer.schema.Schema;
import org.apache.pig.impl.logicalLayer.schema.Schema.FieldSchema;
import org.apache.pig.impl.util.ObjectSerializer;
@@ -79,7 +78,7 @@ public class HCatStorer extends StoreFun
private static final String PIG_SCHEMA = "howl.pig.store.schema";
private String sign;
- public HCatStorer(String partSpecs, String schema) throws ParseException,
FrontendException {
+ public HCatStorer(String partSpecs, String schema) throws Exception {
partitions = new HashMap<String, String>();
if(partSpecs != null && !partSpecs.trim().isEmpty()){
@@ -100,11 +99,11 @@ public class HCatStorer extends StoreFun
}
- public HCatStorer(String partSpecs) throws ParseException, FrontendException
{
+ public HCatStorer(String partSpecs) throws Exception {
this(partSpecs, null);
}
- public HCatStorer() throws FrontendException, ParseException{
+ public HCatStorer() throws Exception {
this(null,null);
}