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
/* | |
* | |
* * Copyright 2016 Skymind,Inc. | |
* * | |
* * Licensed under the Apache License, Version 2.0 (the "License"); | |
* * you may not use this file except in compliance with the License. | |
* * You may obtain a copy of the License at | |
* * | |
* * http://www.apache.org/licenses/LICENSE-2.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
<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>io.skymind.examples</groupId> | |
<artifactId>Skymind_Spark_Aug2016_Examples</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>Skymind_Spark_Aug2016_Examples</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
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/canova-nd4j-codec/0.0.0.18-SNAPSHOT/maven-metadata.xml | |
[INFO] | |
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ dl4j-spark_2.11 --- | |
[INFO] org.deeplearning4j:dl4j-spark_2.11:jar:0.4.1-SNAPSHOT | |
[INFO] +- org.apache.spark:spark-mllib_2.11:jar:1.5.2:compile | |
[INFO] | +- org.apache.spark:spark-streaming_2.11:jar:1.5.2:compile | |
[INFO] | +- org.apache.spark:spark-sql_2.11:jar:1.5.2:compile | |
[INFO] | | +- org.apache.spark:spark-catalyst_2.11:jar:1.5.2:compile | |
[INFO] | | | \- org.codehaus.janino:janino:jar:2.7.8:compile | |
[INFO] | | | \- org.codehaus.janino:commons-compiler:jar:2.7.8:compile |
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
1) No implementation for com.lightbend.lagom.internal.registry.ServiceRegistry was bound. | |
while locating com.lightbend.lagom.internal.registry.ServiceRegistry | |
for parameter 3 at com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry.<init>(ServiceRegistrationModule.scala:55) | |
at com.lightbend.lagom.internal.server.ServiceRegistrationModule.bindings(ServiceRegistrationModule.scala:29): | |
Binding(class com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry to self eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1) | |
1 error | |
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:466) | |
at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155) | |
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107) |
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
com.google.inject.CreationException: Unable to create injector, see the following errors: | |
1) No implementation for com.lightbend.lagom.internal.registry.ServiceRegistry was bound. | |
while locating com.lightbend.lagom.internal.registry.ServiceRegistry | |
for parameter 3 at com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry.<init>(ServiceRegistrationModule.scala:55) | |
at com.lightbend.lagom.internal.server.ServiceRegistrationModule.bindings(ServiceRegistrationModule.scala:29): | |
Binding(class com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry to self eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1) | |
1 error |
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
/* | |
* Copyright (C) 2016 Typesafe Inc. <http://www.typesafe.com> | |
*/ | |
package akka.persistence.cassandra.testkit | |
import java.io.BufferedReader | |
import java.io.BufferedWriter | |
import java.io.File | |
import java.io.FileOutputStream | |
import java.io.InputStreamReader |
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
attempted to delete non-existing file ServiceTest_160725151020233 | |
at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:127) | |
at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:154) | |
at org.apache.cassandra.io.util.FileUtils.deleteRecursive(FileUtils.java:441) | |
at akka.persistence.cassandra.testkit.CassandraLauncher$.start(CassandraLauncher.scala:91) | |
at com.lightbend.lagom.javadsl.testkit.ServiceTest$.startServer(ServiceTest.scala:204) | |
at com.lightbend.lagom.javadsl.testkit.ServiceTest.startServer(ServiceTest.scala) | |
at io.skymind.skil.service.PredictionServiceTest.startup(PredictionServiceTest.java:46) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
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
<plugin> | |
<groupId>com.spotify</groupId> | |
<artifactId>docker-maven-plugin</artifactId> | |
<version>0.4.11</version> | |
<configuration> | |
<dockerDirectory>../docker</dockerDirectory> | |
<imageName>${artifactId}</imageName> | |
<!-- copy the service's jar file from target into the root directory of the image --> | |
<resources> | |
<resource> |
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
@Override | |
default Descriptor descriptor() { | |
// @formatter:off | |
return named("testbootstrapservice").withCalls( | |
restCall(Method.POST,"/bootstrap/run", this::bootStrapTestEnv) | |
).withAutoAcl(true); | |
// @formatter:on |
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
com.google.inject.CreationException: Unable to create injector, see the following errors: | |
1) Could not find a suitable constructor in com.lightbend.lagom.internal.server.ResolvedServices. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private. | |
at com.lightbend.lagom.internal.server.ResolvedServices.class(ServerBuilder.scala:97) | |
while locating com.lightbend.lagom.internal.server.ResolvedServices | |
for parameter 1 at com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry.<init>(ServiceRegistrationModule.scala:55) | |
at com.lightbend.lagom.internal.server.ServiceRegistrationModule.bindings(ServiceRegistrationModule.scala:29): | |
Binding(class com.lightbend.lagom.internal.server.ServiceRegistrationModule$RegisterWithServiceRegistry to self eagerly) (via modules: com.google.inject.util.Modules$OverrideModule -> play.api.inject.guice.GuiceableModuleConversions$$anon$1) | |
2) Could not find a suitable const |