Open elharo opened 6 years ago
wondering if something changed recently in bucket validation:
@Override
public String verifyPath(String path) {
GcsPath gcsPath = getGcsPath(path);
checkArgument(gcsPath.isAbsolute(), "Must provide absolute paths for Dataflow");
checkArgument(!gcsPath.getObject().isEmpty(),
"Missing object or bucket in path: '%s', did you mean: 'gs://some-bucket/%s'?",
gcsPath, gcsPath.getBucket());
checkArgument(!gcsPath.getObject().contains("//"),
"Dataflow Service does not allow objects with consecutive slashes");
return gcsPath.toResourceName();
}
Nope, that hasn't changed in a while. Maybe GcsPath?
You should always specify a subfolder: gs://bucket/some-folder/
There was an issue in our repo closed as WAI.
OK, the UI here is confusing then. We should disable the run button and probably put up an error decorator or message until the user has typed in a full path.
Problem using newly created bucket during test plan. Investigating...