分享 Scala匹配模式---Case 类匹配
bob007 2015-5-9 22:35
让我们来尝试一次深度匹配,在我们的模式匹配中检查对象的内容。 //code-examples/Rounding/match-deep-script.scala case class Person(name: String, age:Int) val alice = new Person("Alice",25) val bob = new Person("Bob",32) val charlie = newPerson("Charlie", 32 ...
841 次阅读|0 个评论
分享 kafka-storm spout拉取数据问题offset out of range(todo)
bob007 2015-5-8 14:54
问题1kafka-spout在拉取数据的时候,offset超出了范围 日志: Got fetch request with offset out of range: ; retrying with default start offset time from configuration. configured start offset time: offset: Got fetch request with offset out of range: ; retrying with default start offs ...
13148 次阅读|0 个评论
分享 WARNING! File system needs to be upgraded
bob007 2015-5-6 14:30
WARNING! File system needs to be upgraded. You have version null and I want version 7. Run the '${HBASE_HOME}/bin/hbase migrate' script. 不用担心,其实你只是缺少个正常的hbase.version文件! 机房整体停电,集群所有节点都挂掉了。这种情况很少见,但是在管理不善的实验室也会时有发生。所以要沉着应对 ...
695 次阅读|0 个评论
12
关闭

推荐上一条 /2 下一条