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
package org.roofmonkey.hadoop.glusterfs; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.OutputStreamWriter; | |
import java.io.Writer; | |
import java.util.HashSet; | |
import java.util.Set; | |
import java.util.StringTokenizer; |
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
package org.roofmonkey.hadoop.glusterfs; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.OutputStreamWriter; | |
import java.io.Writer; | |
import java.util.HashSet; | |
import java.util.Set; | |
import java.util.StringTokenizer; |
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
node default { | |
include jenkins | |
include wget | |
include openjdk | |
include archiva | |
jenkins::plugin {'swarm':} | |
jenkins::plugin {'git':} | |
include firewall |
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
testrel test.sh | |
[root@jvyas test_archiva]# ./test.sh 1.0 | |
--2013-08-05 12:38:49-- http://23.23.239.119/archiva/repository/internal/org/apache/hadoop/fs/glusterfs/glusterfs-hadoop/1.0/glusterfs-hadoop-1.0.jar | |
Connecting to 23.23.239.119:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 21733 (21K) [application/java-archive] | |
Saving to: “glusterfs-hadoop-1.0.jar” | |
100%[==============================================================================================================================================>] 21,733 --.-K/s in 0.03s |
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
/* | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* <p/> | |
* http://www.apache.org/licenses/LICENSE-2.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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one or more | |
contributor license agreements. See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
The ASF licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.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
There was an error while executing `VBoxManage`, a CLI used by Vagrant | |
for controlling VirtualBox. The command and stderr is shown below. | |
Command: ["import", "/Users/Jpeerindex/.vagrant.d/boxes/vagrant-fedora19B/virtualbox/box.ovf"] | |
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% | |
Interpreting /Users/Jpeerindex/.vagrant.d/boxes/vagrant-fedora19B/virtualbox/box.ovf... | |
OK. | |
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%... | |
Progress state: VBOX_E_FILE_ERROR |
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
/** | |
* An input split that generates (firstname lastname product) tuples. | |
* These simulate transactions at a pet store by clients. | |
* First iteration of the BigPetStore blueprint project. | |
*/ | |
public static class TransactionGeneratorInputFormat extends | |
FileInputFormat<Text,Text> { | |
static final Integer TRANSACTIONS = 100; | |
static String[] FIRSTNAMES = new String[]{ |
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
jays-MacBook-Pro:gluster-hbase-example Jpeerindex$ vagrant up | |
Bringing machine 'hbase1' up with 'virtualbox' provider... | |
Bringing machine 'hbase2' up with 'virtualbox' provider... | |
[hbase1] Importing base box 'vagrant-fedora19B2'... | |
[hbase1] Matching MAC address for NAT networking... | |
[hbase1] Setting the name of the VM... | |
[hbase1] Clearing any previously set forwarded ports... | |
[hbase1] Creating shared folders metadata... | |
[hbase1] Clearing any previously set network interfaces... | |
[hbase1] Preparing network interfaces based on configuration... |
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
hsql=`find $SQOOP_HOME/lib -name hsql*jar` | |
echo "hsql : $hsql" | |
rm -rf /tmp/sqsmoke | |
# Create db permissions | |
echo " | |
# A personal, local, persistent database. | |
urlid smoketest | |
url jdbc:hsqldb:file:/tmp/sqsmoke;shutdown=true |