- 14代(本丸)
- 仙禽一聲
- 田酒
- 獺祭23-39
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
| [2015-05-27 02:29:46,650] ERROR Unhandled exception resulting in internal server error response (io.confluent.rest.exceptions.GenericExceptionMapper) | |
| java.lang.NoSuchMethodError: scala.collection.JavaConversions.asScalaIterable(Ljava/util/Collection;)Lscala/collection/Iterable; | |
| at io.confluent.kafkarest.MetadataObserver.getTopic(MetadataObserver.java:91) | |
| at io.confluent.kafkarest.resources.TopicsResource.getTopic(TopicsResource.java:70) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) |
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
| ================================================================================ | |
| 2015-06-01 23:23:55 1310s elapsed | |
| ---- AMQP Publish(ack) --------------------------------------------------------- | |
| [--------------------------------------------------------------------------] 0% | |
| waiting: 0 / active: 10 / done:0 | |
| ---- Requests ------------------------------------------------------------------ | |
| > Global (OK=128344 KO=0 ) | |
| > publish(ack) (OK=128344 KO=0 ) | |
| ================================================================================ |
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
| [root@load11]/var/lib/rabbitmq# df -h | |
| Filesystem Size Used Avail Use% Mounted on | |
| /dev/mapper/vg_load11-lv_root 50G 3.8G 43G 8% / | |
| tmpfs 12G 0 12G 0% /dev/shm | |
| /dev/sda1 477M 49M 403M 11% /boot | |
| /dev/mapper/vg_load11-lv_home 73G 274M 69G 1% /home | |
| [root@load11]/var/lib/rabbitmq# hdparm -t /dev/mapper/vg_load11-lv_root | |
| /dev/mapper/vg_load11-lv_root: | |
| Timing buffered disk reads: 438 MB in 3.01 seconds = 145.32 MB/sec |
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
| bonnie++ -d / -s 10240 -r 5120 -u root | |
| bonnie++ -d / -s 20480 -r 10240 -u root |
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
| addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "0.4.0") | |
| xerial.sbt.Sonatype.sonatypeRootSettings | |
| closeとかCLIでできる | |
| sonatypeReleaseAll | |
| stagingのやつをいっきにやる | |
| addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") | |
| publish signed |
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
| http://ktdisk.hatenablog.com/entry/20130107/1357591175 |
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
| function docker-port-mappings() { | |
| local x="" | |
| for x in $(docker ps -q); docker port $x | |
| } | |
| function docker-kafka-iptables() { | |
| local hp="host port" | |
| local gp="guest port" | |
| for hp in 2181 9092; do | |
| for gp in $(docker-port-mappings |grep $hp | head -1 | sed -r "s/.*:(.*)/\1/g"); do |
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
| onTransition { | |
| case _ -> AdapterConsuming if ! nextStateData.isInstanceOf[ConsumingData] => | |
| throw new IllegalArgumentException(s"AdapterConsuming expects ConsumingData, but got ${nextStateData.getClass.getSimpleName}".red) | |
| } |