Skip to content

Instantly share code, notes, and snippets.

🌨️

Tomo Suzuki suztomo

🌨️
Block or report user

Report or block suztomo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@suztomo
suztomo / gist:438579f8453480964ebfef344ab96348
Created Jun 2, 2020
ArtifactCompatibilityCheck org.apache.beam:beam-runners-google-cloud-dataflow-java:2.23.0-SNAPSHOT com.google.cloud:libraries-bom:pom:5.5.0
View gist:438579f8453480964ebfef344ab96348
org.apache.beam:beam-runners-google-cloud-dataflow-java:2.23.0-SNAPSHOT intrinsic problems ('problem x source' pairs): 9
com.google.cloud:libraries-bom:pom:5.5.0 intrinsic problems ('problem x source' pairs): 5
(org.apache.beam:beam-sdks-java-harness:2.23.0-20200602.072035-15) com.google.common.collect.JdkBackedImmutableMultiset's method writeReplace() is not implemented in the class
referenced by
ClassFile{location=com.google.guava:guava:29.0-android, className=com.google.common.collect.ImmutableMultiset}
(io.netty:netty-handler:4.1.30.Final) io.netty.handler.ssl.SslProvider's method isAlpnSupported(io.netty.handler.ssl.SslProvider arg1) is not found
referenced by
ClassFile{location=io.grpc:grpc-netty:1.29.0, className=io.grpc.netty.ProtocolNegotiators}
(com.google.guava:guava:29.0-android) com.google.common.collect.ImmutableList's method toImmutableList() is not found
referenced by
@suztomo
suztomo / flogger-pom.md
Last active Jun 1, 2020
Flogger pom.xml investigation
View flogger-pom.md

Travis build https://travis-ci.org/github/google/flogger/builds/691398401 shows it uses Bazel 1.1.0

export BAZEL_VERSION=1.1.0

Download deb file and install,

suztomo@suztomo:/tmp$ wget https://github.com/bazelbuild/bazel/releases/download/"${BAZEL_VERSION}"/bazel_"${BAZEL_VERSION}"-linux-x86_64.deb
@suztomo
suztomo / jstack.md
Last active Jun 2, 2020
spring-cloud-gcp-dependencies jstack log with PR #1435
View jstack.md
suztomo@suztomo:~$ jstack 111186
2020-06-01 20:50:06
Full thread dump OpenJDK 64-Bit Server VM (25.181-b01 mixed mode):

...

"main" #1 prio=5 os_prio=0 tid=0x00007f68d800b000 nid=0x1b263 waiting on condition [0x00007f68df735000]
   java.lang.Thread.State: WAITING (parking)
@suztomo
suztomo / offline-dependencies-plugin.md
Last active Jun 1, 2020
Trying to run offline-dependencies-plugin with master
View offline-dependencies-plugin.md

With v2.19.0

./gradlew \
    :model:fn-execution:updateOfflineRepository \
    :model:job-management:updateOfflineRepository \
    :model:pipeline:updateOfflineRepository \
    :sdks:java:core:updateOfflineRepository \
    :sdks:java:extensions:google-cloud-platform-core:updateOfflineRepository \
    :sdks:java:extensions:join-library:updateOfflineRepository \
@suztomo
suztomo / kob-aha-pr.md
Last active May 29, 2020
kob-aha's PR to make gradle-offline-dependencies-plugin with BOMs
View kob-aha-pr.md

Install the plugin locally

Install the plugin as io.pry.gradle.offline_dependencies:offline-dependencies-plugin:0.6.0-SNAPSHOT.

suztomo-macbookpro44% ./gradlew publishToMavenLocal --console plain -d |grep '.m2'
suztomo-macbookpro44% git status
On branch bom_support
nothing to commit, working tree clean
suztomo-macbookpro44% pwd
@suztomo
suztomo / memo.md
Created May 28, 2020
Linkage Checker for logback-classic-1.2.3 without dependencies
View memo.md

LinkageCheckerMain with -j /Users/suztomo/Downloads/logback-classic-1.2.3.jar

...

Class groovy.lang.GroovyObject is not found;
  referenced by 7 class files
    ch.qos.logback.classic.boolex.EvaluatorTemplate (/Users/suztomo/Downloads/logback-classic-1.2.3.jar)
    ch.qos.logback.classic.boolex.GEventEvaluator (/Users/suztomo/Downloads/logback-classic-1.2.3.jar)
    ch.qos.logback.classic.gaffer.ComponentDelegate (/Users/suztomo/Downloads/logback-classic-1.2.3.jar)
@suztomo
suztomo / memo.md
Last active May 28, 2020
Linkage Checker for jdom without optional dependency
View memo.md

LinkageCheckerMain with -j /Users/suztomo/Downloads/jdom-2.0.2.jar option:

Class org.jaxen.BaseXPath is not found;
  referenced by 3 class files
    org.jdom2.xpath.jaxen.JDOMCoreNavigator (/Users/suztomo/Downloads/jdom-2.0.2.jar)
    org.jdom2.xpath.jaxen.JDOMXPath (/Users/suztomo/Downloads/jdom-2.0.2.jar)
    org.jdom2.xpath.jaxen.JaxenCompiled (/Users/suztomo/Downloads/jdom-2.0.2.jar)
Class org.jaxen.FunctionCallException is not found;
  referenced by 1 class file
@suztomo
suztomo / memo.md
Last active May 27, 2020
PathRecordingDependencyVisitor slowness?
View memo.md

Aether's PathRecordingDependencyVisitor

suztomo@suztomo:~/cloud-opensource-java$ jstack 44406
2020-05-27 16:12:02

...

"main" #1 prio=5 os_prio=0 tid=0x00007fa43c00b000 nid=0xad87 runnable [0x00007fa44240e000]
   java.lang.Thread.State: RUNNABLE
@suztomo
suztomo / gist:1e5cf5a627b0a5c07db5a6185316f793
Created May 27, 2020
CycleBreakerGraphTransformer.removeCycle taking long time to visit nodes in a graph
View gist:1e5cf5a627b0a5c07db5a6185316f793
suztomo@suztomo:~/cloud-opensource-java$ jstack 38827
2020-05-27 15:37:12
Full thread dump OpenJDK 64-Bit Server VM (25.181-b01 mixed mode):
...
"main" #1 prio=5 os_prio=0 tid=0x00007f691000b000 nid=0x97bc runnable [0x00007f6916c04000]
java.lang.Thread.State: RUNNABLE
at (C/C++) 0x00007f6917bbffae (Unknown Source)
at (C/C++) 0x00007f69170f6ed5 (Unknown Source)
@suztomo
suztomo / gist:69f854bddd102b3fe83eae8f0720c494
Created May 23, 2020
Checking the scope of netty-common under apache-bookkeeper
View gist:69f854bddd102b3fe83eae8f0720c494
suztomo@Tomohiros-MBP.verizon.net ~/g
~/g $ mvn dependency:tree
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< suztomo:test-scope-test >-----------------------
[INFO] Building Test for test transitive dependencies 0.1.0-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ test-scope-test ---
[INFO] suztomo:test-scope-test:pom:0.1.0-SNAPSHOT
You can’t perform that action at this time.