flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arv...@apache.org
Subject svn commit: r1302309 - in /incubator/flume/branches/branch-1.1.0: flume-ng-dist/ flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ flume-ng-legacy-sources/flume-thrift-source/src/main/java/org/apache/flume/so...
Date Mon, 19 Mar 2012 07:42:17 GMT
Author: arvind
Date: Mon Mar 19 07:42:16 2012
New Revision: 1302309

URL: http://svn.apache.org/viewvc?rev=1302309&view=rev
Log:
FLUME-1031. Depricate generated code not in org.apache namespace.

(Prasad Mujumdar via Arvind Prabhakar)

Modified:
    incubator/flume/branches/branch-1.1.0/flume-ng-dist/pom.xml
    incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
    incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
    incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/org/apache/flume/source/thriftLegacy/ThriftLegacySource.java

Modified: incubator/flume/branches/branch-1.1.0/flume-ng-dist/pom.xml
URL: http://svn.apache.org/viewvc/incubator/flume/branches/branch-1.1.0/flume-ng-dist/pom.xml?rev=1302309&r1=1302308&r2=1302309&view=diff
==============================================================================
--- incubator/flume/branches/branch-1.1.0/flume-ng-dist/pom.xml (original)
+++ incubator/flume/branches/branch-1.1.0/flume-ng-dist/pom.xml Mon Mar 19 07:42:16 2012
@@ -87,6 +87,14 @@
       <groupId>org.apache.flume.flume-ng-sinks</groupId>
       <artifactId>flume-irc-sink</artifactId>
     </dependency>
+    <dependency>
+      <groupId>org.apache.flume.flume-ng-legacy-sources</groupId>
+      <artifactId>flume-thrift-source</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.flume.flume-ng-legacy-sources</groupId>
+      <artifactId>flume-avro-source</artifactId>
+    </dependency>
   </dependencies>
 
 </project>

Modified: incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
URL: http://svn.apache.org/viewvc/incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java?rev=1302309&r1=1302308&r2=1302309&view=diff
==============================================================================
--- incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
(original)
+++ incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEvent.java
Mon Mar 19 07:42:16 2012
@@ -40,6 +40,7 @@ import java.util.Arrays;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated
 public class ThriftFlumeEvent implements org.apache.thrift.TBase<ThriftFlumeEvent, ThriftFlumeEvent._Fields>,
java.io.Serializable, Cloneable {
   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ThriftFlumeEvent");
 

Modified: incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
URL: http://svn.apache.org/viewvc/incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java?rev=1302309&r1=1302308&r2=1302309&view=diff
==============================================================================
--- incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
(original)
+++ incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/com/cloudera/flume/handlers/thrift/ThriftFlumeEventServer.java
Mon Mar 19 07:42:16 2012
@@ -40,6 +40,7 @@ import java.util.Arrays;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+@Deprecated
 public class ThriftFlumeEventServer {
 
   public interface Iface {

Modified: incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/org/apache/flume/source/thriftLegacy/ThriftLegacySource.java
URL: http://svn.apache.org/viewvc/incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/org/apache/flume/source/thriftLegacy/ThriftLegacySource.java?rev=1302309&r1=1302308&r2=1302309&view=diff
==============================================================================
--- incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/org/apache/flume/source/thriftLegacy/ThriftLegacySource.java
(original)
+++ incubator/flume/branches/branch-1.1.0/flume-ng-legacy-sources/flume-thrift-source/src/main/java/org/apache/flume/source/thriftLegacy/ThriftLegacySource.java
Mon Mar 19 07:42:16 2012
@@ -64,6 +64,7 @@ public class ThriftLegacySource  extends
   private TServerTransport serverTransport;
   private Thread thriftHandlerThread;
 
+  @SuppressWarnings("deprecation")
   private class ThriftFlumeEventServerImpl
         implements ThriftFlumeEventServer.Iface {
     
@@ -124,6 +125,7 @@ public class ThriftLegacySource  extends
     counterGroup = new CounterGroup();
   }
 
+  @SuppressWarnings("deprecation")
   @Override
   public void start() {
     try {



Mime
View raw message