This file contains 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 com.hubspot; | |
import java.io.Serializable; | |
import java.util.Objects; | |
public class SomeClass implements Serializable { | |
private final long id; | |
private final String name; | |
private SomeClass(long id, String name) { |
This file contains 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
Caused by: java.io.InvalidClassException: com.hubspot.SomeClass; local class incompatible: stream classdesc serialVersionUID = 4184345964864034491, local class serialVersionUID = 4704675227730405865 | |
at java.base/java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:689) | |
at java.base/java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1960) | |
at java.base/java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1829) | |
at java.base/java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2117) | |
at java.base/java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1646) | |
at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:464) | |
at java.base/java.io.ObjectInputStream.readObject(ObjectInputStream.java:422) | |
at com.hubspot.HBaseManager.readFromHBase(HBaseManager.java:75) |
This file contains 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
Benchmark | Mode | Threads | Samples | Score | Score Error (99.9%) | Unit | |
---|---|---|---|---|---|---|---|
PropertyFilterBenchmark.baseline | avgt | 5 | 3 | 9.405590 | 1.589964 | ms/op | |
PropertyFilterBenchmark.baseline:·gc.alloc.rate.norm | avgt | 5 | 3 | 64553.152135 | 19.861685 | B/op | |
PropertyFilterBenchmark.baseline:·gc.count | avgt | 5 | 3 | 6.000000 | NaN | counts | |
PropertyFilterBenchmark.baseline:·gc.time | avgt | 5 | 3 | 30.000000 | NaN | ms | |
PropertyFilterBenchmark.filterNonStreaming | avgt | 5 | 3 | 13.071595 | 0.692514 | ms/op | |
PropertyFilterBenchmark.filterNonStreaming:·gc.alloc.rate.norm | avgt | 5 | 3 | 6139178.786041 | 34.418781 | B/op | |
PropertyFilterBenchmark.filterNonStreaming:·gc.count | avgt | 5 | 3 | 106.000000 | NaN | counts | |
PropertyFilterBenchmark.filterNonStreaming:·gc.time | avgt | 5 | 3 | 895.000000 | NaN | ms | |
PropertyFilterBenchmark.filterStreaming | avgt | 5 | 3 | 2.786550 | 0.197030 | ms/op |
This file contains 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
public class CustomExecutorListener<REQ> extends Listener<REQ> { | |
private final Listener<REQ> delegate; | |
private final ServerCall<REQ, ?> call; | |
private final Executor executor; | |
private CustomExecutorListener( | |
Listener<REQ> delegate, | |
ServerCall<REQ, ?> call, | |
Executor executor | |
) { |
This file contains 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
import java.time.Duration; | |
import java.util.concurrent.ScheduledExecutorService; | |
import java.util.concurrent.ScheduledFuture; | |
import java.util.concurrent.TimeUnit; | |
import java.util.concurrent.atomic.AtomicLong; | |
import java.util.concurrent.atomic.AtomicReference; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; |
This file contains 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 grpc.example; | |
import io.grpc.Server; | |
public abstract class ListenableServer extends Server { | |
public abstract void addListener(ServerListener listener); | |
} |
This file contains 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
➜ ~ ls -ltr .m2/repository/com/hubspot/project-structure-maven-plugin/1.0-SNAPSHOT | |
total 96 | |
-rw-r--r-- 1 jhaber staff 199 Mar 1 16:51 resolver-status.properties | |
-rw-r--r-- 1 jhaber staff 40 Mar 1 16:51 project-structure-maven-plugin-1.0-20180227.182835-13.pom.sha1 | |
-rw-r--r-- 1 jhaber staff 1469 Mar 1 16:51 project-structure-maven-plugin-1.0-20180227.182835-13.pom | |
-rw-r--r-- 1 jhaber staff 40 Mar 1 16:51 project-structure-maven-plugin-1.0-20180227.182835-13.jar.sha1 | |
-rw-r--r-- 1 jhaber staff 17596 Mar 1 16:51 project-structure-maven-plugin-1.0-20180227.182835-13.jar | |
-rw-r--r-- 1 jhaber staff 40 Mar 1 16:51 maven-metadata-HubSpot-Nexus.xml.sha1 | |
-rw-r--r-- 1 jhaber staff 1001 Mar 1 16:51 maven-metadata-HubSpot-Nexus.xml | |
-rw-r--r-- 1 jhaber staff 286 Mar 1 16:51 _remote.repositories |
This file contains 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
2018-03-01 16:36:57,881 [96310919] INFO - ea.checkstyle.CheckStylePlugin - CheckStyle Plugin loaded with project base dir: "/Users/jhaber/src/Wormhole" | |
2018-03-01 16:36:57,882 [96310920] INFO - ellij.project.impl.ProjectImpl - 124 project components initialized in 30 ms | |
2018-03-01 16:36:57,882 [96310920] INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms | |
2018-03-01 16:36:57,906 [96310944] INFO - ution.rmi.RemoteProcessSupport - Terminating: 39473/Maven3ServerImpl726ae692 | |
2018-03-01 16:37:01,552 [96314590] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 1ms; general responsiveness: ok; EDT responsiveness: ok | |
2018-03-01 16:37:01,593 [96314631] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 0ms | |
2018-03-01 16:37:01,594 [96314632] INFO - g.FileBasedIndexProjectHandler - Reindexing refreshed files: 0 to update, calculated in 0ms | |
2018-03-01 16:37:01,694 [96314732] INFO - g.FileBasedIndexProjectH |
This file contains 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
➜ ~ curl -s https://oss.sonatype.org/content/repositories/releases/com/mycila/license-maven-plugin/2.11/license-maven-plugin-2.11.pom | shasum | |
ca4834f90a2091bbd50cc0d72dff94c743a7fc9f - | |
➜ ~ curl https://oss.sonatype.org/content/repositories/releases/com/mycila/license-maven-plugin/2.11/license-maven-plugin-2.11.pom.sha1 | |
236d8fde9973092682cc886028fbdd6f009ee907% | |
➜ ~ curl http://central.maven.org/maven2/com/mycila/license-maven-plugin/2.11/license-maven-plugin-2.11.pom.sha1 | |
ca4834f90a2091bbd50cc0d72dff94c743a7fc9f% |
This file contains 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 | |
set -e | |
libdir="$M2_HOME/lib" | |
cd $libdir | |
resolverjar=`ls maven-resolver-impl-*.jar` | |
tmpdir=`mktemp -d -t maven.XXXXXX` | |
cd $tmpdir |