Skip to content

Instantly share code, notes, and snippets.

View civitaspo's full-sized avatar
❄️

Takahiro Nakayama civitaspo

❄️
View GitHub Profile
@civitaspo
civitaspo / stacktrace
Created June 4, 2019 02:54
digdag `Failed to process variables` error
io.digdag.core.agent.OperatorManager: Task failed with unexpected error: Failed to process variables
java.lang.RuntimeException: Failed to process variables
at io.digdag.core.agent.OperatorManager.runWithWorkspace(OperatorManager.java:204)
at io.digdag.core.agent.OperatorManager.lambda$runWithHeartbeat$2(OperatorManager.java:137)
at io.digdag.core.agent.ExtractArchiveWorkspaceManager.withExtractedArchive(ExtractArchiveWorkspaceManager.java:77)
at io.digdag.core.agent.OperatorManager.runWithHeartbeat(OperatorManager.java:135)
at io.digdag.core.agent.OperatorManager.run(OperatorManager.java:119)
at io.digdag.core.agent.MultiThreadAgent.lambda$null$0(MultiThreadAgent.java:127)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
HashMap<String, String> map = Maps.newHashMap();
systemConfig
.getKeys()
.stream()
.filter((key) ->
key.startsWith("database.jdbc.")
)
.forEach((key) ->
map.put(key.replace("database.jdbc.", ""), systemConfig.get(key, String.class))
);
in:
type: dynamodb
region: us-east-1
scan:
total_segment: 4
table: embulk-input-dynamodb_example
auth_method: assume_role
role_arn: arn:aws:iam::xxxxxxxxxxxxxxxx:role/civitaspo-dynamodb-full-access
role_session_name: unko
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.