You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Bob Li <27...@qq.com> on 2017/07/26 05:03:52 UTC

Zeppelin-0.7.2: java.lang.IllegalArgumentException: Command line can not be null

after worked with Ignite 2.0,  it got such exception like the topic.

Its JDBC configuration is done like the following:

name	value
ignite.addresses	192.18.134.122:47500..47509
ignite.clientMode	true
ignite.config.url	
ignite.jdbc.url	jdbc:ignite://192.18.134.122:11211/myCache
ignite.peerClassLoadingEnabled	true
  
when I ran "%ignite.ignitesql select id from Person" in my notebook, the
above exception came out.

why?






--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zeppelin-0-7-2-java-lang-IllegalArgumentException-Command-line-can-not-be-null-tp15680.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Zeppelin-0.7.2: java.lang.IllegalArgumentException: Command line can not be null

Posted by "slava.koptilin" <sl...@gmail.com>.
Hello,

I see only the following error: Could not extract archive:
'D:\installed\apache-maven-3.5.0\repository\com\github\eirslett\yarn\0.18.1\yarn-0.18.1.\yarn-v0.18.1.tar.gz' 
and It seems it is not related to Ignite.

I think, it would be better to ask Apache Zeppelin community about that
(users@zeppelin.apache.org)

Thanks!



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zeppelin-0-7-2-java-lang-IllegalArgumentException-Command-line-can-not-be-null-tp15680p15726.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Zeppelin-0.7.2: java.lang.IllegalArgumentException: Command line can not be null

Posted by Bob Li <27...@qq.com>.
thanks.

I downloaded incubator-zeppelin 's codes, ran "mvn install
-Dignite-version=2.0.0 -DskipTests",
encountered the following errors:

[INFO] Installing Yarn version v0.18.1
[WARNING] Failed to delete existing Yarn installation.
[INFO] Unpacking
D:\installed\apache-maven-3.5.0\repository\com\github\eirslett\yarn\0.18.1\yarn-0.18.1.\yarn-v0.18.1.tar.gz
into D:\oss\incubator-zeppelin\zepp
elin-web\node\yarn
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [08:28
min]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 19.046
s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 15.368
s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [  5.746
s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [01:50
min]
[INFO] Zeppelin: Groovy interpreter ....................... SUCCESS [  7.989
s]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 13.077
s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [  3.769
s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [  3.710
s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [  3.921
s]
[INFO] Zeppelin: Livy interpreter ......................... SUCCESS [  9.666
s]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [  8.000
s]
[INFO] Zeppelin: Apache Pig Interpreter ................... SUCCESS [  8.971
s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [  4.558
s]
[INFO] Zeppelin: File System Interpreters ................. SUCCESS [  4.318
s]
[INFO] Zeppelin: Flink .................................... SUCCESS [  6.369
s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [  3.694
s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [  3.390
s]
[INFO] Zeppelin: Python interpreter ....................... SUCCESS [ 43.532
s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [  6.363
s]
[INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [ 13.985
s]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [  6.491
s]
[INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [  3.791
s]
[INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [  5.309
s]
[INFO] Zeppelin: Scio ..................................... SUCCESS [ 38.286
s]
[INFO] Zeppelin: web Application .......................... FAILURE [  4.433
s]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Jupyter Support .......................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14:23 min
[INFO] Finished at: 2017-07-27T18:30:26+08:00
[INFO] Final Memory: 154M/1060M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.3:install-node-and-yarn (install
node and yarn) on project zeppelin-web: Could not ex
tract the Yarn archive: Could not extract archive:
'D:\installed\apache-maven-3.5.0\repository\com\github\eirslett\yarn\0.18.1\yarn-0.18.1.\yarn-v0.18.1.tar.gz'
: EOFException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal com.github.eirslett:frontend-maven-plugin:1.3:install-node-and-yarn
(install node
 and yarn) on project zeppelin-web: Could not extract the Yarn archive:
Could not extract archive:
'D:\installed\apache-maven-3.5.0\repository\com\github\eirsle
tt\yarn\0.18.1\yarn-0.18.1.\yarn-v0.18.1.tar.gz'
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
        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:309)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
        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.MojoFailureException: Could not extract
the Yarn archive: Could not extract archive:
'D:\installed\apache-maven-3.5.0\reposit
ory\com\github\eirslett\yarn\0.18.1\yarn-0.18.1.\yarn-v0.18.1.tar.gz'
        at
com.github.eirslett.maven.plugins.frontend.mojo.MojoUtils.toMojoFailureException(MojoUtils.java:27)
        at
com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:97)
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        ... 20 more
Caused by:
com.github.eirslett.maven.plugins.frontend.lib.InstallationException: Could
not extract the Yarn archive
        at
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller.installYarn(YarnInstaller.java:127)
        at
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller.install(YarnInstaller.java:67)
        at
com.github.eirslett.maven.plugins.frontend.mojo.InstallNodeAndYarnMojo.execute(InstallNodeAndYarnMojo.java:85)
        at
com.github.eirslett.maven.plugins.frontend.mojo.AbstractFrontendMojo.execute(AbstractFrontendMojo.java:89)
        ... 22 more
Caused by:
com.github.eirslett.maven.plugins.frontend.lib.ArchiveExtractionException:
Could not extract archive: 'D:\installed\apache-maven-3.5.0\repository\com
\github\eirslett\yarn\0.18.1\yarn-0.18.1.\yarn-v0.18.1.tar.gz'
        at
com.github.eirslett.maven.plugins.frontend.lib.DefaultArchiveExtractor.extract(ArchiveExtractor.java:131)
        at
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller.extractFile(YarnInstaller.java:142)
        at
com.github.eirslett.maven.plugins.frontend.lib.YarnInstaller.installYarn(YarnInstaller.java:121)
        ... 25 more
Caused by: java.io.EOFException
        at
org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.read(GzipCompressorInputStream.java:243)
        at
org.apache.commons.compress.archivers.tar.TarBuffer.readBlock(TarBuffer.java:224)
        at
org.apache.commons.compress.archivers.tar.TarBuffer.readRecord(TarBuffer.java:195)
        at
org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getRecord(TarArchiveInputStream.java:312)
        at
org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextTarEntry(TarArchiveInputStream.java:234)
        at
com.github.eirslett.maven.plugins.frontend.lib.DefaultArchiveExtractor.extract(ArchiveExtractor.java:124)
        ... 27 more


how to fix it?




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zeppelin-0-7-2-java-lang-IllegalArgumentException-Command-line-can-not-be-null-tp15680p15722.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Zeppelin-0.7.2: java.lang.IllegalArgumentException: Command line can not be null

Posted by "slava.koptilin" <sl...@gmail.com>.
Hi,

Please see my answer on SO https://stackoverflow.com/a/45331063/8371000

Thanks,
Slava.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zeppelin-0-7-2-java-lang-IllegalArgumentException-Command-line-can-not-be-null-tp15680p15693.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.