kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayesh Thakrar <j_thak...@yahoo.com.INVALID>
Subject Newbie Developer question
Date Thu, 04 Jun 2015 21:04:45 GMT
My apologies in advance - for cross-posting the question in both Dev and User user-groups 

Hi,
I have been using Kafka as DevOps user for a few months now and am now looking at "building/testing"
Kafka from source code.My gradle build is failing (source from GitHub) with the error show
below.This is a windows laptop with 4 GB memory and about 3 GB free RAM.I have also tried
increasing the heap size (-Xmx) to 1500m, but that did not help too.
I am sure this is something very basic, but can't seem to be able to figure out.Thanks,Jayesh

C:\Users\jthakrar\Jayesh\Downloads\kafka\kafka>gradle --info --debug14:00:39.314 [LIFECYCLE]
[org.gradle.launcher.daemon.client.SingleUseDaemonClient] To honour the JVM settings for this
build a new JVM will be forked. Please consider using the daemon: http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html.14:00:39.318
[INFO] [org.gradle.launcher.daemon.client.DefaultDaemonConnector] Starting Gradle daemon14:00:39.336
[DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Using daemon opts: [-XX:MaxPermSize=512m,
-Xmx1024m, -Dfile.encoding=windows-1252, -Duser.country=US, -Duser.language=en, -Duser.variant]14:00:39.337
[INFO] [org.gradle.launcher.daemon.client.DefaultDaemonStarter] Starting daemon process: workingDir
= C:\Users\jthakrar\.gradle\daemon\2.2.1, daemonArgs: [C:\Program Files (x86)\Java\jdk1.7.0_07\bin\java.exe,
-XX:MaxPermSize=512m, -Xmx1024m, -Dfile.encoding=windows-1252, -Duser.country=US, -Duser.language=en,
-Duser.variant, -cp, C:\Users\jthakrar\Jayesh\Downloads\Graddle\gradle-2.2.1\lib\gradle-launcher-2.2.1.jar,
org.gradle.launcher.daemon.bootstrap.GradleDaemon, 2.2.1, C:\Users\jthakrar\.gradle\daemon,
120000, b71a3ff7-2bc6-442d-a470-a5be0eec3b37, -XX:MaxPermSize=512m, -Xmx1024m, -Dfile.encoding=windows-1252,
-Duser.country=US, -Duser.language=en, -Duser.variant]14:00:39.357 [INFO] [org.gradle.process.internal.DefaultExecHandle]
Starting process 'Gradle build daemon'. Working directory: C:\Users\jthakrar\.gradle\daemon\2.2.1
Command:C:\Program Files (x86)\Java\jdk1.7.0_07\bin\java.exe -XX:MaxPermSize=512m -Xmx1024m
-Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en -Duser.variant -cp C:\Users\jthakrar\Jayesh\Downloads\Graddle\gradle-2.2.1\lib\gradle-launcher-2.2.1.jar
org.gradle.launcher.daemon.bootstrap.GradleDaemon 2.2.1 C:\Users\jthakrar\.gradle\daemon 120000 b71a3ff7-2bc6-442d-a470-a5be0eec3b37
-XX:MaxPermSize=512m -Xmx1024m -Dfile.encoding=windows-1252 -Duser.country=US -Duser.language=en
-Duser.variant14:00:39.360 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment
for process 'Gradle build daemon': {CMD_LINE_ARGS=--info --debug, USERPROFILE=C:\Users\jthakrar,
DIRNAME=C:\Users\jthakrar\Jayesh\Downloads\Graddle\gradle-2.2.1\bin\, JAVA_HOME=C:\Program
Files (x86)\Java\jdk1.7.0_07, SystemDrive=C:, M2=C:\Program Files\Apache Software Foundation\apache-maven-3.0.5\bin,
Path=C:\Ruby22-x64\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program
Files (x86)\Common Files\Microsoft Shared\Windows Live;c:\Rtools\bin;c:\Rtools\gcc-4.6.3\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Apache Software Foundation\apache-maven-3.0.5\bin;C:\Python27;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program
Files (x86)\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\Users\jthakrar\Jayesh\Downloads\Subversion\Apache-Subversion-1.8.0\bin;C:\Program
Files (x86)\Java\jdk1.7.0_07\bin;C:\Anaconda;C:\Anaconda\Scripts;C:\Users\jthakrar\Jayesh\Downloads\Protobuf\protoc-2.5.0-win32;C:\Program
Files (x86)\Windows Live\Shared;C:\Program Files (x86)\sbt;C:\Program Files (x86)\sbt\\bin;C:\Users\jthakrar\Jayesh\Downloads\MongoDB\mongodb-win32-x86_64-2008plus-2.6.5\mongodb-win32-x86_64-2008plus-2.6.5\bin;C:\Users\jthakrar\Jayesh\Downloads\Storm\apache-storm-0.9.3-src.tar\apache-storm-0.9.3\bin;C:\Program
Files (x86)\scala\bin;C:\Users\jthakrar\Jayesh\Downloads\Graddle\gradle-2.2.1\bin;C:\Users\jthakrar\Jayesh\Downloads\Graddle\gradle-2.2.1\bin,
_SKIP=2, PROCESSOR_REVISION=3a09, USERDOMAIN=CORP, ALLUSERSPROFILE=C:\ProgramData, SESSIONNAME=Console,
M2_OPTS=-Xms256m -Xmx512m, TMP=C:\Users\jthakrar\AppData\Local\Temp, M2_HOME=C:\Program Files\Apache
Software Foundation\apache-maven-3.0.5, LOGONSERVER=\\CHI-DC102, CommonProgramFiles=C:\Program
Files (x86)\Common Files, PROMPT=$P$G, PROCESSOR_LEVEL=6, LOCALAPPDATA=C:\Users\jthakrar\AppData\Local,
COMPUTERNAME=CHI-JTHAKRAR, SystemRoot=C:\WINDOWS, USERNAME=jthakrar, APP_BASE_NAME=gradle,
APPDATA=C:\Users\jthakrar\AppData\Roaming, ProgramData=C:\ProgramData, PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC,
USERDNSDOMAIN=CORP.VALUECLICK.COM, JAVA_EXE=C:\Program Files (x86)\Java\jdk1.7.0_07/bin/java.exe,
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log, ProgramFiles(x86)=C:\Program
Files (x86), APP_HOME=C:\Users\jthakrar\Jayesh\Downloads\Graddle\gradle-2.2.1\bin\.., TEMP=C:\Users\jthakrar\AppData\Local\Temp,
windows_tracing_flags=3, ProgramFiles=C:\Program Files (x86), HOMEDRIVE=C:, =C:=C:\Users\jthakrar\Jayesh\Downloads\kafka\kafka,
UATDATA=C:\WINDOWS\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77, QTJAVA=C:\Program Files
(x86)\Java\jre7\lib\ext\QTJava.zip, ProgramW6432=C:\Program Files, PROCESSOR_IDENTIFIER=Intel64
Family 6 Model 58 Stepping 9, GenuineIntel, MAVEN_OPTS=-Xmx1024m, PROCESSOR_ARCHITECTURE=x86,
CLASSPATH=C:\Users\jthakrar\Jayesh\Downloads\Graddle\gradle-2.2.1\bin\..\lib\gradle-launcher-2.2.1.jar,
PROCESSOR_ARCHITEW6432=AMD64, OS=Windows_NT, FP_NO_HOST_CHECK=NO, HOMEPATH=\Users\jthakrar,
CommonProgramW6432=C:\Program Files\Common Files, SBT_HOME=C:\Program Files (x86)\sbt\, windir=C:\WINDOWS,
NUMBER_OF_PROCESSORS=4, PSModulePath=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\;c:\Program
Files\Microsoft Security Client\MpProvider\, PUBLIC=C:\Users\Public, CommonProgramFiles(x86)=C:\Program
Files (x86)\Common Files, ComSpec=C:\WINDOWS\system32\cmd.exe}14:00:39.364 [DEBUG] [org.gradle.process.internal.DefaultExecHandle]
Changing state to: STARTING14:00:39.367 [DEBUG] [org.gradle.process.internal.DefaultExecHandle]
Waiting until process started: Gradle build daemon.14:00:39.377 [DEBUG] [org.gradle.process.internal.DefaultExecHandle]
Changing state to: STARTED14:00:39.379 [DEBUG] [org.gradle.process.internal.ExecHandleRunner]
waiting until streams are handled...14:00:39.381 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer]
Starting consuming the daemon process output.14:00:39.379 [INFO] [org.gradle.process.internal.DefaultExecHandle]
Successfully started process 'Gradle build daemon'14:00:39.387 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter]
Gradle daemon process is starting. Waiting for the daemon to detach...14:00:39.397 [DEBUG]
[org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer] daemon out: Error occurred during
initialization of VM14:00:39.400 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer]
daemon out: Could not reserve enough space for object heap14:00:39.405 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer]
daemon out: Error: Could not create the Java Virtual Machine.14:00:39.408 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer]
daemon out: Error: A fatal exception has occurred. Program will exit.14:00:39.409 [DEBUG]
[org.gradle.process.internal.DefaultExecHandle] Changing state to: DETACHED14:00:39.412 [DEBUG]
[org.gradle.process.internal.DefaultExecHandle] Process 'Gradle build daemon' finished with
exit value 0 (state: DETACHED)14:00:39.413 [DEBUG] [org.gradle.launcher.daemon.client.DefaultDaemonStarter]
Gradle daemon process is now detached.14:00:39.415 [INFO] [org.gradle.launcher.daemon.client.DefaultDaemonStarter]
An attempt to start the daemon took 0.076 secs.14:00:39.420 [ERROR] [org.gradle.BuildExceptionReporter]14:00:39.421
[ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.14:00:39.424
[ERROR] [org.gradle.BuildExceptionReporter]14:00:39.426 [ERROR] [org.gradle.BuildExceptionReporter]
* What went wrong:14:00:39.427 [ERROR] [org.gradle.BuildExceptionReporter] Unable to start
the daemon process.This problem might be caused by incorrect configuration of the daemon.For
example, an unrecognized jvm option is used.Please refer to the user guide chapter on the
daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.htmlPlease read the following
process output to find out more:-----------------------Error occurred during initialization
of VM14:00:39.436 [ERROR] [org.gradle.BuildExceptionReporter] Could not reserve enough space
for object heap14:00:39.437 [ERROR] [org.gradle.BuildExceptionReporter] Error: Could not create
the Java Virtual Machine.14:00:39.439 [ERROR] [org.gradle.BuildExceptionReporter] Error: A
fatal exception has occurred. Program will exit.14:00:39.441 [ERROR] [org.gradle.BuildExceptionReporter]14:00:39.442
[ERROR] [org.gradle.BuildExceptionReporter]14:00:39.444 [ERROR] [org.gradle.BuildExceptionReporter]
* Try:14:00:39.445 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option
to get the stack trace.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message