# The below bugs appers when running esrally

**URL:** <https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [August 3, 2016, 2:50am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063 "2016-08-03T02:50:03Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![laoyang360](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@laoyang360](https://discuss.elastic.co/u/laoyang360)\
**Post date:** [August 8, 2016, 7:40am UTC](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063/25 "2016-08-08T07:40:03Z")

</div>

@danielmitterdorfer:  
I find the new problem:

When I run as root user, running:  
cd /home/elasticsearch/.rally/benchmarks/src  
gradle :distribution:tar:assemble

The result is  
... ....  
deprecated API.  
Note: Recompile with -Xlint:deprecation for details.  
:modules:transport-netty4:processResources UP-TO-DATE  
:modules:transport-netty4:classes  
:modules:transport-netty4:jar  
:modules:transport-netty4:copyPluginPropertiesTemplate  
:modules:transport-netty4:pluginProperties  
:modules:transport-netty4:bundlePlugin  
:distribution:buildModules  
:distribution:tar:buildTar  
:distribution:tar:generatePomFileForNebulaPublication  
:distribution:tar:signArchives SKIPPED  
:distribution:tar:assemble

```
BUILD SUCCESSFUL 

```

But when I run as the "elaticsearch" user, running :  
cd /home/elasticsearch/.rally/benchmarks/src  
gradle :distribution:tar:assemble

The follow errors appers:  
elasticsearch@laoyang src]$ gradle :distribution:tar:assemble  
:buildSrc:compileJava UP-TO-DATE  
:buildSrc:compileGroovy UP-TO-DATE  
:buildSrc:writeVersionProperties UP-TO-DATE  
:buildSrc:processResources UP-TO-DATE  
:buildSrc:classes UP-TO-DATE  
:buildSrc:jar UP-TO-DATE  
:buildSrc:assemble UP-TO-DATE  
:buildSrc:compileTestJava UP-TO-DATE  
:buildSrc:compileTestGroovy UP-TO-DATE  
:buildSrc:processTestResources UP-TO-DATE  
:buildSrc:testClasses UP-TO-DATE  
:buildSrc:test UP-TO-DATE  
:buildSrc:check UP-TO-DATE  
:buildSrc:build UP-TO-DATE  
Download [https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar](https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar)

```
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':benchmarks'.
> Could not resolve all dependencies for configuration ':benchmarks:classpath'.
   > Could not download shadow.jar (com.github.jengelman.gradle.plugins:shadow:1.2.3)
      > Could not get resource 'https://plugins.gradle.org/m2/com/github/jengelman/gradle/plugins/shadow/1.2.3/shadow-1.2.3.jar'.
         > Connection reset

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 5 mins 52.512 secs
```

---

_[View the full topic](https://discuss.elastic.co/t/the-below-bugs-appers-when-running-esrally/57063)._
