Is the creation of the partitioner to get the class name meant for validation, or as a cheap way to get the "add org.apache.cassandra.dht." logic? If it's the former, that's fine. If it's the latter, I'd argue it's not necessary.