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
$ ./configure --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr/local --program-suffix=-4.6 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | |
$ --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=$HOME/usr --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --without-included-gettext --enable-threads=posix --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --wi |
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
ozawa@ozamba:~/workspace/fluentd$ rake | |
WARNING: no description specified | |
Successfully built RubyGem | |
Name: fluentd | |
Version: 0.10.3 | |
File: fluentd-0.10.3.gem | |
Generated: fluentd.gemspec | |
fluentd.gemspec is valid. | |
ozawa@ozamba:~/workspace/fluentd$ gem install pkg/fluentd-*.gem | |
ERROR: Error installing pkg/fluentd-0.10.3.gem: |
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
$ mvn package | |
Downloaded: http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.9.0/scala-compiler-2.9.0.jar (11531 KB at 300.8 KB/sec) | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 49.891s | |
[INFO] Finished at: Fri Oct 21 13:49:22 JST 2011 | |
[INFO] Final Memory: 3M/81M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal on project msgpack-scala_2.9.0: Could not resolve dependencies for project org.msgpack:msgpack-scala_2.9.0:jar:0.6.2-SNAPSHOT: Could not find artifact org.msgpack:msgpack:jar:0.6.2-SNAPSHOT in msgpack.org (http://msgpack.org/maven2/) -> [Help 1] |
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
module Fluent | |
class HbaseOutput < Fluent::BufferedOutput | |
Fluent::Plugin.register_output('hbase', self) | |
def initialize | |
super | |
require 'rubygems' | |
require 'stargate' |
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
# The number of milliseconds of each tick | |
#tickTime=2000 | |
tickTime=30000 | |
# The number of ticks that the initial | |
# synchronization phase can take | |
initLimit=10000 | |
# The number of ticks that can pass between | |
# sending a request and getting an acknowledgement | |
syncLimit=10000 | |
# the directory where the snapshot is stored. |
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
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for org.msgpack:scala-msgpack:jar:0.0.1-SNAPSHOT | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-report-plugin is missing. @ line 131, column 15 | |
[WARNING] | |
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
[WARNING] | |
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. | |
[WARNING] | |
[INFO] |
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
$ sbt update | |
Getting Scala 2.7.7 ... | |
:: retrieving :: org.scala-tools.sbt#boot-scala | |
confs: [default] | |
2 artifacts copied, 0 already retrieved (9911kB/37ms) | |
Getting org.scala-tools.sbt sbt_2.7.7 0.7.5.RC0 ... | |
:: retrieving :: org.scala-tools.sbt#boot-app | |
confs: [default] | |
16 artifacts copied, 0 already retrieved (4270kB/31ms) | |
[info] Recompiling plugin definition... |
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
$ scala -cp akka-actor-1.0.jar | |
Welcome to Scala version 2.8.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24). | |
Type in expressions to have them evaluated. | |
Type :help for more information. | |
scala> import akka.actor._ | |
import akka.actor._ | |
scala> class MyActor extends Actor { | |
| def receive = { |
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
#!/bin/sh | |
hadoop dfsadmin -safemode enter | |
/etc/init.d/hadoop-0.20-datanode stop | |
/etc/init.d/hadoop-0.20-secondarynamenode stop | |
/etc/init.d/hadoop-0.20-namenode restart | |
/etc/init.d/hadoop-0.20-secondarynamenode start | |
/etc/init.d/hadoop-0.20-jobtracker restart | |
/etc/init.d/hadoop-0.20-tasktracker restart |
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
#!/usr/bin/env python | |
# FIXME: write code |