You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by Sean Busbey <se...@manvsbeard.com> on 2013/11/14 17:48:34 UTC

Review Request 15518: ACCUMULO-1878 handle error conditions in example tests.

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

Review request for accumulo.


Bugs: ACCUMULO-1878
    https://issues.apache.org/jira/browse/ACCUMULO-1878


Repository: accumulo


Description
-------

ACCUMULO-1878 handle error conditions in example tests.

* ensure simple examples used in integration tests properly set non-zero exit on errors
* check return code of executed commands.
* fix typo in bloom filter speed comparison
* fix error in arg order on helloworld examples
* Makes sure paired examples for RandomBatch use the same seed.


Diffs
-----

  src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java 7801104bf5b8095066630512a0b44bc8af2a85bf 
  src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java 3206fa6bbb5e560175e9aec6a1e612185e4ca945 
  test/system/auto/simple/examples.py 5fc9b4bdee7f24beba0d85f414600afffa8d0b08 

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


Testing
-------

unit tests pass. functional test simple.examples.Examples passes, presuming the fixes for ACCUMULO-1891 and ACCUMULO-1892 are in place.

I was get rare on-VM flakiness on the bloom filter /no bloom speed comparison.

I was getting loud failure on the non-isolated scanner interference example, but it mysteriously stopped happening. I presume it was VM related. I have stack traces still, so I could file a follow on ticket if there's interest.


Thanks,

Sean Busbey


Re: Review Request 15518: ACCUMULO-1878 handle error conditions in example tests.

Posted by Christopher Tubbs <ct...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15518/#review29005
-----------------------------------------------------------

Ship it!


Ship It!

- Christopher Tubbs


