|
Set Cruz
2011-11-12, 18:21
John W Vines
2011-11-12, 19:00
Jesse Yates
2011-11-12, 19:36
Set Cruz
2011-11-13, 17:36
John W Vines
2011-11-14, 16:12
Eric Newton
2011-11-14, 19:35
Jesse Yates
2011-11-14, 22:16
John W Vines
2011-11-14, 22:20
|
-
(ACCUMULO-75) Modify Security Randomwalk and test with concurrencySet Cruz 2011-11-12, 18:21
>Keith Turner commented on ACCUMULO-75:
>-------------------------------------- >Below is where you can find the scripts and XML files needed to run it. > http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk/ >The source code is at the following link. > http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/ >If you have more questions, we would be happy to answer them on the mailing list. Thank you. I read the "test" issues on JIRA. Some refer to mock frameworks. I was wondering if randomwalk was also such a test framework. I haven't read the code in the links above yet. If randomwalk is indeed a test framework, is there a link where I can read more about it? I haven't done a web search on randomwalk yet. --Set
-
Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrencyJohn W Vines 2011-11-12, 19:00
----- Original Message ----- | From: "Set Cruz" <[EMAIL PROTECTED]> | To: [EMAIL PROTECTED] | Sent: Saturday, November 12, 2011 1:21:33 PM | Subject: (ACCUMULO-75) Modify Security Randomwalk and test with concurrency | >Keith Turner commented on ACCUMULO-75: | | >-------------------------------------- | | | | >Below is where you can find the scripts and XML files needed to run | >it. | | | | > | http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk/ | | | | >The source code is at the following link. | | | | > | http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/ | | | >If you have more questions, we would be happy to answer them on the | mailing list. | | Thank you. | | I read the "test" issues on JIRA. Some refer to mock frameworks. I was | wondering if randomwalk was also such a test framework. I haven't read | the | code in the links above yet. If randomwalk is indeed a test framework, | is | there a link where I can read more about it? I haven't done a web | search | on randomwalk yet. | | --Set Randomwalk is one of our test frameworks. I don't know if it's a common testing framework in general, but we have a 'from scratch' implementation we use, which can be found in the test package under the server module. We don't really have documentation for it, but I like to think it's really simple. It just reads the XML file and loads appropriate nodes which are implemented for the tests, and then randomly selects a weighted edge to transition to a different node. Hope that helps. John
-
Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrencyJesse Yates 2011-11-12, 19:36
I would consider the randomwalk (and other tests in that suite) just an acceptance test suite. I think it is awesome that we have it as it is great for _really_ making sure the system is solid.
However, frameworks are more about providing a platform which is then built on by others to enable functionality (kinda like a library). Frameworks provide a way to think about problems and then some tools to enable you to solve them. So a mocking framework gives you a way to think about solving the problem of effectively unit testing and gives you mocks to help enable to solve the problem of unit testing. Just a nitpick, but the terminology can be important especially when things (like the testing) are in flux. - Jesse Yates Sent from my iPhone. On Nov 12, 2011, at 11:00 AM, John W Vines <[EMAIL PROTECTED]> wrote: > > > ----- Original Message ----- > | From: "Set Cruz" <[EMAIL PROTECTED]> > | To: [EMAIL PROTECTED] > | Sent: Saturday, November 12, 2011 1:21:33 PM > | Subject: (ACCUMULO-75) Modify Security Randomwalk and test with concurrency > | >Keith Turner commented on ACCUMULO-75: > | > | >-------------------------------------- > | > | > | > | >Below is where you can find the scripts and XML files needed to run > | >it. > | > | > | > | > > | http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk/ > | > | > | > | >The source code is at the following link. > | > | > | > | > > | http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/java/org/apache/accumulo/server/test/randomwalk/ > | > | > | >If you have more questions, we would be happy to answer them on the > | mailing list. > | > | Thank you. > | > | I read the "test" issues on JIRA. Some refer to mock frameworks. I was > | wondering if randomwalk was also such a test framework. I haven't read > | the > | code in the links above yet. If randomwalk is indeed a test framework, > | is > | there a link where I can read more about it? I haven't done a web > | search > | on randomwalk yet. > | > | --Set > > Randomwalk is one of our test frameworks. I don't know if it's a common testing framework in general, but we have a 'from scratch' implementation we use, which can be found in the test package under the server module. We don't really have documentation for it, but I like to think it's really simple. It just reads the XML file and loads appropriate nodes which are implemented for the tests, and then randomly selects a weighted edge to transition to a different node. > > Hope that helps. > John
-
RE: (ACCUMULO-75) Modify Security Randomwalk and test with concurrencySet Cruz 2011-11-13, 17:36
-----Original Message-----
From: Jesse Yates [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 12, 2011 2:36 PM To: [EMAIL PROTECTED] Subject: Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrency I would consider the randomwalk (and other tests in that suite) just an acceptance test suite. I think it is awesome that we have it as it is great for _really_ making sure the system is solid. However, frameworks are more about providing a platform which is then built on by others to enable functionality (kinda like a library). Frameworks provide a way to think about problems and then some tools to enable you to solve them. So a mocking framework gives you a way to think about solving the problem of effectively unit testing and gives you mocks to help enable to solve the problem of unit testing. Just a nitpick, but the terminology can be important especially when things (like the testing) are in flux. - Jesse Yates Sent from my iPhone. On Nov 12, 2011, at 11:00 AM, John W Vines <[EMAIL PROTECTED]> wrote: > > > ----- Original Message ----- > | From: "Set Cruz" <[EMAIL PROTECTED]> > | To: [EMAIL PROTECTED] > | Sent: Saturday, November 12, 2011 1:21:33 PM > | Subject: (ACCUMULO-75) Modify Security Randomwalk and test with concurrency > | >Keith Turner commented on ACCUMULO-75: > | > | >-------------------------------------- > | > | > | > | >Below is where you can find the scripts and XML files needed to run > | >it. > | > | > | > | > > | http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk / > | > | > | > | >The source code is at the following link. > | > | > | > | > > | http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/ja va/org/apache/accumulo/server/test/randomwalk/ > | > | > | >If you have more questions, we would be happy to answer them on the > | mailing list. > | > | Thank you. > | > | I read the "test" issues on JIRA. Some refer to mock frameworks. I was > | wondering if randomwalk was also such a test framework. I haven't read > | the > | code in the links above yet. If randomwalk is indeed a test framework, > | is > | there a link where I can read more about it? I haven't done a web > | search > | on randomwalk yet. > | > | --Set > > Randomwalk is one of our test frameworks. I don't know if it's a common testing framework in general, but we have a 'from scratch' implementation we use, which can be found in the test package under the server module. We don't really have documentation for it, but I like to think it's really simple. It just reads the XML file and loads appropriate nodes which are implemented for the tests, and then randomly selects a weighted edge to transition to a different node. > > Hope that helps. > John I'm working from the README file under test/system/randomwalk but I'm running into an issue, see below, please: training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ sudo apt-get remove pssh Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: pssh 0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded. After this operation, 201kB disk space will be freed. Do you want to continue [Y/n]? n Abort. training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ ./bin/start-all.sh Image.xml ./bin/start-all.sh: line 21: /home/training/accumulo-dev/trunk/test/system/randomwalk/bin/../../../../con f/accumulo-env.sh: No such file or directory copying randomwalk config to HDFS Deleted hdfs://localhost/randomwalk Replication 3 set: hdfs://localhost/randomwalk/config.tgz starting walkers ./bin/start-all.sh: line 44: pssh: command not found training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$
-
Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrencyJohn W Vines 2011-11-14, 16:12
----- Original Message ----- | From: "Set Cruz" <[EMAIL PROTECTED]> | To: [EMAIL PROTECTED] | Sent: Sunday, November 13, 2011 12:36:17 PM | Subject: RE: (ACCUMULO-75) Modify Security Randomwalk and test with concurrency | -----Original Message----- | From: Jesse Yates [mailto:[EMAIL PROTECTED]] | Sent: Saturday, November 12, 2011 2:36 PM | To: [EMAIL PROTECTED] | Subject: Re: (ACCUMULO-75) Modify Security Randomwalk and test with | concurrency | | I would consider the randomwalk (and other tests in that suite) just | an | acceptance test suite. I think it is awesome that we have it as it is | great | for _really_ making sure the system is solid. | | However, frameworks are more about providing a platform which is then | built | on by others to enable functionality (kinda like a library). | Frameworks | provide a way to think about problems and then some tools to enable | you to | solve them. So a mocking framework gives you a way to think about | solving | the problem of effectively unit testing and gives you mocks to help | enable | to solve the problem of unit testing. | | Just a nitpick, but the terminology can be important especially when | things | (like the testing) are in flux. | | - Jesse Yates | | Sent from my iPhone. | | On Nov 12, 2011, at 11:00 AM, John W Vines <[EMAIL PROTECTED]> | wrote: | | > | > | > ----- Original Message ----- | > | From: "Set Cruz" <[EMAIL PROTECTED]> | > | To: [EMAIL PROTECTED] | > | Sent: Saturday, November 12, 2011 1:21:33 PM | > | Subject: (ACCUMULO-75) Modify Security Randomwalk and test with | concurrency | > | >Keith Turner commented on ACCUMULO-75: | > | | > | >-------------------------------------- | > | | > | | > | | > | >Below is where you can find the scripts and XML files needed to | > | >run | > | >it. | > | | > | | > | | > | > | > | | http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk | / | > | | > | | > | | > | >The source code is at the following link. | > | | > | | > | | > | > | > | | http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/ja | va/org/apache/accumulo/server/test/randomwalk/ | > | | > | | > | >If you have more questions, we would be happy to answer them on | > | >the | > | mailing list. | > | | > | Thank you. | > | | > | I read the "test" issues on JIRA. Some refer to mock frameworks. I | > | was | > | wondering if randomwalk was also such a test framework. I haven't | > | read | > | the | > | code in the links above yet. If randomwalk is indeed a test | > | framework, | > | is | > | there a link where I can read more about it? I haven't done a web | > | search | > | on randomwalk yet. | > | | > | --Set | > | > Randomwalk is one of our test frameworks. I don't know if it's a | > common | testing framework in general, but we have a 'from scratch' | implementation we | use, which can be found in the test package under the server module. | We | don't really have documentation for it, but I like to think it's | really | simple. It just reads the XML file and loads appropriate nodes which | are | implemented for the tests, and then randomly selects a weighted edge | to | transition to a different node. | > | > Hope that helps. | > John | | I'm working from the README file under test/system/randomwalk but I'm | running into an issue, see below, please: | | training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ sudo | apt-get | remove pssh | Reading package lists... Done | Building dependency tree | Reading state information... Done | The following packages will be REMOVED: | pssh | 0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded. | After this operation, 201kB disk space will be freed. | Do you want to continue [Y/n]? n | Abort. | training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ | ./bin/start-all.sh Image.xml | ./bin/start-all.sh: line 21: | /home/training/accumulo-dev/trunk/test/system/randomwalk/bin/../../../../con | f/accumulo-env.sh: No such file or directory | copying randomwalk config to HDFS | Deleted hdfs://localhost/randomwalk | Replication 3 set: hdfs://localhost/randomwalk/config.tgz | starting walkers | ./bin/start-all.sh: line 44: pssh: command not found | training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ Is pssh on your path or aliased? You should be able to do a straight pssh from your shell. If not, then that's the problem at hand, since the script expects it on your PATH or to have it aliased properly. John
-
Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrencyEric Newton 2011-11-14, 19:35
Pssh is called parallel-ssh on ubuntu. You can fix it by using the
following script as "pssh" early in your path. I put mine in $HOME/bin #! /bin/sh exec parallel-ssh "$@" -Eric On Mon, Nov 14, 2011 at 11:12 AM, John W Vines <[EMAIL PROTECTED]>wrote: > > > ----- Original Message ----- > | From: "Set Cruz" <[EMAIL PROTECTED]> > | To: [EMAIL PROTECTED] > | Sent: Sunday, November 13, 2011 12:36:17 PM > | Subject: RE: (ACCUMULO-75) Modify Security Randomwalk and test with > concurrency > | -----Original Message----- > | From: Jesse Yates [mailto:[EMAIL PROTECTED]] > | Sent: Saturday, November 12, 2011 2:36 PM > | To: [EMAIL PROTECTED] > | Subject: Re: (ACCUMULO-75) Modify Security Randomwalk and test with > | concurrency > | > | I would consider the randomwalk (and other tests in that suite) just > | an > | acceptance test suite. I think it is awesome that we have it as it is > | great > | for _really_ making sure the system is solid. > | > | However, frameworks are more about providing a platform which is then > | built > | on by others to enable functionality (kinda like a library). > | Frameworks > | provide a way to think about problems and then some tools to enable > | you to > | solve them. So a mocking framework gives you a way to think about > | solving > | the problem of effectively unit testing and gives you mocks to help > | enable > | to solve the problem of unit testing. > | > | Just a nitpick, but the terminology can be important especially when > | things > | (like the testing) are in flux. > | > | - Jesse Yates > | > | Sent from my iPhone. > | > | On Nov 12, 2011, at 11:00 AM, John W Vines <[EMAIL PROTECTED]> > | wrote: > | > | > > | > > | > ----- Original Message ----- > | > | From: "Set Cruz" <[EMAIL PROTECTED]> > | > | To: [EMAIL PROTECTED] > | > | Sent: Saturday, November 12, 2011 1:21:33 PM > | > | Subject: (ACCUMULO-75) Modify Security Randomwalk and test with > | concurrency > | > | >Keith Turner commented on ACCUMULO-75: > | > | > | > | >-------------------------------------- > | > | > | > | > | > | > | > | >Below is where you can find the scripts and XML files needed to > | > | >run > | > | >it. > | > | > | > | > | > | > | > | > > | > | > | > http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk > | / > | > | > | > | > | > | > | > | >The source code is at the following link. > | > | > | > | > | > | > | > | > > | > | > | > http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/ja > | va/org/apache/accumulo/server/test/randomwalk/ > | > | > | > | > | > | >If you have more questions, we would be happy to answer them on > | > | >the > | > | mailing list. > | > | > | > | Thank you. > | > | > | > | I read the "test" issues on JIRA. Some refer to mock frameworks. I > | > | was > | > | wondering if randomwalk was also such a test framework. I haven't > | > | read > | > | the > | > | code in the links above yet. If randomwalk is indeed a test > | > | framework, > | > | is > | > | there a link where I can read more about it? I haven't done a web > | > | search > | > | on randomwalk yet. > | > | > | > | --Set > | > > | > Randomwalk is one of our test frameworks. I don't know if it's a > | > common > | testing framework in general, but we have a 'from scratch' > | implementation we > | use, which can be found in the test package under the server module. > | We > | don't really have documentation for it, but I like to think it's > | really > | simple. It just reads the XML file and loads appropriate nodes which > | are > | implemented for the tests, and then randomly selects a weighted edge > | to > | transition to a different node. > | > > | > Hope that helps. > | > John > | > | I'm working from the README file under test/system/randomwalk but I'm > | running into an issue, see below, please: > | > | training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ sudo > | apt-get > | remove pssh > | Reading package lists... Done
-
Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrencyJesse Yates 2011-11-14, 22:16
Do we want to change the script to accommodate for the platforms?
At least this should go in the documentation (not having looked at them to see if it is already there :) - Jesse Yates Sent from my iPhone. On Nov 14, 2011, at 11:35 AM, Eric Newton <[EMAIL PROTECTED]> wrote: > Pssh is called parallel-ssh on ubuntu. You can fix it by using the > following script as "pssh" early in your path. I put mine in $HOME/bin > > #! /bin/sh > exec parallel-ssh "$@" > > -Eric > > On Mon, Nov 14, 2011 at 11:12 AM, John W Vines <[EMAIL PROTECTED]>wrote: > >> >> >> ----- Original Message ----- >> | From: "Set Cruz" <[EMAIL PROTECTED]> >> | To: [EMAIL PROTECTED] >> | Sent: Sunday, November 13, 2011 12:36:17 PM >> | Subject: RE: (ACCUMULO-75) Modify Security Randomwalk and test with >> concurrency >> | -----Original Message----- >> | From: Jesse Yates [mailto:[EMAIL PROTECTED]] >> | Sent: Saturday, November 12, 2011 2:36 PM >> | To: [EMAIL PROTECTED] >> | Subject: Re: (ACCUMULO-75) Modify Security Randomwalk and test with >> | concurrency >> | >> | I would consider the randomwalk (and other tests in that suite) just >> | an >> | acceptance test suite. I think it is awesome that we have it as it is >> | great >> | for _really_ making sure the system is solid. >> | >> | However, frameworks are more about providing a platform which is then >> | built >> | on by others to enable functionality (kinda like a library). >> | Frameworks >> | provide a way to think about problems and then some tools to enable >> | you to >> | solve them. So a mocking framework gives you a way to think about >> | solving >> | the problem of effectively unit testing and gives you mocks to help >> | enable >> | to solve the problem of unit testing. >> | >> | Just a nitpick, but the terminology can be important especially when >> | things >> | (like the testing) are in flux. >> | >> | - Jesse Yates >> | >> | Sent from my iPhone. >> | >> | On Nov 12, 2011, at 11:00 AM, John W Vines <[EMAIL PROTECTED]> >> | wrote: >> | >> | > >> | > >> | > ----- Original Message ----- >> | > | From: "Set Cruz" <[EMAIL PROTECTED]> >> | > | To: [EMAIL PROTECTED] >> | > | Sent: Saturday, November 12, 2011 1:21:33 PM >> | > | Subject: (ACCUMULO-75) Modify Security Randomwalk and test with >> | concurrency >> | > | >Keith Turner commented on ACCUMULO-75: >> | > | >> | > | >-------------------------------------- >> | > | >> | > | >> | > | >> | > | >Below is where you can find the scripts and XML files needed to >> | > | >run >> | > | >it. >> | > | >> | > | >> | > | >> | > | > >> | > | >> | >> http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk >> | / >> | > | >> | > | >> | > | >> | > | >The source code is at the following link. >> | > | >> | > | >> | > | >> | > | > >> | > | >> | >> http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/ja >> | va/org/apache/accumulo/server/test/randomwalk/ >> | > | >> | > | >> | > | >If you have more questions, we would be happy to answer them on >> | > | >the >> | > | mailing list. >> | > | >> | > | Thank you. >> | > | >> | > | I read the "test" issues on JIRA. Some refer to mock frameworks. I >> | > | was >> | > | wondering if randomwalk was also such a test framework. I haven't >> | > | read >> | > | the >> | > | code in the links above yet. If randomwalk is indeed a test >> | > | framework, >> | > | is >> | > | there a link where I can read more about it? I haven't done a web >> | > | search >> | > | on randomwalk yet. >> | > | >> | > | --Set >> | > >> | > Randomwalk is one of our test frameworks. I don't know if it's a >> | > common >> | testing framework in general, but we have a 'from scratch' >> | implementation we >> | use, which can be found in the test package under the server module. >> | We >> | don't really have documentation for it, but I like to think it's >> | really >> | simple. It just reads the XML file and loads appropriate nodes which
-
Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrencyJohn W Vines 2011-11-14, 22:20
----- Original Message -----
| From: "Jesse Yates" <[EMAIL PROTECTED]> | To: [EMAIL PROTECTED] | Sent: Monday, November 14, 2011 5:16:04 PM | Subject: Re: (ACCUMULO-75) Modify Security Randomwalk and test with concurrency | Do we want to change the script to accommodate for the platforms? | | At least this should go in the documentation (not having looked at | them to see if it is already there :) | | - Jesse Yates | | Sent from my iPhone. | | On Nov 14, 2011, at 11:35 AM, Eric Newton <[EMAIL PROTECTED]> | wrote: | | > Pssh is called parallel-ssh on ubuntu. You can fix it by using the | > following script as "pssh" early in your path. I put mine in | > $HOME/bin | > | > #! /bin/sh | > exec parallel-ssh "$@" | > | > -Eric | > | > On Mon, Nov 14, 2011 at 11:12 AM, John W Vines | > <[EMAIL PROTECTED]>wrote: | > | >> | >> | >> ----- Original Message ----- | >> | From: "Set Cruz" <[EMAIL PROTECTED]> | >> | To: [EMAIL PROTECTED] | >> | Sent: Sunday, November 13, 2011 12:36:17 PM | >> | Subject: RE: (ACCUMULO-75) Modify Security Randomwalk and test | >> | with | >> concurrency | >> | -----Original Message----- | >> | From: Jesse Yates [mailto:[EMAIL PROTECTED]] | >> | Sent: Saturday, November 12, 2011 2:36 PM | >> | To: [EMAIL PROTECTED] | >> | Subject: Re: (ACCUMULO-75) Modify Security Randomwalk and test | >> | with | >> | concurrency | >> | | >> | I would consider the randomwalk (and other tests in that suite) | >> | just | >> | an | >> | acceptance test suite. I think it is awesome that we have it as | >> | it is | >> | great | >> | for _really_ making sure the system is solid. | >> | | >> | However, frameworks are more about providing a platform which is | >> | then | >> | built | >> | on by others to enable functionality (kinda like a library). | >> | Frameworks | >> | provide a way to think about problems and then some tools to | >> | enable | >> | you to | >> | solve them. So a mocking framework gives you a way to think about | >> | solving | >> | the problem of effectively unit testing and gives you mocks to | >> | help | >> | enable | >> | to solve the problem of unit testing. | >> | | >> | Just a nitpick, but the terminology can be important especially | >> | when | >> | things | >> | (like the testing) are in flux. | >> | | >> | - Jesse Yates | >> | | >> | Sent from my iPhone. | >> | | >> | On Nov 12, 2011, at 11:00 AM, John W Vines | >> | <[EMAIL PROTECTED]> | >> | wrote: | >> | | >> | > | >> | > | >> | > ----- Original Message ----- | >> | > | From: "Set Cruz" <[EMAIL PROTECTED]> | >> | > | To: [EMAIL PROTECTED] | >> | > | Sent: Saturday, November 12, 2011 1:21:33 PM | >> | > | Subject: (ACCUMULO-75) Modify Security Randomwalk and test | >> | > | with | >> | concurrency | >> | > | >Keith Turner commented on ACCUMULO-75: | >> | > | | >> | > | >-------------------------------------- | >> | > | | >> | > | | >> | > | | >> | > | >Below is where you can find the scripts and XML files needed | >> | > | >to | >> | > | >run | >> | > | >it. | >> | > | | >> | > | | >> | > | | >> | > | > | >> | > | | >> | | >> http://svn.apache.org/viewvc/incubator/accumulo/trunk/test/system/randomwalk | >> | / | >> | > | | >> | > | | >> | > | | >> | > | >The source code is at the following link. | >> | > | | >> | > | | >> | > | | >> | > | > | >> | > | | >> | | >> http://svn.apache.org/viewvc/incubator/accumulo/trunk/src/server/src/main/ja | >> | va/org/apache/accumulo/server/test/randomwalk/ | >> | > | | >> | > | | >> | > | >If you have more questions, we would be happy to answer them | >> | > | >on | >> | > | >the | >> | > | mailing list. | >> | > | | >> | > | Thank you. | >> | > | | >> | > | I read the "test" issues on JIRA. Some refer to mock | >> | > | frameworks. I | >> | > | was | >> | > | wondering if randomwalk was also such a test framework. I | >> | > | haven't | >> | > | read | >> | > | the | >> | > | code in the links above yet. If randomwalk is indeed a test | >> | > | framework, | >> | > | is | >> | > | there a link where I can read more about it? I haven't done a | >> | > | web | >> | > | search | >> | > | on randomwalk yet. | >> | > | | >> | > | --Set | >> | > | >> | > Randomwalk is one of our test frameworks. I don't know if it's | >> | > a | >> | > common | >> | testing framework in general, but we have a 'from scratch' | >> | implementation we | >> | use, which can be found in the test package under the server | >> | module. | >> | We | >> | don't really have documentation for it, but I like to think it's | >> | really | >> | simple. It just reads the XML file and loads appropriate nodes | >> | which | >> | are | >> | implemented for the tests, and then randomly selects a weighted | >> | edge | >> | to | >> | transition to a different node. | >> | > | >> | > Hope that helps. | >> | > John | >> | | >> | I'm working from the README file under test/system/randomwalk but | >> | I'm | >> | running into an issue, see below, please: | >> | | >> | training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ sudo | >> | apt-get | >> | remove pssh | >> | Reading package lists... Done | >> | Building dependency tree | >> | Reading state information... Done | >> | The following packages will be REMOVED: | >> | pssh | >> | 0 upgraded, 0 newly installed, 1 to remove and 6 not upgraded. | >> | After this operation, 201kB disk space will be freed. | >> | Do you want to continue [Y/n]? n | >> | Abort. | >> | training@ubuntu:~/accumulo-dev/trunk/test/system/randomwalk$ | >> | ./bin/start-all.sh Image.xml | >> | ./bin/start-all.sh: line 21: | >> | | >> /home/training/accumulo-dev/trunk/test/system/randomwalk/bin/../../../../con | >> | f/accumulo-env.sh: No such file or directory | >> | copying randomwalk config to HDFS | >> | Deleted hdfs://localhost/randomwalk | >> | Replication 3 set: hdfs://localhost/randomwalk/config.tgz | >> | starting walkers | >> | ./bin/start-all.sh: line 44: pssh: command not found | >> |