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
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] | |
[ 0.000000] Linux version 4.19.185-29738-gf8e4fd700b66 (chrome-bot@chromeos-ci-legacy-us-central2-d-x32-68-3feb) (Chromium OS 12.0_pre416183_p20210305-r3 clang version 12.0.0 (/var/tmp/portage/sys-devel/llvm-12.0_pre416183_p20210305-r3/work/llvm-12.0_pre416183_p20210305/clang 8456c3a789285079ad35d146e487436b5a27b027)) #1 SMP PREEMPT Mon Jul 19 19:44:40 PDT 2021 | |
[ 0.000000] random: fast init done | |
[ 0.000000] Machine model: MediaTek krane sku176 board | |
[ 0.000000] Malformed early option 'console' | |
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000050000000, size 41 MiB | |
[ 0.000000] OF: reserved mem: initialized node scp_mem_region, compatible id shared-dma-pool | |
[ 0.000000] On node 0 totalpages: 1047536 | |
[ 0.000000] DMA32 zone: 12288 pages used for memmap | |
[ 0.000000] DMA32 zone: 0 pages reserved |
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
native-image -H:+ReportExceptionStackTraces -H:+AddAllCharsets --allow-incomplete-classpath --no-fallback --initialize-at-build-time --enable-http --enable-https --enable-all-security-services --verbose -jar "./target/scala-2.13/quickstart-assembly-0.0.1-SNAPSHOT.jar" quickstartBinaryImage | |
Apply jar:file:///tmp/quickstart/target/scala-2.13/quickstart-assembly-0.0.1-SNAPSHOT.jar!/META-INF/native-image/com/example/quickstart/reflect-config.json | |
StartServer [ | |
/usr/lib/jvm/graalvm-ce-java11-20.1.0/bin/java \ | |
-cp \ | |
/usr/lib/jvm/graalvm-ce-java11-20.1.0/lib/svm/builder/svm.jar:/usr/lib/jvm/graalvm-ce-java11-20.1.0/lib/svm/builder/objectfile.jar:/usr/lib/jvm/graalvm-ce-java11-20.1.0/lib/svm/builder/pointsto.jar:/usr/lib/jvm/graalvm-ce-java11-20.1.0/lib/svm/builder/svm-llvm.jar:/usr/lib/jvm/graalvm-ce-java11-20.1.0/lib/svm/builder/llvm-wrapper-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.1.0/lib/svm/builder/javacpp-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.1.0/lib/svm/builder/llvm-platform-specific-shadowed.j |
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
colin@M00974055-VM:/tmp/quickstart$ native-image -H:+ReportExceptionStackTraces -H:+AddAllCharsets --allow-incomplete-classpath --no-fallback --initialize-at-build-time --enable-http --enable-https --enable-all-security-services --verbose -jar "./target/scala-2.13/quickstart-assembly-0.0.1-SNAPSHOT.jar" quickstartBinaryImage | |
Apply jar:file:///tmp/quickstart/target/scala-2.13/quickstart-assembly-0.0.1-SNAPSHOT.jar!/META-INF/native-image/com/example/quickstart/reflect-config.json | |
StartServer [ | |
/usr/lib/jvm/graalvm-ce-java11-20.0.0/bin/java \ | |
-cp \ | |
/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/svm-llvm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/graal-llvm.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/llvm-wrapper-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/javacpp-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/llvm-platform-specific-shadowed.jar:/usr/lib/jvm/graalvm-ce-java11-20.0.0/lib/svm/builder/svm.jar:/usr/lib/jvm/graalvm-ce-java |
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
# your-service.socket | |
[Socket] | |
ListenStream=80 | |
# your-service.service | |
[Service] | |
ExecStart=/path/to/my/binary | |
User=username | |
# in your service |
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 software.amazon.awssdk.core.pagination.SdkIterable | |
import software.amazon.awssdk.core.regions.Region | |
import software.amazon.awssdk.services.s3.S3Client | |
import software.amazon.awssdk.services.s3.model.{GetObjectRequest, GetObjectResponse, ListObjectsV2Request, S3Object} | |
import software.amazon.awssdk.services.s3.paginators.ListObjectsV2Iterable | |
import software.amazon.awssdk.core.auth.{AwsCredentialsProvider, EnvironmentVariableCredentialsProvider, InstanceProfileCredentialsProvider, ProfileCredentialsProvider} | |
import software.amazon.awssdk.core.sync.{ResponseInputStream, StreamingResponseHandler} | |
import java.nio.file.Paths | |
import java.io.File | |
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
create temp table event_shp | |
as ( | |
select cust_key, | |
case when delivery_channel <> 'JOIN' and | |
product_type = 'General' and | |
sale_dt in | |
(select event_dt | |
from user_tbls.events | |
where anniversary_public_event=1 ) then 1 | |
else 0 |
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: UncategorizedExecutionException[Failed execution]; nested: ExecutionException[java.net.SocketTimeoutException]; nested: SocketTimeoutException; | |
at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:93) | |
at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:47) | |
at org.elasticsearch.action.bulk.Retry.withSyncBackoff(Retry.java:104) | |
at org.elasticsearch.action.bulk.BulkRequestHandler$SyncBulkRequestHandler.execute(BulkRequestHandler.java:86) | |
at org.elasticsearch.action.bulk.BulkProcessor.execute(BulkProcessor.java:350) | |
at org.elasticsearch.action.bulk.BulkProcessor.executeIfNeeded(BulkProcessor.java:341) | |
at org.elasticsearch.action.bulk.BulkProcessor.internalAdd(BulkProcessor.java:276) | |
at org.elasticsearch.action.bulk.BulkProcessor.add(BulkProcessor.java:259) | |
at org.elasticsearch.action.bulk.BulkProcessor.add(BulkProcessor.java:255) |
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
java.lang.NoSuchMethodError: org.apache.http.conn.ssl.SSLConnectionSocketFactory.<init>(Ljavax/net/ssl/SSLContext;Ljavax/net/ssl/HostnameVerifier;)V | |
at com.amazonaws.http.conn.ssl.SdkTLSSocketFactory.<init>(SdkTLSSocketFactory.java:56) | |
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.getPreferredSocketFactory(ApacheConnectionManagerFactory.java:87) | |
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:65) | |
at com.amazonaws.http.apache.client.impl.ApacheConnectionManagerFactory.create(ApacheConnectionManagerFactory.java:58) | |
at com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:46) | |
at com.amazonaws.http.apache.client.impl.ApacheHttpClientFactory.create(ApacheHttpClientFactory.java:37) | |
at com.amazonaws.http.AmazonHttpClient.<init>(AmazonHttpClient.java:213) | |
at com.amazonaws.AmazonWebServiceClient.<init>(AmazonWebServiceCl |
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 org.apache.commons.net.util.Base64; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.hbase.HBaseConfiguration; | |
import org.apache.hadoop.hbase.client.Put; | |
import org.apache.hadoop.hbase.util.Bytes; | |
import org.apache.spark.Logging; | |
import org.apache.spark.SparkConf; | |
import org.apache.spark.api.java.JavaPairRDD; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<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.example</groupId> | |
<artifactId>ad-export</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> |
NewerOlder