spark 0.9.0 sbt build [error] Nonzero exit code (128)

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

spark 0.9.0 sbt build [error] Nonzero exit code (128)

srikanth
I am getting the following error when I tried to compile sbt/sbt assembly. [error] Nonzero exit code (128): git clone git://github.com/ijuma/junit_xml_listener.git /root/.sbt/staging/90b1b0889ba1299e38f2 [error] Use 'last' for the full log. I am not sure if there is any firewall issuse as I can go to https://github.com/ijuma/junit_xml_listener on firefox. How do I fix this. I tried changing https: to http: but I still get the same error. Also, are there any alternative ways to build sbt assembly. Thanks
Reply | Threaded
Open this post in threaded view
|

Re: spark 0.9.0 sbt build [error] Nonzero exit code (128)

Akhil Das
It says "Use 'last' for the full log."  Can you paste the full log? Also do a :

sbt/sbt clean package

And then sbt/sbt assembly



Thanks
Best Regards
Reply | Threaded
Open this post in threaded view
|

Re: spark 0.9.0 sbt build [error] Nonzero exit code (128)

srikanth
Hi, here is the log. I get the same error for cleanup also.

Thanks


Launching sbt from sbt/sbt-launch-0.12.4.jar
[info] Loading project definition from /root/Downloads/spark-0.9.0-incubating-bin-hadoop1/project/project
github.com[0: 192.30.252.131]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Initialized empty Git repository in /root/.sbt/staging/90b1b0889ba1299e38f2/.git/
[error] Nonzero exit code (128): git clone git://github.com/ijuma/junit_xml_listener.git /root/.sbt/staging/90b1b0889ba1299e38f2
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? l
[info] Loading project definition from /root/Downloads/spark-0.9.0-incubating-bin-hadoop1/project/project
[debug] Running task... Cancelable: false, check cycles: false
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] All initially invalidated sources: Set()
[debug] Copy resource mappings:
[debug]
java.lang.RuntimeException: Nonzero exit code (128): git clone git://github.com/ijuma/junit_xml_listener.git /root/.sbt/staging/90b1b0889ba1299e38f2
        at scala.sys.package$.error(package.scala:27)
        at scala.Predef$.error(Predef.scala:123)
        at sbt.Resolvers$.run(Resolvers.scala:133)
        at sbt.Resolvers$.run(Resolvers.scala:122)
        at sbt.Resolvers$$anon$2.clone(Resolvers.scala:77)
        at sbt.Resolvers$DistributedVCS$$anonfun$toResolver$1$$anonfun$apply$11$$anonfun$apply$5.apply$mcV$sp(Resolvers.scala:103)
        at sbt.Resolvers$.creates(Resolvers.scala:140)
        at sbt.Resolvers$DistributedVCS$$anonfun$toResolver$1$$anonfun$apply$11.apply(Resolvers.scala:102)
        at sbt.Resolvers$DistributedVCS$$anonfun$toResolver$1$$anonfun$apply$11.apply(Resolvers.scala:102)
        at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$3.apply(BuildLoader.scala:91)
        at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$3.apply(BuildLoader.scala:90)
        at scala.Option.map(Option.scala:133)
        at sbt.BuildLoader$$anonfun$componentLoader$1.apply(BuildLoader.scala:90)
        at sbt.BuildLoader$$anonfun$componentLoader$1.apply(BuildLoader.scala:86)
        at sbt.MultiHandler.apply(BuildLoader.scala:17)
        at sbt.BuildLoader.apply(BuildLoader.scala:136)
        at sbt.Load$.loadAll(Load.scala:318)
        at sbt.Load$.loadURI(Load.scala:271)
        at sbt.Load$.load(Load.scala:267)
        at sbt.Load$.load(Load.scala:258)
        at sbt.Load$.apply(Load.scala:135)
        at sbt.Load$.buildPluginDefinition(Load.scala:532)
        at sbt.Load$.buildPlugins(Load.scala:498)
        at sbt.Load$.plugins(Load.scala:486)
        at sbt.Load$.loadUnitNew(Load.scala:432)
        at sbt.Load$.loadUnit(Load.scala:423)
        at sbt.Load$$anonfun$13$$anonfun$apply$11.apply(Load.scala:263)
        at sbt.Load$$anonfun$13$$anonfun$apply$11.apply(Load.scala:263)
        at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:94)
        at sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:93)
        at sbt.BuildLoader.apply(BuildLoader.scala:137)
        at sbt.Load$.loadAll(Load.scala:318)
        at sbt.Load$.loadURI(Load.scala:271)
        at sbt.Load$.load(Load.scala:267)
        at sbt.Load$.load(Load.scala:258)
        at sbt.Load$.apply(Load.scala:135)
        at sbt.Load$.defaultLoad(Load.scala:39)
        at sbt.BuiltinCommands$.doLoadProject(Main.scala:414)
        at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:408)
        at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:408)
        at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
        at sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
        at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
        at sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
        at sbt.Command$.process(Command.scala:90)
        at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
        at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
        at sbt.State$$anon$2.process(State.scala:171)
        at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
        at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
        at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
        at sbt.MainLoop$.next(MainLoop.scala:71)
        at sbt.MainLoop$.run(MainLoop.scala:64)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:53)
        at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:50)
        at sbt.Using.apply(Using.scala:25)
        at sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
        at sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
        at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
        at sbt.MainLoop$.runLogged(MainLoop.scala:13)
        at sbt.xMain.run(Main.scala:26)
        at xsbt.boot.Launch$.run(Launch.scala:55)
        at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
        at xsbt.boot.Launch$.launch(Launch.scala:60)
        at xsbt.boot.Launch$.apply(Launch.scala:16)
        at xsbt.boot.Boot$.runImpl(Boot.scala:31)
        at xsbt.boot.Boot$.main(Boot.scala:20)
        at xsbt.boot.Boot.main(Boot.scala)
