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
val valuesRight = Seq(1, 2, 3, 4, 5, 6, 7) | |
val valuesWrong = Seq(1, 2, 5, 6, 7, 8, 9) | |
val allowedValues = Range(1, 8) | |
def containsNotAllowedValues(allowed: Range, input: Seq[Int]): Boolean = { | |
!allowed.containsSlice(input) | |
} | |
containsNotAllowedValues(allowedValues, valuesRight) // expected false as no wrong element contained | |
// result: false ==> correct |
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
19/04/11 09:11:13 ERROR Executor: Exception in task 0.0 in stage 11.0 (TID 11) | |
java.lang.AssertionError: assertion failed | |
at scala.Predef$.assert(Predef.scala:156) | |
at org.apache.spark.sql.geosparksql.expressions.ST_GeomFromWKT.eval(Constructors.scala:123) | |
at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.writeFields_0_0$(Unknown Source) | |
at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(Unknown Source) | |
at org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificUnsafeProjection.apply(Unknown Source) | |
at scala.collection.Iterator$$anon$11.next(Iterator.scala:410) | |
at org.apache.spark.sql.execution.columnar.CachedRDDBuilder$$anonfun$1$$anon$1.next(InMemoryRelation.scala:100) | |
at org.apache.spark.sql.execution.columnar.CachedRDDBuilder$$anonfun$1$$anon$1.next(InMemoryRelation.scala:90) |
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
org.apache.spark.SparkException: Exception thrown in awaitResult: at org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:226) at org.apache.spark.sql.execution.exchange.BroadcastExchangeExec.doExecuteBroadcast(BroadcastExchangeExec.scala:146) at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeBroadcast$1.apply(SparkPlan.scala:144) at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeBroadcast$1.apply(SparkPlan.scala:140) at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:155) at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151) at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:152) at org.apache.spark.sql.execution.SparkPlan.executeBroadcast(SparkPlan.scala:140) at org.apache.spark.sql.execution.joins.BroadcastNestedLoopJoinExec.doExecute(BroadcastNestedLoopJoinExec.scala:343) at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:131) at org.apache.spark.sql.ex |
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
> install.packages("sf") | |
Installing package into ‘/Users/geoheil/my_project/packrat/lib/x86_64-apple-darwin18.2.0/3.5.3’ | |
(as ‘lib’ is unspecified) | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 7975k 100 7975k 0 0 2506k 0 0:00:03 0:00:03 --:--:-- 2507k | |
* installing *source* package ‘sf’ ... | |
** Paket ‘sf’ erfolgreich entpackt und MD5 Summen überprüft | |
configure: CC: clang | |
configure: CXX: clang++ -std=gnu++11 |
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
{ | |
"version": "v1", | |
"config": { | |
"visState": { | |
"filters": [ | |
{ | |
"dataId": "earthquakes", | |
"id": "vo18yorx", | |
"name": "DateTime", | |
"type": "timeRange", |
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
/usr/local/opt/qt/lib/QtSql.framework/Headers -isystem /usr/local/opt/qt/lib/QtConcurrent.framework/Headers -isystem /usr/local/opt/qt/lib/QtPositioning.framework/Headers -isystem /usr/local/Cellar/grass7/7.4.1/grass-base/include -Wall -Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing -Wno-return-type-c-linkage -Wno-overloaded-virtual -Qunused-arguments -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -fPIC -fvisibility=hidden -F/usr/local/opt/qca/lib -fPIC -std=gnu++11 -MD -MT src/core/CMakeFiles/qgis_core.dir/processing/models/qgsprocessingmodeloutput.cpp.o -MF src/core/CMakeFiles/qgis_core.dir/processing/models/qgsprocessingmodeloutput.cpp.o.d -o src/core/CMakeFiles/qgis_core.dir/processing/models/qgsprocessingmodeloutput.cpp.o -c ../src/core/processing/models/qgsprocessingmodeloutput.cpp | |
[1990/4818] /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DISABLE_DEPRECAT |
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
gradle dependencyInsight --dependency scala-reflect [±65-home-night-location ●●] | |
> Task :proj1:dependencyInsight | |
org.scala-lang:scala-reflect:2.11.11 | |
variant "runtime" [ | |
org.gradle.status = release (not requested) | |
Requested attributes not found in the selected variant: | |
org.gradle.usage = java-api | |
] | |
Selection reasons: |
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
scala.reflect.internal.Types$TypeError: value <none> is not a member of $line23.$read | |
at scala.tools.nsc.typechecker.Contexts$ThrowingReporter.handleError(Contexts.scala:1402) | |
at scala.tools.nsc.typechecker.Contexts$ContextReporter.issue(Contexts.scala:1254) | |
at scala.tools.nsc.typechecker.Contexts$Context.issue(Contexts.scala:573) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$normalTypedApply$1$1.apply(Typers.scala:4549) | |
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$normalTypedApply$1$1.apply(Typers.scala:4548) | |
at scala.tools.nsc.typechecker.Typers$Typer.onError$3(Typers.scala:4522) | |
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4548) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4580) | |
at scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5343) |
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-06-01 16:06:48 WARN NativeCodeLoader:62 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable | |
Main class: | |
Job1 | |
Arguments: | |
Spark config: | |
(spark.app.name,Job1) | |
(spark.submit.deployMode,client) | |
(spark.master,local[2]) | |
(spark.jars,*********(redacted)) |
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
gradle dependencyInsight --dependency om.typesafe:config [±master ●●] | |
> Task :dependencyInsight | |
com.typesafe:config:1.3.1 | |
variant "runtime" [ | |
Requested attributes not found in the selected variant: | |
org.gradle.usage = java-api | |
] | |
\--- com.github.kxbmap:configs_2.11:0.4.4 | |
\--- compileClasspath |