Skip to content

Instantly share code, notes, and snippets.

@importerror
Created May 4, 2014 08:07
Show Gist options
  • Save importerror/d646dbf124b978144814 to your computer and use it in GitHub Desktop.
Save importerror/d646dbf124b978144814 to your computer and use it in GitHub Desktop.
Storm compilation
[santosh@localhost Kafka-Spout]$ mvn clean package -P cluster
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building storm-kafka-0.8-plus-test 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://clojars.org/repo/storm/storm-kafka/0.8.0-wip4/storm-kafka-0.8.0-wip4.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.615 s
[INFO] Finished at: 2014-05-04T13:16:06+05:30
[INFO] Final Memory: 6M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project storm-kafka-0.8-plus-test: Could not resolve dependencies for project net.wurstmeister.storm:storm-kafka-0.8-plus-test:jar:0.1.0-SNAPSHOT: Failed to collect dependencies at storm:storm-kafka:jar:0.8.0-wip4: Failed to read artifact descriptor for storm:storm-kafka:jar:0.8.0-wip4: Could not transfer artifact storm:storm-kafka:pom:0.8.0-wip4 from/to clojars (https://clojars.org/repo/): clojars.org: Name or service not known: Unknown host clojars.org: Name or service not known -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[santosh@localhost Kafka-Spout]$ nano pom.xml
[santosh@localhost Kafka-Spout]$ mvn clean package -P cluster
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building storm-kafka-0.8-plus-test 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://clojars.org/repo/storm/storm-kafka/0.8.0-wip4/storm-kafka-0.8.0-wip4.pom
Downloaded: https://clojars.org/repo/storm/storm-kafka/0.8.0-wip4/storm-kafka-0.8.0-wip4.pom (4 KB at 1.4 KB/sec)
Downloading: https://clojars.org/repo/org/clojars/jasonjckn/kafka_2.9.1/0.7.0/kafka_2.9.1-0.7.0.pom
Downloaded: https://clojars.org/repo/org/clojars/jasonjckn/kafka_2.9.1/0.7.0/kafka_2.9.1-0.7.0.pom (2 KB at 2.2 KB/sec)
Downloading: https://clojars.org/repo/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.pom
Downloading: http://build.clojure.org/releases/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.pom
Downloading: http://build.clojure.org/snapshots/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.pom
Downloading: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.pom
Downloaded: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.pom (2 KB at 1.6 KB/sec)
Downloading: https://clojars.org/repo/org/clojars/jasonjckn/zkclient/0.1/zkclient-0.1.pom
Downloaded: https://clojars.org/repo/org/clojars/jasonjckn/zkclient/0.1/zkclient-0.1.pom (4 KB at 2.9 KB/sec)
Downloading: https://clojars.org/repo/storm/storm-kafka/0.8.0-wip4/storm-kafka-0.8.0-wip4.jar
Downloading: https://clojars.org/repo/org/clojars/jasonjckn/kafka_2.9.1/0.7.0/kafka_2.9.1-0.7.0.jar
Downloading: https://clojars.org/repo/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar
Downloading: https://clojars.org/repo/org/clojars/jasonjckn/zkclient/0.1/zkclient-0.1.jar
Downloaded: https://clojars.org/repo/storm/storm-kafka/0.8.0-wip4/storm-kafka-0.8.0-wip4.jar (55 KB at 38.9 KB/sec)
Downloaded: https://clojars.org/repo/org/clojars/jasonjckn/zkclient/0.1/zkclient-0.1.jar (62 KB at 28.8 KB/sec)
Downloaded: https://clojars.org/repo/org/clojars/jasonjckn/kafka_2.9.1/0.7.0/kafka_2.9.1-0.7.0.jar (919 KB at 51.1 KB/sec)
Downloading: http://build.clojure.org/releases/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar
Downloading: http://build.clojure.org/snapshots/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar
Downloading: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar
Downloaded: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.9.1/scala-library-2.9.1.jar (8636 KB at 54.0 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ storm-kafka-0.8-plus-test ---
[INFO] Deleting /home/santosh/spout/Kafka-Spout/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ storm-kafka-0.8-plus-test ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /home/santosh/spout/Kafka-Spout/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5:compile (default-compile) @ storm-kafka-0.8-plus-test ---
[INFO] Compiling 9 source files to /home/santosh/spout/Kafka-Spout/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[11,18] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
location: package storm.kafka
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[13,18] error: cannot find symbol
[ERROR] symbol: class ZkHosts
location: package storm.kafka
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[28,18] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
location: class SentenceAggregationTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/tools/StormProducer.java:[4,21] error: cannot find symbol
[ERROR] symbol: class KeyedMessage
location: package kafka.producer
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[11,26] error: cannot find symbol
[ERROR] symbol: class GlobalPartitionInformation
location: package storm.kafka.trident
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[33,18] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
location: class KafkaSpoutTestTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[31,26] error: cannot find symbol
[ERROR] symbol: class ZkHosts
location: class SentenceAggregationTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[39,8] error: cannot find symbol
[ERROR] symbol: class TridentKafkaConfig
location: class SentenceAggregationTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[39,45] error: cannot find symbol
[ERROR] symbol: class TridentKafkaConfig
location: class SentenceAggregationTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[41,8] error: cannot find symbol
[ERROR] symbol: class TransactionalTridentKafkaSpout
location: class SentenceAggregationTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[41,56] error: cannot find symbol
[ERROR] symbol: class TransactionalTridentKafkaSpout
location: class SentenceAggregationTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/tools/StormProducer.java:[30,16] error: cannot find symbol
[ERROR] symbol: class KeyedMessage
location: class StormProducer
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/tools/StormProducer.java:[30,56] error: cannot find symbol
[ERROR] symbol: class KeyedMessage
location: class StormProducer
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[30,8] error: cannot find symbol
[ERROR] symbol: class GlobalPartitionInformation
location: class TestTopologyStaticHosts
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[30,60] error: cannot find symbol
[ERROR] symbol: class GlobalPartitionInformation
location: class TestTopologyStaticHosts
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[31,47] error: cannot find symbol
[ERROR] symbol: class Broker
location: class TestTopologyStaticHosts
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[32,8] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
location: class TestTopologyStaticHosts
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[32,38] error: cannot find symbol
[ERROR] symbol: class StaticHosts
location: class TestTopologyStaticHosts
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[35,29] error: incompatible types
[ERROR] required: Scheme
found: SchemeAsMultiScheme
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[36,26] error: cannot find symbol
[ERROR] symbol: class ZkHosts
location: class KafkaSpoutTestTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[41,29] error: incompatible types
[ERROR] required: Scheme
found: SchemeAsMultiScheme
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[81,1] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
location: class KafkaSpoutTestTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[81,31] error: cannot find symbol
[ERROR] symbol: class ZkHosts
location: class KafkaSpoutTestTopology
/home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[83,20] error: incompatible types
[INFO] 24 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:31 min
[INFO] Finished at: 2014-05-04T13:22:50+05:30
[INFO] Final Memory: 17M/96M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5:compile (default-compile) on project storm-kafka-0.8-plus-test: Compilation failure: Compilation failure:
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[11,18] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
[ERROR] location: package storm.kafka
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[13,18] error: cannot find symbol
[ERROR] symbol: class ZkHosts
[ERROR] location: package storm.kafka
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[28,18] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
[ERROR] location: class SentenceAggregationTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/tools/StormProducer.java:[4,21] error: cannot find symbol
[ERROR] symbol: class KeyedMessage
[ERROR] location: package kafka.producer
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[11,26] error: cannot find symbol
[ERROR] symbol: class GlobalPartitionInformation
[ERROR] location: package storm.kafka.trident
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[33,18] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
[ERROR] location: class KafkaSpoutTestTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[31,26] error: cannot find symbol
[ERROR] symbol: class ZkHosts
[ERROR] location: class SentenceAggregationTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[39,8] error: cannot find symbol
[ERROR] symbol: class TridentKafkaConfig
[ERROR] location: class SentenceAggregationTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[39,45] error: cannot find symbol
[ERROR] symbol: class TridentKafkaConfig
[ERROR] location: class SentenceAggregationTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[41,8] error: cannot find symbol
[ERROR] symbol: class TransactionalTridentKafkaSpout
[ERROR] location: class SentenceAggregationTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/trident/SentenceAggregationTopology.java:[41,56] error: cannot find symbol
[ERROR] symbol: class TransactionalTridentKafkaSpout
[ERROR] location: class SentenceAggregationTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/tools/StormProducer.java:[30,16] error: cannot find symbol
[ERROR] symbol: class KeyedMessage
[ERROR] location: class StormProducer
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/tools/StormProducer.java:[30,56] error: cannot find symbol
[ERROR] symbol: class KeyedMessage
[ERROR] location: class StormProducer
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[30,8] error: cannot find symbol
[ERROR] symbol: class GlobalPartitionInformation
[ERROR] location: class TestTopologyStaticHosts
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[30,60] error: cannot find symbol
[ERROR] symbol: class GlobalPartitionInformation
[ERROR] location: class TestTopologyStaticHosts
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[31,47] error: cannot find symbol
[ERROR] symbol: class Broker
[ERROR] location: class TestTopologyStaticHosts
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[32,8] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
[ERROR] location: class TestTopologyStaticHosts
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[32,38] error: cannot find symbol
[ERROR] symbol: class StaticHosts
[ERROR] location: class TestTopologyStaticHosts
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/TestTopologyStaticHosts.java:[35,29] error: incompatible types
[ERROR] required: Scheme
[ERROR] found: SchemeAsMultiScheme
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[36,26] error: cannot find symbol
[ERROR] symbol: class ZkHosts
[ERROR] location: class KafkaSpoutTestTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[41,29] error: incompatible types
[ERROR] required: Scheme
[ERROR] found: SchemeAsMultiScheme
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[81,1] error: cannot find symbol
[ERROR] symbol: class BrokerHosts
[ERROR] location: class KafkaSpoutTestTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[81,31] error: cannot find symbol
[ERROR] symbol: class ZkHosts
[ERROR] location: class KafkaSpoutTestTopology
[ERROR] /home/santosh/spout/Kafka-Spout/src/main/java/storm/kafka/KafkaSpoutTestTopology.java:[83,20] error: incompatible types
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[santosh@localhost Kafka-Spout]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment