asterixdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hillery <chill...@hillery.land>
Subject Re: build fail using Ubuntu
Date Fri, 05 May 2017 06:47:02 GMT
Hmm, that error showed up on a different file this time. That does imply
that it really is a open-files limitation.

Are you sure "ulimit -n" now reports 4096?

What environment are you running in? Is this on an AWS node, or virtual
machine, or Docker container, or... ? I know that setting limits with
"ulimit" is not guaranteed to work, since the system itself can enforce
stricter global limits.

Ceej
aka Chris Hillery

On Thu, May 4, 2017 at 11:16 PM, zater <zater@vip.qq.com> wrote:

> set 'ulimit -n 4096 'not works(my ubuntu settings equals to Centos =1024).
> here '打开的文件过多' means too many open files
> more detail  error stacktrack :
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 01:50 min
> [INFO] Finished at: 2017-05-05T14:13:12+08:00
> [INFO] Final Memory: 83M/271M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:
> maven-assembly-plugin:2.6:single (source-release-assembly) on project
> apache-asterixdb: Failed to create assembly: Error creating assembly
> archive source-release: Problem creating zip: /asterixdb/asterixdb/./
> asterix-app/src/test/resources/runtimets/queries_
> sqlpp/dml/insert-into-loaded-dataset-with-index_01/insert-
> into-loaded-dataset-with-index_01.3.ddl.sqlpp (打开的文件过多) -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal org.apache.maven.plugins:maven-assembly-plugin:2.6:single
> (source-release-assembly) on project apache-asterixdb: Failed to create
> assembly: Error creating assembly archive source-release: Problem creating
> zip: /asterixdb/asterixdb/./asterix-app/src/test/
> resources/runtimets/queries_sqlpp/dml/insert-into-loaded-
> dataset-with-index_01/insert-into-loaded-dataset-with-index_01.3.ddl.sqlpp
> (打开的文件过多)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:212)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:116)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.
> buildProject(LifecycleModuleBuilder.java:80)
>         at org.apache.maven.lifecycle.internal.builder.singlethreaded.
> SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.
> execute(LifecycleStarter.java:128)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.
> main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
> create assembly: Error creating assembly archive source-release: Problem
> creating zip: /asterixdb/asterixdb/./asterix-app/src/test/
> resources/runtimets/queries_sqlpp/dml/insert-into-loaded-
> dataset-with-index_01/insert-into-loaded-dataset-with-index_01.3.ddl.sqlpp
> (打开的文件过多)
>         at org.apache.maven.plugin.assembly.mojos.
> AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:541)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(
> DefaultBuildPluginManager.java:134)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:207)
>         ... 20 more
> Caused by: org.apache.maven.plugin.assembly.archive.ArchiveCreationException:
> Error creating assembly archive source-release: Problem creating zip:
> /asterixdb/asterixdb/./asterix-app/src/test/resources/runtimets/queries_
> sqlpp/dml/insert-into-loaded-dataset-with-index_01/insert-
> into-loaded-dataset-with-index_01.3.ddl.sqlpp (打开的文件过多)
>         at org.apache.maven.plugin.assembly.archive.
> DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:185)
>         at org.apache.maven.plugin.assembly.mojos.
> AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:484)
>         ... 22 more
> Caused by: org.codehaus.plexus.archiver.ArchiverException: Problem
> creating zip: /asterixdb/asterixdb/./asterix-app/src/test/
> resources/runtimets/queries_sqlpp/dml/insert-into-loaded-
> dataset-with-index_01/insert-into-loaded-dataset-with-index_01.3.ddl.sqlpp
> (打开的文件过多)
>         at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(
> AbstractArchiver.java:933)
>         at org.apache.maven.plugin.assembly.archive.archiver.
> AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:445)
>         at org.apache.maven.plugin.assembly.archive.
> DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:181)
>         ... 23 more
> Caused by: java.io.FileNotFoundException: /asterixdb/asterixdb/./
> asterix-app/src/test/resources/runtimets/queries_
> sqlpp/dml/insert-into-loaded-dataset-with-index_01/insert-
> into-loaded-dataset-with-index_01.3.ddl.sqlpp (打开的文件过多)
>         at java.io.FileInputStream.open0(Native Method)
>         at java.io.FileInputStream.open(FileInputStream.java:195)
>         at java.io.FileInputStream.<init>(FileInputStream.java:138)
>         at org.codehaus.plexus.components.io.resources.
> PlexusIoFileResource$1.getContents(PlexusIoFileResource.java:99)
>         at org.codehaus.plexus.components.io.resources.
> PlexusIoFileResource.getContents(PlexusIoFileResource.java:124)
>         at org.codehaus.plexus.archiver.ArchiveEntry.getInputStream(
> ArchiveEntry.java:126)
>         at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.
> zipFile(AbstractZipArchiver.java:492)
>         at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.
> addResources(AbstractZipArchiver.java:365)
>         at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.
> createArchiveMain(AbstractZipArchiver.java:321)
>         at org.codehaus.plexus.archiver.zip.AbstractZipArchiver.
> execute(AbstractZipArchiver.java:222)
>         at org.codehaus.plexus.archiver.AbstractArchiver.createArchive(
> AbstractArchiver.java:916)
>         ... 25 more
> [ERROR]
> [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/
> MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :apache-asterixdb
>
>
>
>
>
>
>
>
>
>
>
> ------------------ Original ------------------
> From:  "Chris Hillery";<chillery@hillery.land>;
> Date:  Fri, May 5, 2017 01:59 PM
> To:  "dev"<dev@asterixdb.apache.org>;
> Cc:  "Steven Jacobs"<sjaco002@ucr.edu>;
> Subject:  Re: build fail using Ubuntu
>
>
>
> Ah, that could be it. From what I've seen, Ubuntu tends to have lower
> open-file limit defaults. Try running "ulimit -n" to see the current
> setting, and then "ulimit -n 4096" (or even bigger) to set it to something
> higher. Running maven again after that could work.
>
> Ceej
> aka Chris Hillery
>
> On Thu, May 4, 2017 at 10:37 PM, zater <zater@vip.qq.com> wrote:
>
> > (?.??..浠惰?澶. -> [Help 1]
> > means open too many files.
> >
> >
> >
> >
> > ------------------ Original ------------------
> > From:  "Chris Hillery";<chillery@hillery.land>;
> > Date:  Fri, May 5, 2017 01:28 PM
> > To:  "dev"<dev@asterixdb.apache.org>;
> > Cc:  "Steven Jacobs"<sjaco002@ucr.edu>;
> > Subject:  Re: build fail using Ubuntu
> >
> >
> >
> > Is it possible you ran out of disk space? I'm not sure what else could
> > cause an error creating a zip.
> >
> > Only other thought​ might be something to do with unicode characters,
> > although there don't appear to be any in that .sqlpp file it reported.
> But
> > can you translate any part of this error message? translate.google.com
> > failed me...
> >
> > On May 4, 2017 9:47 PM, "zater" <zater@vip.qq.com> wrote:
> >
> > (?.??..浠惰?澶. -> [Help 1]
> >
> >
> > Ceej
> > aka Chris Hillery
> >
>

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