Exemplo de contagem de palavras streamparse
Eu estava querendo usar o Apache Storm para transmitir a partir de Kafka. Estou mais confortável com o Python, então decidi usar o streamparse (https://github.com/Parsely/streamparse) O exemplo de contagem de palavras é o exemplo introdutório. Eu tenho tentado fazê-lo funcionar na minha máquina local. Eu tenho a seguinte versão do JDK, lein e storm instalada:
Leiningen 2.6.1 on Java 1.8.0_73 Java HotSpot(TM) 64-Bit Server VM
Executo as seguintes etapas após a seguinte streamparse:
sparse quick start wordcount cd wordcount sparse run
Estou tendo o erro a seguir:
Retrieving org/apache/storm/storm-core/0.10.1/storm-core-0.10.1.pom from central Retrieving org/apache/storm/storm/0.10.1/storm-0.10.1.pom from central Retrieving org/apache/storm/storm-core/0.10.1/storm-core-0.10.1.jar from central Could not transfer artifact com.parsely:streamparse:pom:0.0.4-SNAPSHOT from/to clojars (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Could not transfer artifact clojure-complete:clojure-complete:pom:0.2.4 from/to clojars (https://clojars.org/repo/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target This could be due to a typo in :dependencies or network issues. If you are behind a proxy, try setting the 'http_proxy' environment variable.
Meu arquivo project.clj é assim:
(defproject wordcount "0.0.1-SNAPSHOT" :source-paths ["topologies"] :resource-paths ["_resources"] :target-path "_build" :min-lein-version "2.6.1" :jvm-opts ["-client"] :dependencies [[org.apache.storm/storm-core "0.10.1"] [com.parsely/streamparse "0.0.4-SNAPSHOT"] ] :jar-exclusions [#"log4j\.properties" #"backtype" #"trident" #"META-INF" #"meta-inf" #"\.yaml"] :uberjar-exclusions [#"log4j\.properties" #"backtype" #"trident" #"META-INF" #"meta-inf" #"\.yaml"] )
Portanto, minhas versões principais do lein e do storm estão definidas corretamente. Não sei ao certo onde estou errado. Alguém pode me ajudar?
-Obrigado