You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by Hari Shreedharan <hs...@cloudera.com> on 2013/02/23 07:10:13 UTC

Review Request: FLUME-1925. HDFS timeouts should not starve other threads

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9568/
-----------------------------------------------------------

Review request for Flume.


Description
-------

Only wrap the real HDFS calls in timeout callables.


This addresses bug FLUME-1925.
    https://issues.apache.org/jira/browse/FLUME-1925


Diffs
-----

  flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java 0786857 
  flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java e980d13 
  flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java ebe277c 

Diff: https://reviews.apache.org/r/9568/diff/


Testing
-------

All current tests pass.


Thanks,

Hari Shreedharan


Re: Review Request: FLUME-1925. HDFS timeouts should not starve other threads

Posted by Hari Shreedharan <hs...@cloudera.com>.

> On Feb. 27, 2013, 12:40 a.m., Mike Percy wrote:
> > Hi Hari, have you tested this against Kerberos? I think it should probably work but you know how finicky it is. Also, please rebase against trunk, this patch is not applying (possibly due to pushing FLUME-1922).

I verified that the updated patch works against secure HDFS.


- Hari


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9568/#review17122
-----------------------------------------------------------


On Feb. 27, 2013, 3:55 a.m., Hari Shreedharan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9568/
> -----------------------------------------------------------
> 
> (Updated Feb. 27, 2013, 3:55 a.m.)
> 
> 
> Review request for Flume.
> 
> 
> Description
> -------
> 
> Only wrap the real HDFS calls in timeout callables.
> 
> 
> This addresses bug FLUME-1925.
>     https://issues.apache.org/jira/browse/FLUME-1925
> 
> 
> Diffs
> -----
> 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java 0786857 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java 76e3d1f 
>   flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java ebe277c 
> 
> Diff: https://reviews.apache.org/r/9568/diff/
> 
> 
> Testing
> -------
> 
> All current tests pass.
> 
> 
> Thanks,
> 
> Hari Shreedharan
> 
>


Re: Review Request: FLUME-1925. HDFS timeouts should not starve other threads

Posted by Mike Percy <mp...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9568/#review17122
-----------------------------------------------------------


Hi Hari, have you tested this against Kerberos? I think it should probably work but you know how finicky it is. Also, please rebase against trunk, this patch is not applying (possibly due to pushing FLUME-1922).

- Mike Percy


On Feb. 23, 2013, 6:10 a.m., Hari Shreedharan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9568/
> -----------------------------------------------------------
> 
> (Updated Feb. 23, 2013, 6:10 a.m.)
> 
> 
> Review request for Flume.
> 
> 
> Description
> -------
> 
> Only wrap the real HDFS calls in timeout callables.
> 
> 
> This addresses bug FLUME-1925.
>     https://issues.apache.org/jira/browse/FLUME-1925
> 
> 
> Diffs
> -----
> 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java 0786857 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java e980d13 
>   flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java ebe277c 
> 
> Diff: https://reviews.apache.org/r/9568/diff/
> 
> 
> Testing
> -------
> 
> All current tests pass.
> 
> 
> Thanks,
> 
> Hari Shreedharan
> 
>


Re: Review Request: FLUME-1925. HDFS timeouts should not starve other threads

Posted by Mike Percy <mp...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9568/#review17211
-----------------------------------------------------------

Ship it!


+1

- Mike Percy


On Feb. 27, 2013, 3:55 a.m., Hari Shreedharan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9568/
> -----------------------------------------------------------
> 
> (Updated Feb. 27, 2013, 3:55 a.m.)
> 
> 
> Review request for Flume.
> 
> 
> Description
> -------
> 
> Only wrap the real HDFS calls in timeout callables.
> 
> 
> This addresses bug FLUME-1925.
>     https://issues.apache.org/jira/browse/FLUME-1925
> 
> 
> Diffs
> -----
> 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java 0786857 
>   flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java 76e3d1f 
>   flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java ebe277c 
> 
> Diff: https://reviews.apache.org/r/9568/diff/
> 
> 
> Testing
> -------
> 
> All current tests pass.
> 
> 
> Thanks,
> 
> Hari Shreedharan
> 
>


Re: Review Request: FLUME-1925. HDFS timeouts should not starve other threads

Posted by Hari Shreedharan <hs...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9568/
-----------------------------------------------------------

(Updated Feb. 27, 2013, 3:55 a.m.)


Review request for Flume.


Changes
-------

Rebased. Will update the jira once I test against Kerberos.


Description
-------

Only wrap the real HDFS calls in timeout callables.


This addresses bug FLUME-1925.
    https://issues.apache.org/jira/browse/FLUME-1925


Diffs (updated)
-----

  flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/BucketWriter.java 0786857 
  flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java 76e3d1f 
  flume-ng-sinks/flume-hdfs-sink/src/test/java/org/apache/flume/sink/hdfs/TestBucketWriter.java ebe277c 

Diff: https://reviews.apache.org/r/9568/diff/


Testing
-------

All current tests pass.


Thanks,

Hari Shreedharan