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
Caused by: org.teiid.net.CommunicationException: TEIID20018 Unable to find a component used authenticate on to Teiid | |
at org.teiid.net.socket.SocketServerConnection.selectServerInstance(SocketServerConnection.java:147) | |
at org.teiid.net.socket.SocketServerConnection.<init>(SocketServerConnection.java:95) | |
at org.teiid.net.socket.SocketServerConnectionFactory.getConnection(SocketServerConnectionFactory.java:316) | |
at org.teiid.jdbc.SocketProfile.connect(SocketProfile.java:64) | |
... 21 more | |
Caused by: org.teiid.core.TeiidComponentException: Java heap space | |
at org.teiid.client.util.ExceptionUtil.convertException(ExceptionUtil.java:65) | |
at org.teiid.net.socket.SocketServerInstanceImpl$RemoteInvocationHandler.invoke(SocketServerInstanceImpl.java:424) |
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
Caused by: org.teiid.net.CommunicationException: TEIID20018 Unable to find a component used authenticate on to Teiid | |
I have a teiid database that seems to work well with psql client queries, but jdbc queries lead to OOME exceptions on connection creation: | |
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"?> | |
<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/maven-v4_0_0.xsd"> | |
<!-- Parent --> | |
<parent> | |
<groupId>org.jboss</groupId> | |
<artifactId>jboss-parent</artifactId> | |
<version>20</version> | |
</parent> |
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"?> | |
<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/maven-v4_0_0.xsd"> | |
<!-- Parent --> | |
<parent> | |
<groupId>org.jboss</groupId> | |
<artifactId>jboss-parent</artifactId> | |
<version>20</version> | |
</parent> | |
<!-- Model Version --> | |
<modelVersion>4.0.0</modelVersion> |
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
kind: Template | |
apiVersion: v1 | |
template: spark | |
metadata: | |
name: spark | |
labels: | |
application: spark | |
objects: | |
- kind: Service |
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
------------------------------------------------------------------------------- | |
Test set: org.jboss.test.arquillian.ce.jdg.SparkTest | |
------------------------------------------------------------------------------- | |
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.638 sec <<< FAILURE! - in org.jboss.test.arquillian.ce.jdg.SparkTest | |
org.jboss.test.arquillian.ce.jdg.SparkTest Time elapsed: 3.637 sec <<< ERROR! | |
org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy template: https://gist.githubusercontent.com/jayunit100/851559a8d83cc9c020c02a7dbb67cb66/raw/9225879a7f4af69cc50a22711c9113429963d1fb/gistfile1.txt | |
Caused by: java.lang.NullPointerException | |
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
kind: Template | |
apiVersion: v1 | |
template: spark | |
metadata: | |
name: spark | |
labels: | |
app: sparktemplateforkedfromxpassspark | |
objects: | |
- kind: Service |
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
kind: Template | |
apiVersion: v1 | |
template: spark | |
metadata: | |
name: spark | |
labels: | |
app: sparktemplateforkedfromxpassspark | |
objects: | |
- kind: Service |
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
FROM ce-registry.usersys.redhat.com/apache-spark-2/spark20-hadoop27-openshift:2.0 | |
USER root | |
RUN /opt/spark/bin/pyspark --version 2>&1 | grep version | cut -d'n' -f 2 | xargs > /tmp/SPARK_VERSION | |
RUN cat /tmp/SPARK_VERSION | |
RUN curl -o /tmp/$(cat /tmp/SPARK_VERSION).tgz https://dist.apache.org/repos/dist/release/spark/spark-$(cat /tmp/SPARK_VERSION)/spark-$(cat /tmp/SPARK_VERSION).tgz | |
RUN cd /tmp/ && tar -zxvf /tmp/2.0.0-preview.tgz | |
RUN yum-config-manager --nogpgcheck --add-repo http://mirror.centos.org/centos/7/os/x86_64/ | |
RUN yum install --nogpgcheck -y git |
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
// Enable viper configuration management. This is required to | |
// 1) Feature: Allow files/etcd/other dynamic configuration setup. | |
// 2) Fix a Bug: Avoid transitive dependencies on flag. | |
func ViperizeAndCreateMockFlags() { | |
fmt.Println( | |
"flags: ", | |
"\n pflag:",flag.Args(), | |
"\n goflag:",goflag.Args(), | |
" rem:",flag.NArg()," ",goflag.NArg()) |