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 | |
| . /etc/init.d/functions | |
| PIDFILE=/var/run/tsd.pid | |
| LOCKFILE=/var/lock/subsys/tsd | |
| TSD_CONF=/usr/local/etc/tsd.conf | |
| TSDB_BIN=/usr/local/bin/tsdb | |
| TSD_LOGDIR=/var/tmp/tsd | |
| export TSDB_HOME=/usr/local/share/opentsdb |
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
| # usage: ./create_table.rb tsdb 255 | |
| include Java | |
| import org.apache.hadoop.hbase.HBaseConfiguration | |
| import org.apache.hadoop.hbase.HTableDescriptor | |
| import org.apache.hadoop.hbase.client.HBaseAdmin | |
| import org.apache.hadoop.hbase.HColumnDescriptor | |
| conf = HBaseConfiguration.create | |
| conf.set("zookeeper.znode.parent", "/hbase-unsecure"); |
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
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <!-- this works from within the examples folder --> | |
| <link href="../src/nv.d3.css" rel="stylesheet" type="text/css"> | |
| <style> | |
| body { |
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/bash | |
| # Copyright (c) 2010, 2011 Benoit Sigoure. All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # - Redistributions of source code must retain the above copyright notice, | |
| # this list of conditions and the following disclaimer. | |
| # - Redistributions in binary form must reproduce the above copyright notice, | |
| # this list of conditions and the following disclaimer in the documentation | |
| # and/or other materials provided with the distribution. |
NewerOlder