Fix for #755 (Concurrent QuorumActors can interfere leading to failure to progress).

Changes include:

- a single thread for all actor actions.

- a reliable interruptAll() implementation that will cancel all queued and any running actor action.

- a more defensive version of conditionalWithdrawVote() which retries from the top if getCastVote() value changes concurrently.


git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7460 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Added CC and PR implementations and a reducer to report the histogram over the #of vertices at each depth for BFS.  See #629 (Graph Processing API)

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7461 8f7bc0f5-282e-0410-95e3-8d296e9bb460
added override tags

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7462 8f7bc0f5-282e-0410-95e3-8d296e9bb460
javadoc

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7463 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Bug fix to SSSP. It was terminating early due to paying attention to the VS.isChanged field in SSSP.isChanged(). The VS.isChanged field is initialized to true for the initial frontier and reset in apply() unless there is a change.  If we pay attention to this field in SSSP.isChanged() then the algorithm will terminate early.

I have "fixed" SSSP to ignore this field such that it does the scatter stage for the first round rather than terminating early.  

I plan to replace the SSSP implementation completely with a push style Scatter of updates.  The semantics of isChanged can be properly fixed within the context of that optimized algorithm.

Removed unimplemented 2nd test for SSSP which depends on link weights.

Removed unimplemented PR test.

See #629 (Graph Processing API)

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7466 8f7bc0f5-282e-0410-95e3-8d296e9bb460
fixed the IndexOutOfBounds problem and a problem with the term advancer

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7469 8f7bc0f5-282e-0410-95e3-8d296e9bb460
fixed the IndexOutOfBounds problem and a problem with the term advancer

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7470 8f7bc0f5-282e-0410-95e3-8d296e9bb460
fixed ticket 761: Cardinality problem with ArbitraryLengthPathOp

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7483 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Resolution for #718 (ZK disconnect)

Merged back to the main development branch (revisions from r7464 to r7484 were merged back).

{{{
merge -r7464:HEAD https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/ZK_DISCONNECT_HANDLING /Users/bryan/Documents/workspace/BIGDATA_RELEASE_1_3_0_CLEAN

...

    C   /Users/bryan/Documents/workspace/BIGDATA_RELEASE_1_3_0_CLEAN/bigdata-jini/src/test/com/bigdata/zookeeper/TestAll.java
    C   /Users/bryan/Documents/workspace/BIGDATA_RELEASE_1_3_0_CLEAN/bigdata-jini/src/java/com/bigdata/zookeeper/ZooKeeperAccessor.java
    C   /Users/bryan/Documents/workspace/BIGDATA_RELEASE_1_3_0_CLEAN/bigdata-jini/src/java/com/bigdata/journal/jini/ha/HAClient.java
    C   /Users/bryan/Documents/workspace/BIGDATA_RELEASE_1_3_0_CLEAN/bigdata-jini/src/java/com/bigdata/journal/jini/ha/AbstractServer.java
    C   /Users/bryan/Documents/workspace/BIGDATA_RELEASE_1_3_0_CLEAN/bigdata/src/test/com/bigdata/quorum/MockQuorumFixture.java

...

    ===== File Statistics: =====
    Added: 4
    Updated: 41
    ==== Conflict Statistics: =====
    File conflicts: 5
}}}
The conflicts are all the files that I had locally modified when I created the ZK_DISCONNECT_HANDLING branch.  In each case, I accepted the changes from the ZK_DISCONNECT_HANDLING branch.

The HA CI test suite runs green locally (except for the 3 known failures related to #760).


git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7485 8f7bc0f5-282e-0410-95e3-8d296e9bb460
fixing some comments

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7486 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Checking HAClient reference for possible null value in terminate().  The field is final, but it can be null if there is a problem during the constructor call that winds up calling through to terminate().

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7487 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Handled possible NPE (queryId2 is not defined in the constructor and so it can be null in the finally clause).

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7488 8f7bc0f5-282e-0410-95e3-8d296e9bb460
changed "journal" to "HALog" in error messages for MAGIC and VERSION.

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7489 8f7bc0f5-282e-0410-95e3-8d296e9bb460
added the file name into the error messages.

javadoc update on class.

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7490 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Modified the main() routine for HALogReader to not halt if it encounters an HALog file that it can not read. It now reports the error and continues.

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7491 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Added sort for the top-level arguments as well to force lexical visitation order for HALog files.

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7492 8f7bc0f5-282e-0410-95e3-8d296e9bb460
Adding script for HALogReader utility.


git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7493 8f7bc0f5-282e-0410-95e3-8d296e9bb460
bug fix to script

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7494 8f7bc0f5-282e-0410-95e3-8d296e9bb460
formatting of code for NPE fix.

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7495 8f7bc0f5-282e-0410-95e3-8d296e9bb460
reduced WARN => INFO for RWStore allocator recycling in postHACommit()

git-svn-id: https://bigdata.svn.sourceforge.net/svnroot/bigdata/branches/BIGDATA_RELEASE_1_3_0@7496 8f7bc0f5-282e-0410-95e3-8d296e9bb460