storm打jar包執行報錯問題You're probably bundling the Storm jars with your topology jar.

在storm項目中,打好jar包,到集羣環境下運行報錯: 原因: 在storm-core包中有defaults.yaml這個文件,因爲默認maven打包的scope是compile,所以maven打包後,本地的storm-core包也被打入的jar,由於集羣環境中,也存在storm-core包,所以會出現文件defaults.yaml重複的錯誤。 解決辦法: 1、可以在打包後刪除該文件; 2、也可
相關文章
相關標籤/搜索