Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Kit Plummer kitplummer

🏠
Working from home
View GitHub Profile
View gist:cabe70a6fc4ffdcc4118
Connected to cluster: Test Cluster
Datatacenter: datacenter1; Host: localhost/127.0.0.1; Rack: rack1
CQL ==> SELECT * FROM "u5hc49xbx6p4ho7q7xd4_6dfylf20cx0c1fbfosew_hooks";
0:0:0:0:0:0:0:1 - - [04/Feb/2015:04:35:52 +0000] "POST /spi/context HTTP/1.1" 200 - "-" "Faraday v0.9.1" 541
WARN [2015-02-04 04:35:53,064] org.eclipse.jetty.servlet.ServletHandler: /spi/context
! java.lang.NullPointerException: null
! at java.util.Arrays$ArrayList.<init>(Arrays.java:2842) ~[na:1.7.0_55]
! at java.util.Arrays.asList(Arrays.java:2828) ~[na:1.7.0_55]
! at com.datastax.driver.core.VersionNumber.getPreReleaseLabels(VersionNumber.java:149) ~[cassandra-driver-core-2.1.2.jar:na]
View gist:1b8c3de89a99d23e0d30
➜ harry_packer git:(master) ✗ packer build -only=null harry_build.json
null output will be in this color.
==> null: Waiting for SSH to become available...
==> null: Connected to SSH!
==> null: Provisioning with shell script: scripts/puppet.sh
null: sleep: invalid time interval ‘30,’
null: Try 'sleep --help' for more information.
null: --2015-02-09 17:25:36-- http://apt.puppetlabs.com/puppetlabs-release-raring.deb
null: Resolving apt.puppetlabs.com (apt.puppetlabs.com)... 198.58.114.168, 2600:3c00::f03c:91ff:fe69:6bf0
View gist:b574edab3ac3f3c4ba57
[hadoop@ip-172-31-6-109 ~]$ /usr/local/geowave/ingest/geowave-ingest.sh -localingest -u geowave -p #### -n geowave -i instance -b ./ingest -z localhost:2181
Apr 10, 2015 4:55:10 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 10, 2015 4:55:10 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 10, 2015 4:55:10 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 10, 2015 4:55:10 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 10, 2015 4:55:11 PM org.geotools.factory.FactoryRegistry scanForPlugins
View gist:54b3c0d58dd82dd74f78
[hadoop@ip-172-31-6-109 ~]$ /usr/local/geowave/ingest/geowave-ingest.sh -localingest -u geowave -p geowave -n geowave.50m_admin_0_countries -i instance -b ./SP27GTIF.TIFF -z ip-172-31-6-109.ec2.internal:2181 -t geotools-raster
Apr 13, 2015 3:15:29 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 13, 2015 3:15:29 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 13, 2015 3:15:29 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 13, 2015 3:15:29 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup 'GeoServerResourceLoader', but ApplicationContext is unset.
Apr 13, 2015 3:15:29 PM org.geotools.gce.imagemosaic.Utils loadMosaicProperties
View gist:6478ad038ee46f992b9c
[hadoop@ip-172-31-6-148 helloaccumulo]$ java -jar target/helloaccumulo-standalone.jar -i instance -n geowave.test -u geowave -p geowave -z ip-172-31-6-148.ec2.internal
Attempting to get zookeeper instance
1 [main] DEBUG org.apache.accumulo.fate.zookeeper.ZooSession - Connecting to ip-172-31-6-148.ec2.internal with timeout 30000 with auth
16 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.3.6-1366786, built on 07/29/2012 06:22 GMT
16 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:host.name=ip-172-31-6-148.ec2.internal
16 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.7.0_71
16 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Oracle Corporation
16 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.home=/usr/java/jdk1.7.0_71/jre
16 [main] INFO org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=target/helloaccumulo-standalone.jar
16 [main] INFO org.apache.zookee
@kitplummer
kitplummer / configure.sh
Created Apr 30, 2015
OSSIM cmake configure.sh
View configure.sh
#!/bin/bash
cmake "$@" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_ARCHITECTURES="x86_64" \
-DCMAKE_LIBRARY_PATH=$OSSIM_DEPENDENCIES/lib \
-DCMAKE_INCLUDE_PATH=$OSSIM_DEPENDENCIES/include \
-DCMAKE_FRAMEWORK_PATH=$OSSIM_DEPENDENCIES/Frameworks \
-DCMAKE_INSTALL_PREFIX=$OSSIM_INSTALL_PREFIX \
-DCMAKE_PREFIX_PATH=$OSSIM_DEPENDENCIES \
-DBUILD_OSSIMPREDATOR=ON\
@kitplummer
kitplummer / ossim_preferences
Created Apr 30, 2015
OSSIM ossim_preferences
View ossim_preferences
elevation_manager.elevation_source1.connection_string: $(OSSIM_DATA)/elevation/srtm/1arc
elevation_manager.elevation_source1.enabled: true
elevation_manager.elevation_source1.type: srtm_directory
elevation_manager.elevation_source1.min_open_cells: 25
elevation_manager.elevation_source1.max_open_cells: 50
elevation_manager.elevation_source1.memory_map_cells: false
elevation_manager.elevation_source1.geoid.type: geoid1996
elevation_manager.elevation_source2.connection_string: $(OSSIM_DATA)/elevation/dted/level1
elevation_manager.elevation_source2.enabled: false
@kitplummer
kitplummer / build_ossim.txt
Last active Aug 29, 2015
Building OSSIM on OSX
View build_ossim.txt
Append to .bashrc or .zshrc
# OSSIM environment vars
export OSSIM_VERSION=1.8.19
export OSSIM_DATA=/data
# Wherever you checked out the code to:
export OSSIM_DEV_HOME=${HOME}/ossim_trunk
export OSSIM_DEPENDENCIES=$OSSIM_DEV_HOME/ossim_dependencies
View gist:18080
[4233374] controller.ChartController SubView Data: {"viewset":[{"series":[{"type":"dataset","data":[{"label":"org-summary:id","value":5},{"label":"annual","value":7.10930577782E9},{"label":"gross-ob","value":5.59038009095E9},{"label":"org-summary:id","value":8},{"label":"annual","value":3.76166824959E9},{"label":"gross-ob","value":2.91999211187E9},{"label":"org-summary:id","value":7},{"label":"annual","value":5.48849089717E9},{"label":"gross-ob","value":3.88675621221E9},{"label":"org-summary:id","value":12},{"label":"annual","value":2.91910676044E9},{"label":"gross-ob","value":2.10178094007E9},{"label":"org-summary:id","value":13},{"label":"annual","value":3.2083779E8},{"label":"gross-ob","value":1.9029132419E8},{"label":"org-summary:id","value":9},{"label":"annual","value":2.80368134152E9},{"label":"gross-ob","value":2.11618796923E9},{"label":"org-summary:id","value":6},{"label":"annual","value":3.48806074877E9},{"label":"gross-ob","value":2.97415625776E9},{"label":"org-summary:id","value":4},{"label":"annua
View gist:18081
[4233374] controller.ChartController SubView Data: {"viewset":[{"series":[{"type":"dataset","data":[{"label":"org-summary:id","value":5},{"label":"annual","value":7.10930577782E9},{"label":"gross-ob","value":5.59038009095E9},{"label":"org-summary:id","value":8},{"label":"annual","value":3.76166824959E9},{"label":"gross-ob","value":2.91999211187E9},{"label":"org-summary:id","value":7},{"label":"annual","value":5.48849089717E9},{"label":"gross-ob","value":3.88675621221E9},{"label":"org-summary:id","value":12},{"label":"annual","value":2.91910676044E9},{"label":"gross-ob","value":2.10178094007E9},{"label":"org-summary:id","value":13},{"label":"annual","value":3.2083779E8},{"label":"gross-ob","value":1.9029132419E8},{"label":"org-summary:id","value":9},{"label":"annual","value":2.80368134152E9},{"label":"gross-ob","value":2.11618796923E9},{"label":"org-summary:id","value":6},{"label":"annual","value":3.48806074877E9},{"label":"gross-ob","value":2.97415625776E9},{"label":"org-summary:id","value":4},{"label":"annua