On Nov. 15, 2013, 1:42 p.m., Sean Busbey wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15518/
> -----------------------------------------------------------
> 
> (Updated Nov. 15, 2013, 1:42 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1878
>     https://issues.apache.org/jira/browse/ACCUMULO-1878
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> ACCUMULO-1878 handle error conditions in example tests.
> 
> * ensure simple examples used in integration tests properly set non-zero exit on errors
> * check return code of executed commands.
> * fix typo in bloom filter speed comparison
> * fix error in arg order on helloworld examples
> * Makes sure paired examples for RandomBatch use the same seed.
> 
> 
> Diffs
> -----
> 
>   src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java 7801104bf5b8095066630512a0b44bc8af2a85bf 
>   test/system/auto/simple/examples.py 5fc9b4bdee7f24beba0d85f414600afffa8d0b08 
> 
> Diff: https://reviews.apache.org/r/15518/diff/
> 
> 
> Testing
> -------
> 
> unit tests pass. functional test simple.examples.Examples passes, presuming the fixes for ACCUMULO-1891 and ACCUMULO-1892 are in place.
> 
> I get rare on-VM flakiness on the bloom filter /no bloom speed comparison.
> 
> I was getting loud failure on the non-isolated scanner interference example, but it mysteriously stopped happening. I presume it was VM related. I have stack traces still, so I could file a follow on ticket if there's interest.
> 
> 
> Thanks,
> 
> Sean Busbey
> 
>


Re: Review Request 15518: ACCUMULO-1878 handle error conditions in example tests.

Posted by Sean Busbey <se...@manvsbeard.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15518/
-----------------------------------------------------------

(Updated Nov. 15, 2013, 6:42 p.m.)


Review request for accumulo.


Changes
-------

Updated per feedback from Bill and changes in ACCUMULO-1892


Bugs: ACCUMULO-1878
    https://issues.apache.org/jira/browse/ACCUMULO-1878


Repository: accumulo


Description
-------

ACCUMULO-1878 handle error conditions in example tests.

* ensure simple examples used in integration tests properly set non-zero exit on errors
* check return code of executed commands.
* fix typo in bloom filter speed comparison
* fix error in arg order on helloworld examples
* Makes sure paired examples for RandomBatch use the same seed.


Diffs (updated)
-----

  src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java 7801104bf5b8095066630512a0b44bc8af2a85bf 
  test/system/auto/simple/examples.py 5fc9b4bdee7f24beba0d85f414600afffa8d0b08 

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


Testing
-------

unit tests pass. functional test simple.examples.Examples passes, presuming the fixes for ACCUMULO-1891 and ACCUMULO-1892 are in place.

I get rare on-VM flakiness on the bloom filter /no bloom speed comparison.

I was getting loud failure on the non-isolated scanner interference example, but it mysteriously stopped happening. I presume it was VM related. I have stack traces still, so I could file a follow on ticket if there's interest.


Thanks,

Sean Busbey


Re: Review Request 15518: ACCUMULO-1878 handle error conditions in example tests.

Posted by Sean Busbey <se...@manvsbeard.com>.

> On Nov. 14, 2013, 9:55 p.m., Bill Havanki wrote:
> > src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java, line 242
> > <https://reviews.apache.org/r/15518/diff/1/?file=384505#file384505line242>
> >
> >     If the "cold" run above fails, then this hot run won't be attempted (Boolean short-circuit). This is a difference from the old behavior, but as far as I can tell it's a beneficial one. If that's right, no issue here. Just want to bring it up.

yeah, I figured not worth it.


- Sean


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


On Nov. 14, 2013, 4:52 p.m., Sean Busbey wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15518/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2013, 4:52 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1878
>     https://issues.apache.org/jira/browse/ACCUMULO-1878
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> ACCUMULO-1878 handle error conditions in example tests.
> 
> * ensure simple examples used in integration tests properly set non-zero exit on errors
> * check return code of executed commands.
> * fix typo in bloom filter speed comparison
> * fix error in arg order on helloworld examples
> * Makes sure paired examples for RandomBatch use the same seed.
> 
> 
> Diffs
> -----
> 
>   src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java 7801104bf5b8095066630512a0b44bc8af2a85bf 
>   src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java 3206fa6bbb5e560175e9aec6a1e612185e4ca945 
>   test/system/auto/simple/examples.py 5fc9b4bdee7f24beba0d85f414600afffa8d0b08 
> 
> Diff: https://reviews.apache.org/r/15518/diff/
> 
> 
> Testing
> -------
> 
> unit tests pass. functional test simple.examples.Examples passes, presuming the fixes for ACCUMULO-1891 and ACCUMULO-1892 are in place.
> 
> I get rare on-VM flakiness on the bloom filter /no bloom speed comparison.
> 
> I was getting loud failure on the non-isolated scanner interference example, but it mysteriously stopped happening. I presume it was VM related. I have stack traces still, so I could file a follow on ticket if there's interest.
> 
> 
> Thanks,
> 
> Sean Busbey
> 
>


Re: Review Request 15518: ACCUMULO-1878 handle error conditions in example tests.

Posted by Bill Havanki <bh...@clouderagovt.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15518/#review28907
-----------------------------------------------------------



src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java
<https://reviews.apache.org/r/15518/#comment55973>

    Suggest renaming this method to something like `allRowsFound`, since it has a purpose now beyond merely printing stuff.



src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java
<https://reviews.apache.org/r/15518/#comment55975>

    If the "cold" run above fails, then this hot run won't be attempted (Boolean short-circuit). This is a difference from the old behavior, but as far as I can tell it's a beneficial one. If that's right, no issue here. Just want to bring it up.


- Bill Havanki


On Nov. 14, 2013, 11:52 a.m., Sean Busbey wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15518/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2013, 11:52 a.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-1878
>     https://issues.apache.org/jira/browse/ACCUMULO-1878
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> ACCUMULO-1878 handle error conditions in example tests.
> 
> * ensure simple examples used in integration tests properly set non-zero exit on errors
> * check return code of executed commands.
> * fix typo in bloom filter speed comparison
> * fix error in arg order on helloworld examples
> * Makes sure paired examples for RandomBatch use the same seed.
> 
> 
> Diffs
> -----
> 
>   src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java 7801104bf5b8095066630512a0b44bc8af2a85bf 
>   src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java 3206fa6bbb5e560175e9aec6a1e612185e4ca945 
>   test/system/auto/simple/examples.py 5fc9b4bdee7f24beba0d85f414600afffa8d0b08 
> 
> Diff: https://reviews.apache.org/r/15518/diff/
> 
> 
> Testing
> -------
> 
> unit tests pass. functional test simple.examples.Examples passes, presuming the fixes for ACCUMULO-1891 and ACCUMULO-1892 are in place.
> 
> I get rare on-VM flakiness on the bloom filter /no bloom speed comparison.
> 
> I was getting loud failure on the non-isolated scanner interference example, but it mysteriously stopped happening. I presume it was VM related. I have stack traces still, so I could file a follow on ticket if there's interest.
> 
> 
> Thanks,
> 
> Sean Busbey
> 
>


Re: Review Request 15518: ACCUMULO-1878 handle error conditions in example tests.

Posted by Sean Busbey <se...@manvsbeard.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15518/
-----------------------------------------------------------

(Updated Nov. 14, 2013, 4:52 p.m.)


Review request for accumulo.


Bugs: ACCUMULO-1878
    https://issues.apache.org/jira/browse/ACCUMULO-1878


Repository: accumulo


Description
-------

ACCUMULO-1878 handle error conditions in example tests.

* ensure simple examples used in integration tests properly set non-zero exit on errors
* check return code of executed commands.
* fix typo in bloom filter speed comparison
* fix error in arg order on helloworld examples
* Makes sure paired examples for RandomBatch use the same seed.


Diffs
-----

  src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchScanner.java 7801104bf5b8095066630512a0b44bc8af2a85bf 
  src/examples/simple/src/main/java/org/apache/accumulo/examples/simple/client/RandomBatchWriter.java 3206fa6bbb5e560175e9aec6a1e612185e4ca945 
  test/system/auto/simple/examples.py 5fc9b4bdee7f24beba0d85f414600afffa8d0b08 

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


Testing (updated)
-------

unit tests pass. functional test simple.examples.Examples passes, presuming the fixes for ACCUMULO-1891 and ACCUMULO-1892 are in place.

I get rare on-VM flakiness on the bloom filter /no bloom speed comparison.

I was getting loud failure on the non-isolated scanner interference example, but it mysteriously stopped happening. I presume it was VM related. I have stack traces still, so I could file a follow on ticket if there's interest.


Thanks,

Sean Busbey