Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FLUME-598: Update RPC to send CLOSING state information from LogicalN…

…ode Driver (autogen Thrift code)
  • Loading branch information...
commit e630befd376c4b9423f18a41c61550df95ba4aa8 1 parent 341711a
@jmhsieh jmhsieh authored
View
8 src/gen-java/com/cloudera/flume/conf/thrift/FlumeMasterAdminServer.java
@@ -1495,6 +1495,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
@@ -2088,6 +2090,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
@@ -2681,6 +2685,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
@@ -4362,6 +4368,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
View
5 src/gen-java/com/cloudera/flume/conf/thrift/FlumeNodeState.java
@@ -17,7 +17,8 @@
ACTIVE(3),
ERROR(4),
LOST(5),
- DECOMMISSIONED(6);
+ DECOMMISSIONED(6),
+ CLOSING(7);
private final int value;
@@ -52,6 +53,8 @@ public static FlumeNodeState findByValue(int value) {
return LOST;
case 6:
return DECOMMISSIONED;
+ case 7:
+ return CLOSING;
default:
return null;
}
View
4 src/gen-java/com/cloudera/flume/conf/thrift/ThriftFlumeClientServer.java
@@ -1783,6 +1783,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
@@ -4736,6 +4738,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
View
4 src/gen-java/com/cloudera/flume/handlers/scribe/FacebookService.java
@@ -4510,6 +4510,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
@@ -7324,6 +7326,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bit_vector = new BitSet(1);
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
Please sign in to comment.
Something went wrong with that request. Please try again.