Error while building kafka source using gradle -


i have executed following commands:

   $cd /opt/kafka-0.8.2.1-src/    $gradle 

following error coming:

building project 'core' scala version 2.10.4 :downloadwrapper

failure: build failed exception.

  • what went wrong: not create service of type taskartifactstatecacheaccess using taskexecutionservices.createcacheaccess().

    failed create parent directory '/opt/kafka-0.8.2.1-src/.gradle' when creating directory '/opt/kafka-0.8.2.1-src/.gradle/2.4/taskartifacts'

  • try: run --stacktrace option stack trace. run --info or --debug option more log output.

build failed

total time: 1.511 secs

i cannot figure out going wrong here.

set gradle_user_home variable folder user (running gradle process) has valid "w" write access. it's gradle trying setup .gradle folder create/store it's cache data.

for ex:

gradle_user_home=~/.gradle 

or

gradle_user_home=/some/folder/where/i/have/valid/rwx/access/.gradle 

or

gradle_user_home=~/my_gradle_2_3_cache/.gradle 

that'll resolve it.

run gradle sometaskyoulike , you'll see $gradle_user_home folder containing native , caches folder in it.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -