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
$ docker run -t -v ${PWD}:/work embulk guess ./try1/seed.yml -o config.yml # Running example を実行 | |
2018-11-15 11:11:11.591 +0000: Embulk v0.9.9 | |
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException | |
at org.apache.bval.jsr303.ConfigurationImpl.parseValidationXml(ConfigurationImpl.java:268) | |
at org.apache.bval.jsr303.ConfigurationImpl.prepare(ConfigurationImpl.java:258) | |
at org.apache.bval.jsr303.ConfigurationImpl.doPrivBuildValidatorFactory(ConfigurationImpl.java:248) | |
at org.apache.bval.jsr303.util.SecureActions$5.run(SecureActions.java:131) | |
at org.apache.bval.jsr303.util.SecureActions$5.run(SecureActions.java:129) | |
at org.apache.bval.jsr303.ConfigurationImpl.run(ConfigurationImpl.java:337) | |
at org.apache.bval.jsr303.ConfigurationImpl.buildValidatorFactory(ConfigurationImpl.java:244) |
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
const aws = require('aws-sdk'); | |
aws.config.region = 'ap-northeast-1'; | |
const s3 = new aws.S3(); | |
console.log('Loading function'); | |
exports.handler = async (event, context) => { | |
var params = { | |
Bucket: 'sample', | |
Key: 'sample.json', |
OlderNewer