[英]BigQueryIO.write() step in the Dataflow job runs before TextIO.Read() causing Null pointer exception
[英]Google Cloud Dataflow TextIO to BigQueryIO Job does not start
我收到以下控制台日志,過程停止
com.google.cloud.dataflow.sdk.runners.DataflowPipelineRunner fromOptions
INFO: PipelineOptions.filesToStage was not specified. Defaulting to files from the classpath: will stage 69 files. Enable logging at DEBUG level to see which files will be staged.
我的執行參數如下
--project=xyz-123 --stagingLocation=gs://xxx/staging/ --output=yyy:zzz.aa --runner=BlockingDataflowPipelineRunner
我沒有指定暫存文件列表就運行了管道,但是突然之間發生了這種情況。
即使所有日志都顯示為紅色,日志或代碼也沒有錯。 我只是忘記了運行管道。
也許Eclipse中的棉絨或標記錯誤可能有助於避免這種情況。
解:
p.run();
必須添加,因為我不小心刪除了該行。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.