Skip to content

Instantly share code, notes, and snippets.

View elliottneilclark's full-sized avatar

Elliott elliottneilclark

View GitHub Profile
test_add_update_destroy(ContentSourceControllerTest) [test/integration/content_source_controller_test.rb:14]:
Expected response to be a <:success>, but was <500>
<"content_source_url failed to generate from {:controller=>\"content_source\", :action=>\"show\", :id=>#<ContentSource id: nil, name: nil, url: nil, cache: nil, cache_dir: nil, parser: nil, created_at: nil, updated_at: nil, new_id: nil, quality_score: 10>}, expected: {:controller=>\"content_source\", :action=>\"show\"}, diff: {:id=>#<ContentSource id: nil, name: nil, url: nil, cache: nil, cache_dir: nil, parser: nil, created_at: nil, updated_at: nil, new_id: nil, quality_score: 10>}">
ruby-1.8.7-p302 > Iconv.iconv("UTF-8//IGNORE", "UTF-16", d)
Iconv::InvalidCharacter: "\n"
from (irb):39:in `iconv'
from (irb):39
@elliottneilclark
elliottneilclark / gist:635349
Created October 19, 2010 23:01
Hadoop JUnit MiniTest
org.apache.hadoop.security.AccessControlException: ugi = null
at org.apache.hadoop.hdfs.server.namenode.PermissionChecker.<init>(PermissionChecker.java:50)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkSuperuserPrivilege(FSNamesystem.java:4494)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getStats(FSNamesystem.java:3418)
at org.apache.hadoop.hdfs.server.namenode.NameNode.getStats(NameNode.java:577)
at org.apache.hadoop.hdfs.MiniDFSCluster.isClusterUp(MiniDFSCluster.java:757)
at org.apache.hadoop.hdfs.MiniDFSCluster.waitClusterUp(MiniDFSCluster.java:293)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:281)
at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:123)
at org.apache.hadoop.mapred.ClusterMapReduceTestCase.startCluster(ClusterMapReduceTestCase.java:81)
info: Retrieving plugin
debug: Using cached certificate for ca, good until Mon Jan 25 00:50:06 UTC 2016
debug: Using cached certificate for ip-10-114-135-132.ec2.internal, good until Mon Jan 25 01:39:08 UTC 2016
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': undefined method `closed?' for nil:NilClass
debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: undefined method `closed?' for nil:NilClass Could not retrieve file metadata for puppet://puppetmaster/plugins: undefined method `closed?' for nil:NilClass
debug: Finishing transaction 69976977396360 with 0 changes
debug: Executing '/etc/puppet/etckeeper-commit-pre'
debug: catalog supports formats: b64_zlib_yaml marshal pson raw yaml; using pson
err: Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass
2011-02-11 02:08:16,018 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181
2011-02-11 02:08:16,018 WARN org.apache.zookeeper.ClientCnxn: Session 0x12e123798580001 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:9000/hbase</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>ip-10-114-147-85.ec2.internal</value>
<description>Comma separated list of servers in the ZooKeeper Quorum.
For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
[root@ip-10-202-233-192 logs]# hbase hbck
11/03/09 16:44:26 INFO zookeeper.ZooKeeperWrapper: Reconnecting to zookeeper
11/03/09 16:44:26 INFO zookeeper.ZooKeeper: Client environment:zookeeper.version=3.3.1-942149, built on 05/07/2010 17:14 GMT
11/03/09 16:44:26 INFO zookeeper.ZooKeeper: Client environment:host.name=ip-10-202-233-192.ec2.internal
11/03/09 16:44:26 INFO zookeeper.ZooKeeper: Client environment:java.version=1.6.0_20
11/03/09 16:44:26 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Sun Microsystems Inc.
11/03/09 16:44:26 INFO zookeeper.ZooKeeper: Client environment:java.home=/usr/local/jdk1.6.0_20/jre
11/03/09 16:44:26 INFO zookeeper.ZooKeeper: Client environment:java.class.path=/usr/local/hbase-0.89.20100924/conf:/usr/local/jdk1.6.0_20/lib/tools.jar:/usr/local/hbase-0.89.20100924:/usr/local/hbase-0.89.20100924/hbase-0.89.20100924.jar:/usr/local/hbase-0.89.20100924/lib/activation-1.1.jar:/usr/local/hbase-0.89.20100924/lib/ant-1.6.5.jar:/usr/local/hbase-0.89.20100924/lib/ant-1.7.1.jar:/usr
org.eclipse.jgit.errors.TransportException: git@github.internal:eclark/nozzle.git: Short read of block.
at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:186)
at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:126)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:141)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1120)
at com.google.gerrit.server.git.PushOp.pushVia(PushOp.java:268)
at com.google.gerrit.server.git.PushOp.runImpl(PushOp.java:213)
at com.google.gerrit.server.git.PushOp.run(PushOp.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ngmoco</groupId>
<artifactId>etl</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>etl</name>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ngmoco</groupId>
<artifactId>etl</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>etl</name>