This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SuperSliceSelector( | |
| rows: List[Array[Byte]], | |
| slice: Slice) extends SuperReadable with Deletable { | |
| def toRead(cf: String) = | |
| new Read(rows, cf, slice = Some(slice)) | |
| def toDelete(cf: String, clock: Clock) = | |
| new Delete(rows, cf, slice = Some(slice), clock = clock) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Code, | |
| object EnterTheDragon { | |
| def main(args: Array[String]) { | |
| val conf = Map( | |
| "seedHost" -> "127.0.0.1", | |
| "seedPort" -> 9160, | |
| "maxIdle" -> 10, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java.lang.ExceptionInInitializerError | |
| at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34) | |
| at scala.collection.mutable.ArrayOps.foreach(ArrayOps.scala:34) | |
| at scala.actors.Actor$class.receive(Actor.scala:524) | |
| at scala.actors.Reactor$class.seq(Reactor.scala:280) | |
| at scala.actors.Reactor$$anon$3.andThen(Reactor.scala:258) | |
| at scala.actors.Combinators$class.loop(Combinators.scala:26) | |
| at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222) | |
| at scala.actors.Reactor$$anonfun$dostart$1.apply(Reactor.scala:222) | |
| at scala.actors.ReactorTask.run(ReactorTask.scala:36) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val conf = Map("connectionPool" -> "scromium.connection.CommonsConnectionPool", | |
| "host" -> "127.0.0.1", | |
| "port" -> 9160, | |
| "maxIdle" -> 10, | |
| "initCapacity" -> 10, | |
| "clientProvider" -> "scromium.thrift.ThriftClientProvider") | |
| val cassandra = Cassandra.start(conf) | |
| java.lang.reflect.InvocationTargetException |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val conf = Map("connectionPool" -> "scromium.thrift.ThriftClientPool", | |
| "host" -> "127.0.0.1", | |
| "port" -> 9160, | |
| "maxIdle" -> 10, | |
| "initCapacity" -> 10, | |
| "clientProvider" -> "scromium.thrift.ThriftClientProvider") | |
| java.lang.ClassNotFoundException: scromium.thrift.ThriftClientPool | |
| at java.net.URLClassLoader$1.run(URLClassLoader.java:202) | |
| at java.security.AccessController.doPrivileged(Native Method) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 5 [run-main] INFO scromium.Cassandra$ - config file cassandra.json does not exist | |
| java.lang.ClassNotFoundException: CommonsConnectionPool | |
| at java.net.URLClassLoader$1.run(URLClassLoader.java:202) | |
| at java.security.AccessController.doPrivileged(Native Method) | |
| at java.net.URLClassLoader.findClass(URLClassLoader.java:190) | |
| at java.lang.ClassLoader.loadClass(ClassLoader.java:307) | |
| at java.lang.ClassLoader.loadClass(ClassLoader.java:248) | |
| at java.lang.Class.forName0(Native Method) | |
| at java.lang.Class.forName(Class.java:247) | |
| at scromium.reflect.Reflect$.string2Class(Reflect.scala:13) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Copyright 2009 T Jake Luciani | |
| * | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file | |
| * to you under the Apache License, Version 2.0 (the | |
| * "License"); you may not use this file except in compliance | |
| * with the License. You may obtain a copy of the License at |
NewerOlder