我正在使用 Flyway 进行迁移。Flyway 版本是 Boxfuse 的 Flyway 3.2.1。当我执行时
./flyway migrate -url=jdbc:postgresql://$FLYWAY_DATABASE_HOST/$FLYWAY_DATABASE_NAME -password=$FLYWAY_DATABASE_PASSWORD -user=$FLYWAY_DATABASE_USER
Run Code Online (Sandbox Code Playgroud)
我收到以下错误
"ERROR: Validate failed. Migration Checksum mismatch for migration 80
Applied to database : -401430104
Resolved locally : -485639995
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?
我正在使用 Hadoop 库在 S3 中上传文件。由于缺少一些指标配置文件,我收到此异常
MetricsConfig - Could not locate file hadoop-metrics2-s3a-file-system.properties org.apache.commons.configuration2.ex.ConfigurationException:
Could not locate: org.apache.commons.configuration2.io.FileLocator@77f46cee[fileName=hadoop-metrics2-s3a-file-system.properties,basePath=<null>,sourceURL=,encoding=<null>,fileSystem=<null>,locationStrategy=<null>]
Run Code Online (Sandbox Code Playgroud)
我当前的配置是
configuration.set("fs.s3a.access.key", "accessKey")
configuration.set("fs.s3a.secret.key", "secretKey")
Run Code Online (Sandbox Code Playgroud)
在哪里添加这个配置文件呢?要在该配置文件中添加什么?