Re: Kafka source code - Build Error
I tried both 1.8.0_66 and 1.7.0_80 on IntelliJ and they worked fine. I'm wondering if it is a specific issue for Eclipse? Guozhang On Tue, Oct 24, 2017 at 2:27 PM, Vishal Shukla wrote: > Hi Guozhang, > I am using jdk1.7.0_45 on Mac. > (Eclipse 4.7.1a ) > > As per Kafka documentation Java 7 is recommended , so was thinking this > version should be good. > > Could this be eclipse related error ? > > > > > > > > On Tue, Oct 24, 2017 at 4:28 PM, Ted Yu wrote: > > > JDK 1.8.0_91 > > > > Cheers > > > > On Tue, Oct 24, 2017 at 1:23 PM, Guozhang Wang > wrote: > > > > > Hmm.. which Java version were you using? > > > > > > > > > Guozhang > > > > > > On Tue, Oct 24, 2017 at 1:09 PM, Ted Yu wrote: > > > > > > > This should fix what you observed: > > > > > > > > https://github.com/apache/kafka/pull/4127 > > > > > > > > On Tue, Oct 24, 2017 at 12:21 PM, Vishal Shukla > > > > wrote: > > > > > > > > > Hi All, > > > > > I took latest source code from kafka git repo and tried to setup my > > > local > > > > > env. in Eclipse. > > > > > I am getting a compilation error in 1 file in streams project. > > > > > > > > > > Specifically in file *KStreamImpl.java on line 157* > > > > > > > > > > > > > > > *Type mismatch: cannot convert from KeyValue extends > > > > K1,V> > > > > > to KeyValue* > > > > > > > > > > Is this my local environment issue ? > > > > > Please advise. > > > > > > > > > > [image: Inline image 1] > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > -- Guozhang > > > > > > -- -- Guozhang
Re: Kafka source code - Build Error
Hi Guozhang, I am using jdk1.7.0_45 on Mac. (Eclipse 4.7.1a ) As per Kafka documentation Java 7 is recommended , so was thinking this version should be good. Could this be eclipse related error ? On Tue, Oct 24, 2017 at 4:28 PM, Ted Yu wrote: > JDK 1.8.0_91 > > Cheers > > On Tue, Oct 24, 2017 at 1:23 PM, Guozhang Wang wrote: > > > Hmm.. which Java version were you using? > > > > > > Guozhang > > > > On Tue, Oct 24, 2017 at 1:09 PM, Ted Yu wrote: > > > > > This should fix what you observed: > > > > > > https://github.com/apache/kafka/pull/4127 > > > > > > On Tue, Oct 24, 2017 at 12:21 PM, Vishal Shukla > > > wrote: > > > > > > > Hi All, > > > > I took latest source code from kafka git repo and tried to setup my > > local > > > > env. in Eclipse. > > > > I am getting a compilation error in 1 file in streams project. > > > > > > > > Specifically in file *KStreamImpl.java on line 157* > > > > > > > > > > > > *Type mismatch: cannot convert from KeyValue > > K1,V> > > > > to KeyValue* > > > > > > > > Is this my local environment issue ? > > > > Please advise. > > > > > > > > [image: Inline image 1] > > > > > > > > > > > > > > > > > > > -- > > -- Guozhang > > >
Re: Kafka source code - Build Error
JDK 1.8.0_91 Cheers On Tue, Oct 24, 2017 at 1:23 PM, Guozhang Wang wrote: > Hmm.. which Java version were you using? > > > Guozhang > > On Tue, Oct 24, 2017 at 1:09 PM, Ted Yu wrote: > > > This should fix what you observed: > > > > https://github.com/apache/kafka/pull/4127 > > > > On Tue, Oct 24, 2017 at 12:21 PM, Vishal Shukla > > wrote: > > > > > Hi All, > > > I took latest source code from kafka git repo and tried to setup my > local > > > env. in Eclipse. > > > I am getting a compilation error in 1 file in streams project. > > > > > > Specifically in file *KStreamImpl.java on line 157* > > > > > > > > > *Type mismatch: cannot convert from KeyValue > K1,V> > > > to KeyValue* > > > > > > Is this my local environment issue ? > > > Please advise. > > > > > > [image: Inline image 1] > > > > > > > > > > > > -- > -- Guozhang >
Re: Kafka source code - Build Error
Hmm.. which Java version were you using? Guozhang On Tue, Oct 24, 2017 at 1:09 PM, Ted Yu wrote: > This should fix what you observed: > > https://github.com/apache/kafka/pull/4127 > > On Tue, Oct 24, 2017 at 12:21 PM, Vishal Shukla > wrote: > > > Hi All, > > I took latest source code from kafka git repo and tried to setup my local > > env. in Eclipse. > > I am getting a compilation error in 1 file in streams project. > > > > Specifically in file *KStreamImpl.java on line 157* > > > > > > *Type mismatch: cannot convert from KeyValue K1,V> > > to KeyValue* > > > > Is this my local environment issue ? > > Please advise. > > > > [image: Inline image 1] > > > > > -- -- Guozhang
Re: Kafka source code - Build Error
This should fix what you observed: https://github.com/apache/kafka/pull/4127 On Tue, Oct 24, 2017 at 12:21 PM, Vishal Shukla wrote: > Hi All, > I took latest source code from kafka git repo and tried to setup my local > env. in Eclipse. > I am getting a compilation error in 1 file in streams project. > > Specifically in file *KStreamImpl.java on line 157* > > > *Type mismatch: cannot convert from KeyValue > to KeyValue* > > Is this my local environment issue ? > Please advise. > > [image: Inline image 1] > >
Kafka source code - Build Error
Hi All, I took latest source code from kafka git repo and tried to setup my local env. in Eclipse. I am getting a compilation error in 1 file in streams project. Specifically in file *KStreamImpl.java on line 157* *Type mismatch: cannot convert from KeyValue to KeyValue* Is this my local environment issue ? Please advise. [image: Inline image 1]
Build error using intellij.
Hi, I am trying to build kafka from source code, but i get below error when i try to build the project.(Have use gradle .idea command) and when i try to click on the import statements, they end up opening in test folder of client package and not main package. Any help would be appreciated. /Users/svegesna/svegesna/kafka/log4j-appender/src/main/java/org/apache/kafka/log4jappender/KafkaLog4jAppender.java Error:(19, 41) java: package org.apache.kafka.clients.producer does not exist Error:(20, 41) java: package org.apache.kafka.clients.producer does not exist Error:(21, 41) java: package org.apache.kafka.clients.producer does not exist Error:(22, 41) java: package org.apache.kafka.clients.producer does not exist Error:(23, 38) java: package org.apache.kafka.common.config does not exist Error:(24, 45) java: package org.apache.kafka.common.serialization does not exist Error:(35, 48) java: package org.apache.kafka.clients.producer does not exist Error:(35, 1) java: static import only from classes and interfaces Error:(36, 48) java: package org.apache.kafka.clients.producer does not exist Error:(36, 1) java: static import only from classes and interfaces Error:(37, 48) java: package org.apache.kafka.clients.producer does not exist Error:(37, 1) java: static import only from classes and interfaces Error:(38, 48) java: package org.apache.kafka.clients.producer does not exist Error:(38, 1) java: static import only from classes and interfaces Error:(39, 48) java: package org.apache.kafka.clients.producer does not exist Error:(39, 1) java: static import only from classes and interfaces Error:(40, 39) java: package org.apache.kafka.clients does not exist Error:(40, 1) java: static import only from classes and interfaces Error:(41, 39) java: package org.apache.kafka.clients does not exist Error:(41, 1) java: static import only from classes and interfaces Error:(42, 45) java: package org.apache.kafka.common.config does not exist Error:(42, 1) java: static import only from classes and interfaces Error:(43, 45) java: package org.apache.kafka.common.config does not exist Error:(43, 1) java: static import only from classes and interfaces Error:(44, 45) java: package org.apache.kafka.common.config does not exist Error:(44, 1) java: static import only from classes and interfaces Error:(45, 45) java: package org.apache.kafka.common.config does not exist Error:(45, 1) java: static import only from classes and interfaces Error:(46, 45) java: package org.apache.kafka.common.config does not exist Error:(46, 1) java: static import only from classes and interfaces Error:(47, 45) java: package org.apache.kafka.common.config does not exist Error:(47, 1) java: static import only from classes and interfaces Error:(70, 13) java: cannot find symbol symbol: class Producer location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(72, 12) java: cannot find symbol symbol: class Producer location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(242, 15) java: cannot find symbol symbol: class Producer location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(201, 23) java: cannot find symbol symbol: variable BOOTSTRAP_SERVERS_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(203, 23) java: cannot find symbol symbol: class ConfigException location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(205, 23) java: cannot find symbol symbol: class ConfigException location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(207, 23) java: cannot find symbol symbol: variable COMPRESSION_TYPE_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(209, 23) java: cannot find symbol symbol: variable ACKS_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(211, 23) java: cannot find symbol symbol: variable RETRIES_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(213, 23) java: cannot find symbol symbol: variable SECURITY_PROTOCOL_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(217, 23) java: cannot find symbol symbol: variable SSL_TRUSTSTORE_LOCATION_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(218, 23) java: cannot find symbol symbol: variable SSL_TRUSTSTORE_PASSWORD_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(222, 27) java: cannot find symbol symbol: variable SSL_KEYSTORE_TYPE_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(223, 27) java: cannot find symbol symbol: variable SSL_KEYSTORE_LOCATION_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(224, 27) java: cannot find symbol symbol: variable SSL_KEYSTORE_PASSWORD_CONFIG location: class org.apache.kafka.log4jappender.KafkaLog4jAppender Error:(228, 23) java: cannot find
Re: Gradle build error
Hi Oliver, You need gradle 2.x to build Kafka. Ismael On 27 Dec 2015 18:10, "Oliver Pačut" wrote: I have Gradle 1.4, Groovy 1.8.6, Ant 1.9.3. I followed the included Readme. I cd'd to the kafka directory and just wrote "gradle". I also tried running "./bin/kafka-server-start.sh ./config/server.properties" And that gets me the error "Could not find or load main class Kafka.kafka" Oliver > What version of Gradle are you using and can you give the exact command > you're running? > > -Ewen > > On Wed, Dec 23, 2015 at 5:49 PM, Oliver Pačut > wrote: > > > Hello, > > > > I am having trouble using Gradle to build Kafka. I get the error: > > > > > > FAILURE: Build failed with an exception. > > > > *Where: > > Build file '/home/user/Desktop/kafka/build.gradle' line: 163 > > > > * What went wrong: > > A problem occurred evaluating root project 'kafka'. > > > Could not find property 'ScalaPlugin' on project ':clients'. > > > > > > I've tried reinstalling gradle and re-downloading Kafka, to no success. I > > have trouble understanding what exactly I am supposed to do; what is the > > error. > > > > Thank You in advance and Merry Christmas, > > > > O.P. > > > > > > -- > Thanks, > Ewen
Re: Gradle build error
I have Gradle 1.4, Groovy 1.8.6, Ant 1.9.3. I followed the included Readme. I cd'd to the kafka directory and just wrote "gradle". I also tried running "./bin/kafka-server-start.sh ./config/server.properties" And that gets me the error "Could not find or load main class Kafka.kafka" Oliver > What version of Gradle are you using and can you give the exact command > you're running? > > -Ewen > > On Wed, Dec 23, 2015 at 5:49 PM, Oliver Pačut > wrote: > > > Hello, > > > > I am having trouble using Gradle to build Kafka. I get the error: > > > > > > FAILURE: Build failed with an exception. > > > > *Where: > > Build file '/home/user/Desktop/kafka/build.gradle' line: 163 > > > > * What went wrong: > > A problem occurred evaluating root project 'kafka'. > > > Could not find property 'ScalaPlugin' on project ':clients'. > > > > > > I've tried reinstalling gradle and re-downloading Kafka, to no success. I > > have trouble understanding what exactly I am supposed to do; what is the > > error. > > > > Thank You in advance and Merry Christmas, > > > > O.P. > > > > > > -- > Thanks, > Ewen
Re: Gradle build error
What version of Gradle are you using and can you give the exact command you're running? -Ewen On Wed, Dec 23, 2015 at 5:49 PM, Oliver Pačut wrote: > Hello, > > I am having trouble using Gradle to build Kafka. I get the error: > > > FAILURE: Build failed with an exception. > > *Where: > Build file '/home/user/Desktop/kafka/build.gradle' line: 163 > > * What went wrong: > A problem occurred evaluating root project 'kafka'. > > Could not find property 'ScalaPlugin' on project ':clients'. > > > I've tried reinstalling gradle and re-downloading Kafka, to no success. I > have trouble understanding what exactly I am supposed to do; what is the > error. > > Thank You in advance and Merry Christmas, > > O.P. > -- Thanks, Ewen
Gradle build error
Hello, I am having trouble using Gradle to build Kafka. I get the error: FAILURE: Build failed with an exception. *Where: Build file '/home/user/Desktop/kafka/build.gradle' line: 163 * What went wrong: A problem occurred evaluating root project 'kafka'. > Could not find property 'ScalaPlugin' on project ':clients'. I've tried reinstalling gradle and re-downloading Kafka, to no success. I have trouble understanding what exactly I am supposed to do; what is the error. Thank You in advance and Merry Christmas, O.P.
Re: build error
Glad you resolved it. Note that we are currently on gradle 2.8 and likely 2.9 soon feel free to update whenever makes sense for you. Ewen recently updated the developer setup page here <https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup> to show how to use the wrapper effectively in the Kafka repository. Since we do not checkin the wrapper jar, you need to execute the default gradle task by simply executing `gradle` before running and gradle wrapper tasks. See here <http://search-hadoop.com/m/uyzND1GtKrd1nxbcE1/The+wrapper+should+be+in+the+repository&subj=+gradle+build+The+wrapper+should+be+in+the+repository> for the related email chain. On Tue, Nov 17, 2015 at 10:27 AM, hsy...@gmail.com wrote: > I got main class not found error. So I installed gradle 2.5 and run gradle > build (not the wrapper) > > On Mon, Nov 16, 2015 at 10:17 PM, Guozhang Wang > wrote: > > > Did you just use "./gradlew build" in root directory? > > > > Guozhang > > > > On Mon, Nov 16, 2015 at 6:41 PM, hsy...@gmail.com > > wrote: > > > > > The actual thing I want to do is I want to build and install in my > local > > > maven repository so I can include new api in my dependencies. When the > > > release is officially out, I can have both my code ready with the > > official > > > maven dependency > > > > > > Thanks, > > > Siyuan > > > > > > On Monday, November 16, 2015, Grant Henke wrote: > > > > > > > Hi Siyuan, > > > > > > > > My guess is that you are trying to build from a subdirectory. I have > a > > > > minor patch available to fix this that has not been pulled in yet > here: > > > > https://github.com/apache/kafka/pull/509 > > > > > > > > In the mean time, if you need to build a subproject you can execute a > > > > command like the following: > > > > gradle clients:build > > > > > > > > Thanks, > > > > Grant > > > > > > > > On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang > > > > wrote: > > > > > > > > > Siyuan, > > > > > > > > > > Which command did you use to build? > > > > > > > > > > Guozhang > > > > > > > > > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com < > > > > hsy...@gmail.com > > > > > > wrote: > > > > > > > > > > > I got a build error on both trunk and 0.9.0 branch > > > > > > > > > > > > > docs/producer_config.html (No such file or directory) > > > > > > > > > > > > Do I miss anything before build > > > > > > > > > > > > Thanks, > > > > > > Siyuan > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > -- Guozhang > > > > > > > > > > > > > > > > > > > > > -- > > > > Grant Henke > > > > Software Engineer | Cloudera > > > > gr...@cloudera.com | twitter.com/gchenke | > > > > linkedin.com/in/granthenke > > > > > > > > > > > > > > > -- > > -- Guozhang > > > -- Grant Henke Software Engineer | Cloudera gr...@cloudera.com | twitter.com/gchenke | linkedin.com/in/granthenke
Re: build error
And I couldn't find wrapper jar files under the gradle folder https://github.com/apache/kafka/tree/0.9.0/gradle On Mon, Nov 16, 2015 at 10:17 PM, Guozhang Wang wrote: > Did you just use "./gradlew build" in root directory? > > Guozhang > > On Mon, Nov 16, 2015 at 6:41 PM, hsy...@gmail.com > wrote: > > > The actual thing I want to do is I want to build and install in my local > > maven repository so I can include new api in my dependencies. When the > > release is officially out, I can have both my code ready with the > official > > maven dependency > > > > Thanks, > > Siyuan > > > > On Monday, November 16, 2015, Grant Henke wrote: > > > > > Hi Siyuan, > > > > > > My guess is that you are trying to build from a subdirectory. I have a > > > minor patch available to fix this that has not been pulled in yet here: > > > https://github.com/apache/kafka/pull/509 > > > > > > In the mean time, if you need to build a subproject you can execute a > > > command like the following: > > > gradle clients:build > > > > > > Thanks, > > > Grant > > > > > > On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang > > > wrote: > > > > > > > Siyuan, > > > > > > > > Which command did you use to build? > > > > > > > > Guozhang > > > > > > > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com < > > > hsy...@gmail.com > > > > > wrote: > > > > > > > > > I got a build error on both trunk and 0.9.0 branch > > > > > > > > > > > docs/producer_config.html (No such file or directory) > > > > > > > > > > Do I miss anything before build > > > > > > > > > > Thanks, > > > > > Siyuan > > > > > > > > > > > > > > > > > > > > > -- > > > > -- Guozhang > > > > > > > > > > > > > > > > -- > > > Grant Henke > > > Software Engineer | Cloudera > > > gr...@cloudera.com | twitter.com/gchenke | > > > linkedin.com/in/granthenke > > > > > > > > > -- > -- Guozhang >
Re: build error
I got main class not found error. So I installed gradle 2.5 and run gradle build (not the wrapper) On Mon, Nov 16, 2015 at 10:17 PM, Guozhang Wang wrote: > Did you just use "./gradlew build" in root directory? > > Guozhang > > On Mon, Nov 16, 2015 at 6:41 PM, hsy...@gmail.com > wrote: > > > The actual thing I want to do is I want to build and install in my local > > maven repository so I can include new api in my dependencies. When the > > release is officially out, I can have both my code ready with the > official > > maven dependency > > > > Thanks, > > Siyuan > > > > On Monday, November 16, 2015, Grant Henke wrote: > > > > > Hi Siyuan, > > > > > > My guess is that you are trying to build from a subdirectory. I have a > > > minor patch available to fix this that has not been pulled in yet here: > > > https://github.com/apache/kafka/pull/509 > > > > > > In the mean time, if you need to build a subproject you can execute a > > > command like the following: > > > gradle clients:build > > > > > > Thanks, > > > Grant > > > > > > On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang > > > wrote: > > > > > > > Siyuan, > > > > > > > > Which command did you use to build? > > > > > > > > Guozhang > > > > > > > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com < > > > hsy...@gmail.com > > > > > wrote: > > > > > > > > > I got a build error on both trunk and 0.9.0 branch > > > > > > > > > > > docs/producer_config.html (No such file or directory) > > > > > > > > > > Do I miss anything before build > > > > > > > > > > Thanks, > > > > > Siyuan > > > > > > > > > > > > > > > > > > > > > -- > > > > -- Guozhang > > > > > > > > > > > > > > > > -- > > > Grant Henke > > > Software Engineer | Cloudera > > > gr...@cloudera.com | twitter.com/gchenke | > > > linkedin.com/in/granthenke > > > > > > > > > -- > -- Guozhang >
Re: build error
I too would like to understand the command you used to build and what directory. That aside it is likely best to test using the release candidate artifacts that are described in Jun's email here: http://search-hadoop.com/m/uyzND1bBATE1M3hVn/candidate&subj=+VOTE+0+9+0+0+Candiate+2 This gives you all built artifacts and a maven repo <https://repository.apache.org/content/groups/staging/> with the client artifacts <https://repository.apache.org/content/groups/staging/org/apache/kafka/kafka-clients/0.9.0.0/> . Thanks, Grant On Tue, Nov 17, 2015 at 12:17 AM, Guozhang Wang wrote: > Did you just use "./gradlew build" in root directory? > > Guozhang > > On Mon, Nov 16, 2015 at 6:41 PM, hsy...@gmail.com > wrote: > > > The actual thing I want to do is I want to build and install in my local > > maven repository so I can include new api in my dependencies. When the > > release is officially out, I can have both my code ready with the > official > > maven dependency > > > > Thanks, > > Siyuan > > > > On Monday, November 16, 2015, Grant Henke wrote: > > > > > Hi Siyuan, > > > > > > My guess is that you are trying to build from a subdirectory. I have a > > > minor patch available to fix this that has not been pulled in yet here: > > > https://github.com/apache/kafka/pull/509 > > > > > > In the mean time, if you need to build a subproject you can execute a > > > command like the following: > > > gradle clients:build > > > > > > Thanks, > > > Grant > > > > > > On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang > > > wrote: > > > > > > > Siyuan, > > > > > > > > Which command did you use to build? > > > > > > > > Guozhang > > > > > > > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com < > > > hsy...@gmail.com > > > > > wrote: > > > > > > > > > I got a build error on both trunk and 0.9.0 branch > > > > > > > > > > > docs/producer_config.html (No such file or directory) > > > > > > > > > > Do I miss anything before build > > > > > > > > > > Thanks, > > > > > Siyuan > > > > > > > > > > > > > > > > > > > > > -- > > > > -- Guozhang > > > > > > > > > > > > > > > > -- > > > Grant Henke > > > Software Engineer | Cloudera > > > gr...@cloudera.com | twitter.com/gchenke | > > > linkedin.com/in/granthenke > > > > > > > > > -- > -- Guozhang > -- Grant Henke Software Engineer | Cloudera gr...@cloudera.com | twitter.com/gchenke | linkedin.com/in/granthenke
Re: build error
Did you just use "./gradlew build" in root directory? Guozhang On Mon, Nov 16, 2015 at 6:41 PM, hsy...@gmail.com wrote: > The actual thing I want to do is I want to build and install in my local > maven repository so I can include new api in my dependencies. When the > release is officially out, I can have both my code ready with the official > maven dependency > > Thanks, > Siyuan > > On Monday, November 16, 2015, Grant Henke wrote: > > > Hi Siyuan, > > > > My guess is that you are trying to build from a subdirectory. I have a > > minor patch available to fix this that has not been pulled in yet here: > > https://github.com/apache/kafka/pull/509 > > > > In the mean time, if you need to build a subproject you can execute a > > command like the following: > > gradle clients:build > > > > Thanks, > > Grant > > > > On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang > > wrote: > > > > > Siyuan, > > > > > > Which command did you use to build? > > > > > > Guozhang > > > > > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com < > > hsy...@gmail.com > > > > wrote: > > > > > > > I got a build error on both trunk and 0.9.0 branch > > > > > > > > > docs/producer_config.html (No such file or directory) > > > > > > > > Do I miss anything before build > > > > > > > > Thanks, > > > > Siyuan > > > > > > > > > > > > > > > > -- > > > -- Guozhang > > > > > > > > > > > -- > > Grant Henke > > Software Engineer | Cloudera > > gr...@cloudera.com | twitter.com/gchenke | > > linkedin.com/in/granthenke > > > -- -- Guozhang
Re: build error
The actual thing I want to do is I want to build and install in my local maven repository so I can include new api in my dependencies. When the release is officially out, I can have both my code ready with the official maven dependency Thanks, Siyuan On Monday, November 16, 2015, Grant Henke wrote: > Hi Siyuan, > > My guess is that you are trying to build from a subdirectory. I have a > minor patch available to fix this that has not been pulled in yet here: > https://github.com/apache/kafka/pull/509 > > In the mean time, if you need to build a subproject you can execute a > command like the following: > gradle clients:build > > Thanks, > Grant > > On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang > wrote: > > > Siyuan, > > > > Which command did you use to build? > > > > Guozhang > > > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com < > hsy...@gmail.com > > > wrote: > > > > > I got a build error on both trunk and 0.9.0 branch > > > > > > > docs/producer_config.html (No such file or directory) > > > > > > Do I miss anything before build > > > > > > Thanks, > > > Siyuan > > > > > > > > > > > -- > > -- Guozhang > > > > > > -- > Grant Henke > Software Engineer | Cloudera > gr...@cloudera.com | twitter.com/gchenke | > linkedin.com/in/granthenke >
Re: build error
Hi Siyuan, My guess is that you are trying to build from a subdirectory. I have a minor patch available to fix this that has not been pulled in yet here: https://github.com/apache/kafka/pull/509 In the mean time, if you need to build a subproject you can execute a command like the following: gradle clients:build Thanks, Grant On Mon, Nov 16, 2015 at 6:33 PM, Guozhang Wang wrote: > Siyuan, > > Which command did you use to build? > > Guozhang > > On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com > wrote: > > > I got a build error on both trunk and 0.9.0 branch > > > > > docs/producer_config.html (No such file or directory) > > > > Do I miss anything before build > > > > Thanks, > > Siyuan > > > > > > -- > -- Guozhang > -- Grant Henke Software Engineer | Cloudera gr...@cloudera.com | twitter.com/gchenke | linkedin.com/in/granthenke
Re: build error
Siyuan, Which command did you use to build? Guozhang On Mon, Nov 16, 2015 at 4:01 PM, hsy...@gmail.com wrote: > I got a build error on both trunk and 0.9.0 branch > > > docs/producer_config.html (No such file or directory) > > Do I miss anything before build > > Thanks, > Siyuan > -- -- Guozhang
build error
I got a build error on both trunk and 0.9.0 branch > docs/producer_config.html (No such file or directory) Do I miss anything before build Thanks, Siyuan
Re: kafka build error scala 2.10
yes it worked thanks. Regards, Pushkar On Thu, Dec 19, 2013 at 10:49 AM, Jun Rao wrote: > Could you try just excluding Annotation_2.8.scala? > > Thanks, > > Jun > > > On Wed, Dec 18, 2013 at 8:56 PM, pushkar priyadarshi < > priyadarshi.push...@gmail.com> wrote: > > > i see two files name Annotation_2.8.scala and Annotation_2.9.scala. > > Excluding them does not help.Is this what you were referring to? > > > > Regards, > > Pushkar > > > > > > On Wed, Dec 18, 2013 at 9:52 PM, Jun Rao wrote: > > > > > You may have to exclude Annotations.scala. > > > > > > Thanks, > > > > > > Jun > > > > > > > > > On Wed, Dec 18, 2013 at 12:16 AM, pushkar priyadarshi < > > > priyadarshi.push...@gmail.com> wrote: > > > > > > > While doing dev setup as described in > > > > https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup > > > > > > > > im getting following build errors. > > > > > > > > immutable is already defined as class immutable > Annotations_2.9+.scala > > > > /KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem > > > > > > > > threadsafe is already defined as class threadsafe > > Annotations_2.9+.scala > > > > /KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem > > > > > > > > nonthreadsafe is already defined as class nonthreadsafe > > > > Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils > > > > line 33 Scala > > > > Problem > > > > > > > > > > > > This error is coming from a file > > > > Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala > > > > > > > > Please note that i had to install scala 2.10 eclipse plugin as Juno > had > > > > some problem with 2.9. > > > > > > > > > > > > Regards, > > > > > > > > Pushkar > > > > > > > > > >
Re: kafka build error scala 2.10
Could you try just excluding Annotation_2.8.scala? Thanks, Jun On Wed, Dec 18, 2013 at 8:56 PM, pushkar priyadarshi < priyadarshi.push...@gmail.com> wrote: > i see two files name Annotation_2.8.scala and Annotation_2.9.scala. > Excluding them does not help.Is this what you were referring to? > > Regards, > Pushkar > > > On Wed, Dec 18, 2013 at 9:52 PM, Jun Rao wrote: > > > You may have to exclude Annotations.scala. > > > > Thanks, > > > > Jun > > > > > > On Wed, Dec 18, 2013 at 12:16 AM, pushkar priyadarshi < > > priyadarshi.push...@gmail.com> wrote: > > > > > While doing dev setup as described in > > > https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup > > > > > > im getting following build errors. > > > > > > immutable is already defined as class immutable Annotations_2.9+.scala > > > /KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem > > > > > > threadsafe is already defined as class threadsafe > Annotations_2.9+.scala > > > /KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem > > > > > > nonthreadsafe is already defined as class nonthreadsafe > > > Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils > > > line 33 Scala > > > Problem > > > > > > > > > This error is coming from a file > > > Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala > > > > > > Please note that i had to install scala 2.10 eclipse plugin as Juno had > > > some problem with 2.9. > > > > > > > > > Regards, > > > > > > Pushkar > > > > > >
Re: kafka build error scala 2.10
i see two files name Annotation_2.8.scala and Annotation_2.9.scala. Excluding them does not help.Is this what you were referring to? Regards, Pushkar On Wed, Dec 18, 2013 at 9:52 PM, Jun Rao wrote: > You may have to exclude Annotations.scala. > > Thanks, > > Jun > > > On Wed, Dec 18, 2013 at 12:16 AM, pushkar priyadarshi < > priyadarshi.push...@gmail.com> wrote: > > > While doing dev setup as described in > > https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup > > > > im getting following build errors. > > > > immutable is already defined as class immutable Annotations_2.9+.scala > > /KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem > > > > threadsafe is already defined as class threadsafe Annotations_2.9+.scala > > /KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem > > > > nonthreadsafe is already defined as class nonthreadsafe > > Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils > > line 33 Scala > > Problem > > > > > > This error is coming from a file > > Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala > > > > Please note that i had to install scala 2.10 eclipse plugin as Juno had > > some problem with 2.9. > > > > > > Regards, > > > > Pushkar > > >
Re: kafka build error scala 2.10
You may have to exclude Annotations.scala. Thanks, Jun On Wed, Dec 18, 2013 at 12:16 AM, pushkar priyadarshi < priyadarshi.push...@gmail.com> wrote: > While doing dev setup as described in > https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup > > im getting following build errors. > > immutable is already defined as class immutable Annotations_2.9+.scala > /KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem > > threadsafe is already defined as class threadsafe Annotations_2.9+.scala > /KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem > > nonthreadsafe is already defined as class nonthreadsafe > Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils > line 33 Scala > Problem > > > This error is coming from a file > Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala > > Please note that i had to install scala 2.10 eclipse plugin as Juno had > some problem with 2.9. > > > Regards, > > Pushkar >
kafka build error scala 2.10
While doing dev setup as described in https://cwiki.apache.org/confluence/display/KAFKA/Developer+Setup im getting following build errors. immutable is already defined as class immutable Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils line 38 Scala Problem threadsafe is already defined as class threadsafe Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils line 28 Scala Problem nonthreadsafe is already defined as class nonthreadsafe Annotations_2.9+.scala /KafkaEclipse/core/src/main/scala/kafka/utils line 33 Scala Problem This error is coming from a file Util /kafka/src/main/scala/kafka/utils/Annotations_2.9+.scala Please note that i had to install scala 2.10 eclipse plugin as Juno had some problem with 2.9. Regards, Pushkar