accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [4/6] git commit: ACCUMULO-1783 Remove compiler warnings and add in joda-time.
Date Fri, 18 Oct 2013 23:52:05 GMT
ACCUMULO-1783 Remove compiler warnings and add in joda-time.

Pig 0.12.0 needs the joda-time dependency to run.


Project: http://git-wip-us.apache.org/repos/asf/accumulo-pig/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo-pig/commit/e1af2f3c
Tree: http://git-wip-us.apache.org/repos/asf/accumulo-pig/tree/e1af2f3c
Diff: http://git-wip-us.apache.org/repos/asf/accumulo-pig/diff/e1af2f3c

Branch: refs/heads/1.4
Commit: e1af2f3cae1c4980b70d5f00385d1585cf958678
Parents: 3ff7ba1
Author: Josh Elser <elserj@apache.org>
Authored: Thu Oct 17 15:52:18 2013 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Thu Oct 17 15:52:18 2013 -0400

----------------------------------------------------------------------
 pom.xml                                                     | 9 +++++++--
 .../org/apache/accumulo/pig/AbstractAccumuloStorage.java    | 4 ++++
 2 files changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo-pig/blob/e1af2f3c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 14c16eb..249dcce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,4 @@
-<!--
+  <!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
@@ -18,7 +18,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.accumulo</groupId>
   <artifactId>accumulo-pig</artifactId>
-  <version>1.4.0-SNAPSHOT</version>
+  <version>1.4.4-SNAPSHOT</version>
   
   <dependencies>
     <dependency>
@@ -41,6 +41,11 @@
       <artifactId>accumulo-core</artifactId>
       <version>1.4.4</version>
     </dependency>
+    <dependency>
+      <groupId>joda-time</groupId>
+      <artifactId>joda-time</artifactId>
+      <version>1.6</version>
+    </dependency>
   </dependencies>
   
 </project>

http://git-wip-us.apache.org/repos/asf/accumulo-pig/blob/e1af2f3c/src/main/java/org/apache/accumulo/pig/AbstractAccumuloStorage.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/accumulo/pig/AbstractAccumuloStorage.java b/src/main/java/org/apache/accumulo/pig/AbstractAccumuloStorage.java
index 8577f62..d26cf40 100644
--- a/src/main/java/org/apache/accumulo/pig/AbstractAccumuloStorage.java
+++ b/src/main/java/org/apache/accumulo/pig/AbstractAccumuloStorage.java
@@ -101,11 +101,13 @@ public abstract class AbstractAccumuloStorage extends LoadFunc implements
StoreF
   protected abstract Tuple getTuple(Key key, Value value) throws IOException;
   
   @Override
+  @SuppressWarnings("rawtypes")
   public InputFormat getInputFormat() {
     return new AccumuloInputFormat();
   }
   
   @Override
+  @SuppressWarnings({"unchecked", "rawtypes"})
   public void prepareToRead(RecordReader reader, PigSplit split) {
     this.reader = reader;
   }
@@ -237,6 +239,7 @@ public abstract class AbstractAccumuloStorage extends LoadFunc implements
StoreF
     }
   }
   
+  @SuppressWarnings("rawtypes")
   public OutputFormat getOutputFormat() {
     return new AccumuloOutputFormat();
   }
@@ -245,6 +248,7 @@ public abstract class AbstractAccumuloStorage extends LoadFunc implements
StoreF
     // we don't care about types, they all get casted to ByteBuffers
   }
   
+  @SuppressWarnings({"rawtypes", "unchecked"})
   public void prepareToWrite(RecordWriter writer) {
     this.writer = writer;
   }


Mime
View raw message