You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@apex.apache.org by "JOHN, BIBIN" <bj...@att.com> on 2016/09/04 23:14:20 UTC

Apex Application Error

Could you please help me to identify the root  cause for below failure?


Container: container_e11_1472055988122_0035_02_000001 on zlx71303.vci.att.com_45454
=====================================================================================
LogType:AppMaster.stderr
Log Upload Time:Wed Aug 31 10:44:51 -0700 2016
LogLength:1259
Log Contents:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/data/data02/yarn/local/usercache/bj9306/appcache/application_1472055988122_0035/filecache/24/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/app/hdp/2.4.0.0-169/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.IllegalArgumentException: Invalid ContainerId: container_e11_1472055988122_0035_02_000001
        at org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182)
        at com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:91)
Caused by: java.lang.NumberFormatException: For input string: "e11"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Long.parseLong(Long.java:589)
        at java.lang.Long.parseLong(Long.java:631)
        at org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137)
        at org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177)
        ... 1 more
End of LogType:AppMaster.stderr





RE: Apex Application Error

Posted by "JOHN, BIBIN" <bj...@att.com>.
Thank you. Modifying pom.xml worked.

Thanks and Regards,
Bibin John| Data Movement Technology Development
20205 North Creek Pkwy , Bothell, WA 98011 USA
* Office: (770) 235 5614 | Cell: (469) 648-9858
Email: bj9306@att.com<ma...@att.com>

OOO Alert :  09/19/2016 - 10/14/2016



From: Vlad Rozov [mailto:v.rozov@datatorrent.com]
Sent: Monday, September 05, 2016 9:25 AM
To: users@apex.apache.org
Subject: Re: Apex Application Error

Please check your application package (.apa) and application pom.xml for hadoop/yarn libraries. All hadoop dependencies must be excluded as they are provided at run-time.

Vlad
On 9/4/16 16:14, JOHN, BIBIN wrote:
Could you please help me to identify the root  cause for below failure?


Container: container_e11_1472055988122_0035_02_000001 on zlx71303.vci.att.com_45454
=====================================================================================
LogType:AppMaster.stderr
Log Upload Time:Wed Aug 31 10:44:51 -0700 2016
LogLength:1259
Log Contents:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/data/data02/yarn/local/usercache/bj9306/appcache/application_1472055988122_0035/filecache/24/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/app/hdp/2.4.0.0-169/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
Exception in thread "main" java.lang.IllegalArgumentException: Invalid ContainerId: container_e11_1472055988122_0035_02_000001
        at org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182)
        at com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:91)
Caused by: java.lang.NumberFormatException: For input string: "e11"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Long.parseLong(Long.java:589)
        at java.lang.Long.parseLong(Long.java:631)
        at org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137)
        at org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177)
        ... 1 more
End of LogType:AppMaster.stderr






Re: Apex Application Error

Posted by Vlad Rozov <v....@datatorrent.com>.
Please check your application package (.apa) and application pom.xml for 
hadoop/yarn libraries. All hadoop dependencies must be excluded as they 
are provided at run-time.

Vlad

On 9/4/16 16:14, JOHN, BIBIN wrote:
>
> Could you please help me to identify the root  cause for below failure?
>
> Container: container_e11_1472055988122_0035_02_000001 on 
> zlx71303.vci.att.com_45454
>
> =====================================================================================
>
> LogType:AppMaster.stderr
>
> Log Upload Time:Wed Aug 31 10:44:51 -0700 2016
>
> LogLength:1259
>
> Log Contents:
>
> SLF4J: Class path contains multiple SLF4J bindings.
>
> SLF4J: Found binding in 
> [jar:file:/opt/data/data02/yarn/local/usercache/bj9306/appcache/application_1472055988122_0035/filecache/24/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>
> SLF4J: Found binding in 
> [jar:file:/opt/app/hdp/2.4.0.0-169/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
>
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
>
> Exception in thread "main" java.lang.IllegalArgumentException: Invalid 
> ContainerId: container_e11_1472055988122_0035_02_000001
>
>         at 
> org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:182)
>
>         at 
> com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:91)
>
> Caused by: java.lang.NumberFormatException: For input string: "e11"
>
>         at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>
>         at java.lang.Long.parseLong(Long.java:589)
>
>         at java.lang.Long.parseLong(Long.java:631)
>
>         at 
> org.apache.hadoop.yarn.util.ConverterUtils.toApplicationAttemptId(ConverterUtils.java:137)
>
>         at 
> org.apache.hadoop.yarn.util.ConverterUtils.toContainerId(ConverterUtils.java:177)
>
>         ... 1 more
>
> End of LogType:AppMaster.stderr
>
> //
>