[
https://issues.apache.org/jira/browse/CASSANDRA-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762274#action_12762274
]
Sandeep Tata commented on CASSANDRA-385:
----------------------------------------
I get a build error. Perhaps a missing patch file in the set?
build-project:
[echo] apache-cassandra-incubating: /home/stata/cassandra/build.xml
[javac] Compiling 246 source files to /home/stata/cassandra/build/classes
[javac]
/home/stata/cassandra/src/java/org/apache/cassandra/service/StorageService.java:1177:
cannot find symbol
[javac] symbol : method undecorateKey(java.lang.String)
[javac] location: interface org.apache.cassandra.dht.IPartitioner
[javac] String key =
partitioner_.undecorateKey(decoratedKeys.get(index));
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
> intellibootstrap
> ----------------
>
> Key: CASSANDRA-385
> URL: https://issues.apache.org/jira/browse/CASSANDRA-385
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Fix For: 0.5
>
> Attachments: 0001-CASSANDRA-385-clean-up-loadinfo-and-SLB.txt,
> 0001-CASSANDRA-385-clean-up-loadinfo-and-SLB.txt,
> 0002-make-LoadInfo-a-double-instead-of-going-from-long-s.txt,
> 0002-make-LoadInfo-a-double-instead-of-going-from-long-s.txt,
> 0003-move-javadoc-into-mbean.-inline-methods-where-wrappin.txt,
> 0003-move-javadoc-into-mbean.-inline-methods-where-wrappin.txt,
> 0004-use-Strings-instead-of-Endpoints-in-jmx-methods.-merge.txt,
> 0004-use-Strings-instead-of-Endpoints-in-jmx-methods.-merge.txt,
> 0005-add-getLoadMap-jmx-method-add-load-info-to-nodeprobe.txt,
> 0005-add-getLoadMap-jmx-method-add-load-info-to-nodeprobe.txt,
> 0006-get-token-on-bootstrap-that-gives-us-half-of-the-keys.txt,
> 0006-get-token-on-bootstrap-that-gives-us-half-of-the-keys.txt
>
>
> ideally bootstrap mode should determine its new position on the ring by
> examining the Load of the existing nodes in the cluster. (currently Load is
> just disk space used but making this pluggable is another ticket.) having
> found the highest-load-node-that-is-not-participating-in-bootstrap, it should
> ask that node for a Token which would move half the keys over to the new node.
> This is easily computed since we have a periodic sampling of keys in memory
> of all the keys on disk, and even SSTable.getIndexedKeys that merges all such
> keys. So pick the midpoint, and turn it into a token (these are decorated
> keys so that is always possible).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.