[error] Nonzero exit code (128): git clone git://github.com/ijuma/junit_xml_listener.git /root/.sbt/staging/90b1b0889ba1299e38f2
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?
Reply | Threaded
Open this post in threaded view
|

Re: spark 0.9.0 sbt build [error] Nonzero exit code (128)

Nan Zhu
Can you run this command successfully?


-- 
Nan Zhu


On Friday, February 14, 2014 at 4:24 PM, srikanth wrote:

Hi, here is the log. I get the same error for cleanup also.

Thanks


Launching sbt from sbt/sbt-launch-0.12.4.jar
[info] Loading project definition from
/root/Downloads/spark-0.9.0-incubating-bin-hadoop1/project/project
github.com[0: 192.30.252.131]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Initialized empty Git repository in
/root/.sbt/staging/90b1b0889ba1299e38f2/.git/
[error] Nonzero exit code (128): git clone
/root/.sbt/staging/90b1b0889ba1299e38f2
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? l
[info] Loading project definition from
/root/Downloads/spark-0.9.0-incubating-bin-hadoop1/project/project
[debug] Running task... Cancelable: false, check cycles: false
[debug]
[debug] Initial source changes:
[debug] removed:Set()
[debug] added: Set()
[debug] modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug] product: Set()
[debug] binary dep: Set()
[debug] external source: Set()
[debug] All initially invalidated sources: Set()
[debug] Copy resource mappings:
[debug]
java.lang.RuntimeException: Nonzero exit code (128): git clone
/root/.sbt/staging/90b1b0889ba1299e38f2
at scala.sys.package$.error(package.scala:27)
at scala.Predef$.error(Predef.scala:123)
at sbt.Resolvers$.run(Resolvers.scala:133)
at sbt.Resolvers$.run(Resolvers.scala:122)
at sbt.Resolvers$$anon$2.clone(Resolvers.scala:77)
at
sbt.Resolvers$DistributedVCS$$anonfun$toResolver$1$$anonfun$apply$11$$anonfun$apply$5.apply$mcV$sp(Resolvers.scala:103)
at sbt.Resolvers$.creates(Resolvers.scala:140)
at
sbt.Resolvers$DistributedVCS$$anonfun$toResolver$1$$anonfun$apply$11.apply(Resolvers.scala:102)
at
sbt.Resolvers$DistributedVCS$$anonfun$toResolver$1$$anonfun$apply$11.apply(Resolvers.scala:102)
at
sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$3.apply(BuildLoader.scala:91)
at
sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$3.apply(BuildLoader.scala:90)
at scala.Option.map(Option.scala:133)
at sbt.BuildLoader$$anonfun$componentLoader$1.apply(BuildLoader.scala:90)
at sbt.BuildLoader$$anonfun$componentLoader$1.apply(BuildLoader.scala:86)
at sbt.MultiHandler.apply(BuildLoader.scala:17)
at sbt.BuildLoader.apply(BuildLoader.scala:136)
at sbt.Load$.loadAll(Load.scala:318)
at sbt.Load$.loadURI(Load.scala:271)
at sbt.Load$.load(Load.scala:267)
at sbt.Load$.load(Load.scala:258)
at sbt.Load$.apply(Load.scala:135)
at sbt.Load$.buildPluginDefinition(Load.scala:532)
at sbt.Load$.buildPlugins(Load.scala:498)
at sbt.Load$.plugins(Load.scala:486)
at sbt.Load$.loadUnitNew(Load.scala:432)
at sbt.Load$.loadUnit(Load.scala:423)
at sbt.Load$$anonfun$13$$anonfun$apply$11.apply(Load.scala:263)
at sbt.Load$$anonfun$13$$anonfun$apply$11.apply(Load.scala:263)
at
sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:94)
at
sbt.BuildLoader$$anonfun$componentLoader$1$$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6.apply(BuildLoader.scala:93)
at sbt.BuildLoader.apply(BuildLoader.scala:137)
at sbt.Load$.loadAll(Load.scala:318)
at sbt.Load$.loadURI(Load.scala:271)
at sbt.Load$.load(Load.scala:267)
at sbt.Load$.load(Load.scala:258)
at sbt.Load$.apply(Load.scala:135)
at sbt.Load$.defaultLoad(Load.scala:39)
at sbt.BuiltinCommands$.doLoadProject(Main.scala:414)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:408)
at sbt.BuiltinCommands$$anonfun$loadProjectImpl$2.apply(Main.scala:408)
at
sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
at
sbt.Command$$anonfun$applyEffect$1$$anonfun$apply$2.apply(Command.scala:60)
at
sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at
sbt.Command$$anonfun$applyEffect$2$$anonfun$apply$3.apply(Command.scala:62)
at sbt.Command$.process(Command.scala:90)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(MainLoop.scala:71)
at sbt.State$$anon$2.process(State.scala:171)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.MainLoop$$anonfun$next$1.apply(MainLoop.scala:71)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(MainLoop.scala:71)
at sbt.MainLoop$.run(MainLoop.scala:64)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:53)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(MainLoop.scala:50)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(MainLoop.scala:50)
at sbt.MainLoop$.runAndClearLast(MainLoop.scala:33)
at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:17)
at sbt.MainLoop$.runLogged(MainLoop.scala:13)
at sbt.xMain.run(Main.scala:26)
at xsbt.boot.Launch$.run(Launch.scala:55)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:60)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
[error] Nonzero exit code (128): git clone
/root/.sbt/staging/90b1b0889ba1299e38f2
[error] Use 'last' for the full log.
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?



--
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: spark 0.9.0 sbt build [error] Nonzero exit code (128)

srikanth
Thank you Nan. This command is timing out.

 I have my system connected to internet through corporate network. I did run the following to disable firewall but it is not helping.
service iptables stop
chkconfig iptables off
git clone git://github.com/ijuma/junit_xml_listener.git